Protection constructor
Protection(
- String name, {
- ProtectionArgs? args,
- CustomResourceOptions? options,
Creates a new Protection.
name The Pulumi resource name.
args Arguments used to configure this Protection. The set of arguments for Protection.
options Resource options controlling this resource's behavior.
Implementation
Protection(
String name, {
ProtectionArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:shield/protection:Protection',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
arn = registerOutput<String>('arn');
this.name = registerOutput<String>('name');
resourceArn = registerOutput<String>('resourceArn');
tags = registerOutput<Map<String, String>?>('tags');
tagsAll = registerOutput<Map<String, String>>('tagsAll');
}