AttachmentAccepter constructor
AttachmentAccepter(
- String name, {
- AttachmentAccepterArgs? args,
- CustomResourceOptions? options,
Creates a new AttachmentAccepter.
name The Pulumi resource name.
args Arguments used to configure this AttachmentAccepter. The set of arguments for AttachmentAccepter.
options Resource options controlling this resource's behavior.
Implementation
AttachmentAccepter(
String name, {
AttachmentAccepterArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:networkmanager/attachmentAccepter:AttachmentAccepter',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
attachmentId = registerOutput<String>('attachmentId');
attachmentPolicyRuleNumber = registerOutput<int>('attachmentPolicyRuleNumber');
attachmentType = registerOutput<String>('attachmentType');
coreNetworkArn = registerOutput<String>('coreNetworkArn');
coreNetworkId = registerOutput<String>('coreNetworkId');
edgeLocation = registerOutput<String>('edgeLocation');
edgeLocations = registerOutput<List<String>>('edgeLocations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
ownerAccountId = registerOutput<String>('ownerAccountId');
resourceArn = registerOutput<String>('resourceArn');
segmentName = registerOutput<String>('segmentName');
state = registerOutput<String>('state');
}