FieldLevelEncryptionProfileConfigProperty Struct
The configuration of a field-level encryption profile.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const fieldLevelEncryptionProfileConfigProperty: cloudfront.CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty = {
callerReference: 'callerReference',
encryptionEntities: [{
fieldPatterns: ['fieldPatterns'],
providerId: 'providerId',
publicKeyId: 'publicKeyId',
}],
name: 'name',
// the properties below are optional
comment: 'comment',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront
field_level_encryption_profile_config_property = cloudfront.CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty(
caller_reference="callerReference",
encryption_entities=[cloudfront.CfnFieldLevelEncryptionProfile.EncryptionEntityProperty(
field_patterns=["fieldPatterns"],
provider_id="providerId",
public_key_id="publicKeyId"
)],
name="name",
# the properties below are optional
comment="comment"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;
FieldLevelEncryptionProfileConfigProperty fieldLevelEncryptionProfileConfigProperty = FieldLevelEncryptionProfileConfigProperty.builder()
.callerReference("callerReference")
.encryptionEntities(List.of(EncryptionEntityProperty.builder()
.fieldPatterns(List.of("fieldPatterns"))
.providerId("providerId")
.publicKeyId("publicKeyId")
.build()))
.name("name")
// the properties below are optional
.comment("comment")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var fieldLevelEncryptionProfileConfigProperty = new FieldLevelEncryptionProfileConfigProperty {
CallerReference = "callerReference",
EncryptionEntities = new [] { new EncryptionEntityProperty {
FieldPatterns = new [] { "fieldPatterns" },
ProviderId = "providerId",
PublicKeyId = "publicKeyId"
} },
Name = "name",
// the properties below are optional
Comment = "comment"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
fieldLevelEncryptionProfileConfigProperty := &FieldLevelEncryptionProfileConfigProperty{
CallerReference: jsii.String("callerReference"),
EncryptionEntities: []interface{}{
&EncryptionEntityProperty{
FieldPatterns: []*string{
jsii.String("fieldPatterns"),
},
ProviderId: jsii.String("providerId"),
PublicKeyId: jsii.String("publicKeyId"),
},
},
Name: jsii.String("name"),
// the properties below are optional
Comment: jsii.String("comment"),
}
Properties
callerReferencestringcaller_referencestrcallerReferenceStringCallerReferencestringCallerReference*stringrequired#A unique value that identifies the creation request.
Caller references are unique within an AWS account and cannot be changed after creation.
commentoptionalstringcommentoptionalstrcommentoptionalStringCommentoptionalstringCommentoptional*string#An optional comment describing the field-level encryption profile.
encryptionEntitiesIResolvable | IResolvable | CfnFieldLevelEncryptionProfile.EncryptionEntityProperty[]encryption_entitiestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EncryptionEntityProperty]]]encryptionEntitiesIResolvableEncryptionEntitiesIResolvableEncryptionEntitiesinterface{}required#The encryption entities of the field-level encryption profile.
At least one entity is required.
The name of the field-level encryption profile.
Names are unique within an AWS account.