VpcSecurityGroupRulesExclusive.reference constructor

VpcSecurityGroupRulesExclusive.reference(
  1. String urn
)

Creates a typed reference to an existing VpcSecurityGroupRulesExclusive resource.

Implementation

VpcSecurityGroupRulesExclusive.reference(String urn)
  : super(
      'aws:ec2/vpcSecurityGroupRulesExclusive:VpcSecurityGroupRulesExclusive',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  egressRuleIds = registerOutput<List<String>>('egressRuleIds', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  ingressRuleIds = registerOutput<List<String>>('ingressRuleIds', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  region = registerOutput<String>('region');
  securityGroupId = registerOutput<String>('securityGroupId');
}