VpcEndpointServiceAllowedPrinciple.reference constructor

VpcEndpointServiceAllowedPrinciple.reference(
  1. String urn
)

Creates a typed reference to an existing VpcEndpointServiceAllowedPrinciple resource.

Implementation

VpcEndpointServiceAllowedPrinciple.reference(String urn)
  : super(
      'aws:ec2/vpcEndpointServiceAllowedPrinciple:VpcEndpointServiceAllowedPrinciple',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  principalArn = registerOutput<String>('principalArn');
  region = registerOutput<String>('region');
  vpcEndpointServiceId = registerOutput<String>('vpcEndpointServiceId');
}