ApnsChannel.reference constructor

ApnsChannel.reference(
  1. String urn
)

Creates a typed reference to an existing ApnsChannel resource.

Implementation

ApnsChannel.reference(String urn)
  : super(
      'aws:pinpoint/apnsChannel:ApnsChannel',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
        additionalSecretOutputs: const ['bundleId', 'certificate', 'privateKey', 'teamId', 'tokenKey', 'tokenKeyId'],
      isResourceReference: true,
    ) {
  applicationId = registerOutput<String>('applicationId');
  bundleId = registerOutput<String?>('bundleId', isSecret: true);
  certificate = registerOutput<String?>('certificate', isSecret: true);
  defaultAuthenticationMethod = registerOutput<String?>('defaultAuthenticationMethod');
  enabled = registerOutput<bool?>('enabled');
  privateKey = registerOutput<String?>('privateKey', isSecret: true);
  region = registerOutput<String>('region');
  teamId = registerOutput<String?>('teamId', isSecret: true);
  tokenKey = registerOutput<String?>('tokenKey', isSecret: true);
  tokenKeyId = registerOutput<String?>('tokenKeyId', isSecret: true);
}