ClusterPolicy constructor
ClusterPolicy(
- String name, {
- ClusterPolicyArgs? args,
- CustomResourceOptions? options,
Creates a new ClusterPolicy.
name The Pulumi resource name.
args Arguments used to configure this ClusterPolicy. The set of arguments for ClusterPolicy.
options Resource options controlling this resource's behavior.
Implementation
ClusterPolicy(
String name, {
ClusterPolicyArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:dsql/clusterPolicy:ClusterPolicy',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
bypassPolicyLockoutSafetyCheck = registerOutput<bool>('bypassPolicyLockoutSafetyCheck');
identifier = registerOutput<String>('identifier');
policy = registerOutput<String>('policy');
policyVersion = registerOutput<String>('policyVersion');
region = registerOutput<String>('region');
timeouts = registerOutput<ClusterPolicyTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ClusterPolicyTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}