EncryptionControl constructor
EncryptionControl(
- String name, {
- EncryptionControlArgs? args,
- CustomResourceOptions? options,
Creates a new EncryptionControl.
name The Pulumi resource name.
args Arguments used to configure this EncryptionControl. The set of arguments for EncryptionControl.
options Resource options controlling this resource's behavior.
Implementation
EncryptionControl(
String name, {
EncryptionControlArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:ec2/encryptionControl:EncryptionControl',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
egressOnlyInternetGatewayExclusion = registerOutput<String>('egressOnlyInternetGatewayExclusion');
elasticFileSystemExclusion = registerOutput<String>('elasticFileSystemExclusion');
internetGatewayExclusion = registerOutput<String>('internetGatewayExclusion');
lambdaExclusion = registerOutput<String>('lambdaExclusion');
mode = registerOutput<String>('mode');
natGatewayExclusion = registerOutput<String>('natGatewayExclusion');
region = registerOutput<String>('region');
resourceExclusions = registerOutput<EncryptionControlResourceExclusions>('resourceExclusions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return EncryptionControlResourceExclusions.fromMap((guardedValue as Map).cast<String, dynamic>()); });
state = registerOutput<String>('state');
stateMessage = registerOutput<String>('stateMessage');
tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
timeouts = registerOutput<EncryptionControlTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return EncryptionControlTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
virtualPrivateGatewayExclusion = registerOutput<String>('virtualPrivateGatewayExclusion');
vpcId = registerOutput<String>('vpcId');
vpcLatticeExclusion = registerOutput<String>('vpcLatticeExclusion');
vpcPeeringExclusion = registerOutput<String>('vpcPeeringExclusion');
}