FrameworkShareArgs

data class FrameworkShareArgs(val comment: Output<String>? = null, val destinationAccount: Output<String>? = null, val destinationRegion: Output<String>? = null, val frameworkId: Output<String>? = null) : ConvertibleToJava<FrameworkShareArgs>

Resource for managing an AWS Audit Manager Framework Share.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.auditmanager.FrameworkShare;
import com.pulumi.aws.auditmanager.FrameworkShareArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new FrameworkShare("example", FrameworkShareArgs.builder()
.destinationAccount("012345678901")
.destinationRegion("us-east-1")
.frameworkId(aws_auditmanager_framework.example().id())
.build());
}
}

Import

Using pulumi import, import Audit Manager Framework Share using the id. For example:

$ pulumi import aws:auditmanager/frameworkShare:FrameworkShare example abcdef-123456

Constructors

Link copied to clipboard
fun FrameworkShareArgs(comment: Output<String>? = null, destinationAccount: Output<String>? = null, destinationRegion: Output<String>? = null, frameworkId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): FrameworkShareArgs

Properties

Link copied to clipboard
val comment: Output<String>? = null

Comment from the sender about the share request.

Link copied to clipboard
val destinationAccount: Output<String>? = null

Amazon Web Services account of the recipient.

Link copied to clipboard
val destinationRegion: Output<String>? = null

Amazon Web Services region of the recipient.

Link copied to clipboard
val frameworkId: Output<String>? = null

Unique identifier for the shared custom framework. The following arguments are optional: