interface ServiceConnectTlsConfiguration
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.ServiceConnectTlsConfiguration |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#ServiceConnectTlsConfiguration |
![]() | software.amazon.awscdk.services.ecs.ServiceConnectTlsConfiguration |
![]() | aws_cdk.aws_ecs.ServiceConnectTlsConfiguration |
![]() | aws-cdk-lib » aws_ecs » ServiceConnectTlsConfiguration |
TLS configuration for Service Connect service.
Example
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
Name | Type | Description |
---|---|---|
aws | string | The ARN of the certificate root authority that secures your service. |
kms | IKey | The KMS key used for encryption and decryption. |
role? | IRole | The IAM role that's associated with the Service Connect TLS. |
awsPcaAuthorityArn?
Type:
string
(optional, default: none)
The ARN of the certificate root authority that secures your service.
kmsKey?
Type:
IKey
(optional, default: none)
The KMS key used for encryption and decryption.
role?
Type:
IRole
(optional, default: none)
The IAM role that's associated with the Service Connect TLS.