OrganizationManagedRule.reference constructor

OrganizationManagedRule.reference(
  1. String urn
)

Creates a typed reference to an existing OrganizationManagedRule resource.

Implementation

OrganizationManagedRule.reference(String urn)
  : super(
      'aws:cfg/organizationManagedRule:OrganizationManagedRule',
      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');
  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>(); });
  ruleIdentifier = registerOutput<String>('ruleIdentifier');
  tagKeyScope = registerOutput<String?>('tagKeyScope');
  tagValueScope = registerOutput<String?>('tagValueScope');
}