Interface CfnService.ServiceConnectServiceProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnService.ServiceConnectServiceProperty.Jsii$Proxy
Enclosing class:
CfnService

@Stability(Stable) public static interface CfnService.ServiceConnectServiceProperty extends software.amazon.jsii.JsiiSerializable
The Service Connect service object configuration.

For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide .

Example:

 // 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.*;
 ServiceConnectServiceProperty serviceConnectServiceProperty = ServiceConnectServiceProperty.builder()
         .portName("portName")
         // the properties below are optional
         .clientAliases(List.of(ServiceConnectClientAliasProperty.builder()
                 .port(123)
                 // the properties below are optional
                 .dnsName("dnsName")
                 .build()))
         .discoveryName("discoveryName")
         .ingressPortOverride(123)
         .timeout(TimeoutConfigurationProperty.builder()
                 .idleTimeoutSeconds(123)
                 .perRequestTimeoutSeconds(123)
                 .build())
         .tls(ServiceConnectTlsConfigurationProperty.builder()
                 .issuerCertificateAuthority(ServiceConnectTlsCertificateAuthorityProperty.builder()
                         .awsPcaAuthorityArn("awsPcaAuthorityArn")
                         .build())
                 // the properties below are optional
                 .kmsKey("kmsKey")
                 .roleArn("roleArn")
                 .build())
         .build();
 

See Also: