ResourceShareAccepter constructor
ResourceShareAccepter(
- String name, {
- ResourceShareAccepterArgs? args,
- CustomResourceOptions? options,
Creates a new ResourceShareAccepter.
name The Pulumi resource name.
args Arguments used to configure this ResourceShareAccepter. The set of arguments for ResourceShareAccepter.
options Resource options controlling this resource's behavior.
Implementation
ResourceShareAccepter(
String name, {
ResourceShareAccepterArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:ram/resourceShareAccepter:ResourceShareAccepter',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
invitationArn = registerOutput<String>('invitationArn');
receiverAccountId = registerOutput<String>('receiverAccountId');
region = registerOutput<String>('region');
resources = registerOutput<List<String>>('resources', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
senderAccountId = registerOutput<String>('senderAccountId');
shareArn = registerOutput<String>('shareArn');
shareId = registerOutput<String>('shareId');
shareName = registerOutput<String>('shareName');
status = registerOutput<String>('status');
}