AccountV2 constructor
AccountV2(
- String name, {
- AccountV2Args? args,
- CustomResourceOptions? options,
Creates a new AccountV2.
name The Pulumi resource name.
args Arguments used to configure this AccountV2. The set of arguments for AccountV2.
options Resource options controlling this resource's behavior.
Implementation
AccountV2(
String name, {
AccountV2Args? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:securityhub/accountV2:AccountV2',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
region = registerOutput<String>('region');
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>(); });
}