OrganizationCustomRule.reference constructor
OrganizationCustomRule.reference(
- String urn
Creates a typed reference to an existing OrganizationCustomRule resource.
Implementation
OrganizationCustomRule.reference(String urn)
: super(
'aws:cfg/organizationCustomRule:OrganizationCustomRule',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
arn = registerOutput<String>('arn');
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');
lambdaFunctionArn = registerOutput<String>('lambdaFunctionArn');
maximumExecutionFrequency = registerOutput<String?>('maximumExecutionFrequency');
this.name = registerOutput<String>('name');
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>(); });
}