NetworkInterfaceSecurityGroupAttachment constructor
NetworkInterfaceSecurityGroupAttachment(
- String name, {
- NetworkInterfaceSecurityGroupAttachmentArgs? args,
- CustomResourceOptions? options,
Creates a new NetworkInterfaceSecurityGroupAttachment.
name The Pulumi resource name.
args Arguments used to configure this NetworkInterfaceSecurityGroupAttachment. The set of arguments for NetworkInterfaceSecurityGroupAttachment.
options Resource options controlling this resource's behavior.
Implementation
NetworkInterfaceSecurityGroupAttachment(
String name, {
NetworkInterfaceSecurityGroupAttachmentArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:ec2/networkInterfaceSecurityGroupAttachment:NetworkInterfaceSecurityGroupAttachment',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
networkInterfaceId = registerOutput<String>('networkInterfaceId');
region = registerOutput<String>('region');
securityGroupId = registerOutput<String>('securityGroupId');
}