OrganizationCustomPolicyRule.reference constructor
OrganizationCustomPolicyRule.reference(
- String urn
Creates a typed reference to an existing OrganizationCustomPolicyRule resource.
Implementation
OrganizationCustomPolicyRule.reference(String urn)
: super(
'aws:cfg/organizationCustomPolicyRule:OrganizationCustomPolicyRule',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
arn = registerOutput<String>('arn');
debugLogDeliveryAccounts = registerOutput<List<String>?>('debugLogDeliveryAccounts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
description = registerOutput<String?>('description');
excludedAccounts = registerOutput<List<String>?>('excludedAccounts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
inputParameters = registerOutput<String?>('inputParameters');
maximumExecutionFrequency = registerOutput<String?>('maximumExecutionFrequency');
this.name = registerOutput<String>('name');
policyRuntime = registerOutput<String>('policyRuntime');
policyText = registerOutput<String>('policyText');
region = registerOutput<String>('region');
resourceIdScope = registerOutput<String?>('resourceIdScope');
resourceTypesScopes = registerOutput<List<String>?>('resourceTypesScopes', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
tagKeyScope = registerOutput<String?>('tagKeyScope');
tagValueScope = registerOutput<String?>('tagValueScope');
triggerTypes = registerOutput<List<String>>('triggerTypes', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
}