ServiceConnectTlsConfigurationProperty Struct
The key that encrypts and decrypts your resources for Service Connect TLS.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const serviceConnectTlsConfigurationProperty: ecs.CfnService.ServiceConnectTlsConfigurationProperty = {
issuerCertificateAuthority: {
awsPcaAuthorityArn: 'awsPcaAuthorityArn',
},
// the properties below are optional
kmsKey: 'kmsKey',
roleArn: 'roleArn',
};
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_ecs as ecs
service_connect_tls_configuration_property = ecs.CfnService.ServiceConnectTlsConfigurationProperty(
issuer_certificate_authority=ecs.CfnService.ServiceConnectTlsCertificateAuthorityProperty(
aws_pca_authority_arn="awsPcaAuthorityArn"
),
# the properties below are optional
kms_key="kmsKey",
role_arn="roleArn"
)
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.ecs.*;
ServiceConnectTlsConfigurationProperty serviceConnectTlsConfigurationProperty = ServiceConnectTlsConfigurationProperty.builder()
.issuerCertificateAuthority(ServiceConnectTlsCertificateAuthorityProperty.builder()
.awsPcaAuthorityArn("awsPcaAuthorityArn")
.build())
// the properties below are optional
.kmsKey("kmsKey")
.roleArn("roleArn")
.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.ECS;
var serviceConnectTlsConfigurationProperty = new ServiceConnectTlsConfigurationProperty {
IssuerCertificateAuthority = new ServiceConnectTlsCertificateAuthorityProperty {
AwsPcaAuthorityArn = "awsPcaAuthorityArn"
},
// the properties below are optional
KmsKey = "kmsKey",
RoleArn = "roleArn"
};
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"
serviceConnectTlsConfigurationProperty := &ServiceConnectTlsConfigurationProperty{
IssuerCertificateAuthority: &ServiceConnectTlsCertificateAuthorityProperty{
AwsPcaAuthorityArn: jsii.String("awsPcaAuthorityArn"),
},
// the properties below are optional
KmsKey: jsii.String("kmsKey"),
RoleArn: jsii.String("roleArn"),
}
Properties
issuerCertificateAuthorityIResolvable | CfnService.issuer_certificate_authoritytyping.Union[IResolvable, ServiceConnectTlsCertificateAuthorityProperty]issuerCertificateAuthorityIResolvableIssuerCertificateAuthorityIResolvableIssuerCertificateAuthorityinterface{} required #The signer certificate authority.
kmsKeyoptionalstringkms_keyoptionalstrkmsKeyoptionalStringKmsKeyoptionalstringKmsKeyoptional*string #The AWS Key Management Service key.
roleArnoptionalstringrole_arnoptionalstrroleArnoptionalStringRoleArnoptionalstringRoleArnoptional*string #The Amazon Resource Name (ARN) of the IAM role that's associated with the Service Connect TLS.