GetBucketEncryption constructor

const GetBucketEncryption({
  1. required Input<List<GetBucketEncryptionCustomerManagedEncryptionEnforcementConfig>> customerManagedEncryptionEnforcementConfigs,
  2. required Input<List<GetBucketEncryptionCustomerSuppliedEncryptionEnforcementConfig>> customerSuppliedEncryptionEnforcementConfigs,
  3. required Input<String> defaultKmsKeyName,
  4. required Input<List<GetBucketEncryptionGoogleManagedEncryptionEnforcementConfig>> googleManagedEncryptionEnforcementConfigs,
})

Creates a new GetBucketEncryption. customerManagedEncryptionEnforcementConfigs If omitted, then new objects with CMEK encryption-type is allowed. If FullyRestricted, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only. customerSuppliedEncryptionEnforcementConfigs If omitted, then new objects with CSEK encryption-type is allowed. If FullyRestricted, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only. defaultKmsKeyName A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. You must pay attention to whether the crypto key is available in the location that this bucket is created in. See the docs for more details. googleManagedEncryptionEnforcementConfigs If omitted, then new objects with GMEK encryption-type is allowed. If FullyRestricted, then new objects created in this bucket must comply with enforcement config. Changing this has no effect on existing objects; it applies to new objects only.

Implementation

const GetBucketEncryption({
  required this.customerManagedEncryptionEnforcementConfigs,
  required this.customerSuppliedEncryptionEnforcementConfigs,
  required this.defaultKmsKeyName,
  required this.googleManagedEncryptionEnforcementConfigs,
});