ServiceConnectTlsConfiguration Struct
TLS configuration for Service Connect service.
Example
ts
declare const cluster: ecs.Cluster;
declare const taskDefinition: ecs.TaskDefinition;
declare const kmsKey: kms.IKey;
declare const role: iam.IRole;
const service = new ecs.FargateService(this, 'FargateService', {
cluster,
taskDefinition,
serviceConnectConfiguration: {
services: [
{
tls: {
role,
kmsKey,
awsPcaAuthorityArn: 'arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/123456789012',
},
portMappingName: 'api',
},
],
namespace: 'sample namespace',
},
});
Properties
awsPcaAuthorityArnstringaws_pca_authority_arnstrawsPcaAuthorityArnStringAwsPcaAuthorityArnstringAwsPcaAuthorityArn*string= none#The ARN of the certificate root authority that secures your service.
The KMS key used for encryption and decryption.