Application.reference constructor

Application.reference(
  1. String urn
)

Creates a typed reference to an existing Application resource.

Implementation

Application.reference(String urn)
  : super(
      'aws:codedeploy/application:Application',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  applicationId = registerOutput<String>('applicationId');
  arn = registerOutput<String>('arn');
  computePlatform = registerOutput<String?>('computePlatform');
  githubAccountName = registerOutput<String>('githubAccountName');
  linkedToGithub = registerOutput<bool>('linkedToGithub');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
}