FieldLevelEncryptionConfig.reference constructor

FieldLevelEncryptionConfig.reference(
  1. String urn
)

Creates a typed reference to an existing FieldLevelEncryptionConfig resource.

Implementation

FieldLevelEncryptionConfig.reference(String urn)
  : super(
      'aws:cloudfront/fieldLevelEncryptionConfig:FieldLevelEncryptionConfig',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  arn = registerOutput<String>('arn');
  callerReference = registerOutput<String>('callerReference');
  comment = registerOutput<String?>('comment');
  contentTypeProfileConfig = registerOutput<FieldLevelEncryptionConfigContentTypeProfileConfig>('contentTypeProfileConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return FieldLevelEncryptionConfigContentTypeProfileConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  etag = registerOutput<String>('etag');
  queryArgProfileConfig = registerOutput<FieldLevelEncryptionConfigQueryArgProfileConfig>('queryArgProfileConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return FieldLevelEncryptionConfigQueryArgProfileConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}