Interface CfnExpressGatewayService.ExpressGatewayServiceConfigurationProperty

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

@Stability(Stable) public static interface CfnExpressGatewayService.ExpressGatewayServiceConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Represents a specific configuration revision of an Express service, containing all the settings and parameters for that revision.

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.*;
 ExpressGatewayServiceConfigurationProperty expressGatewayServiceConfigurationProperty = ExpressGatewayServiceConfigurationProperty.builder()
         .cpu("cpu")
         .createdAt("createdAt")
         .executionRoleArn("executionRoleArn")
         .healthCheckPath("healthCheckPath")
         .ingressPaths(List.of(IngressPathSummaryProperty.builder()
                 .accessType("accessType")
                 .endpoint("endpoint")
                 .build()))
         .memory("memory")
         .networkConfiguration(ExpressGatewayServiceNetworkConfigurationProperty.builder()
                 .securityGroups(List.of("securityGroups"))
                 .subnets(List.of("subnets"))
                 .build())
         .primaryContainer(ExpressGatewayContainerProperty.builder()
                 .image("image")
                 // the properties below are optional
                 .awsLogsConfiguration(ExpressGatewayServiceAwsLogsConfigurationProperty.builder()
                         .logGroup("logGroup")
                         .logStreamPrefix("logStreamPrefix")
                         .build())
                 .command(List.of("command"))
                 .containerPort(123)
                 .environment(List.of(KeyValuePairProperty.builder()
                         .name("name")
                         .value("value")
                         .build()))
                 .repositoryCredentials(ExpressGatewayRepositoryCredentialsProperty.builder()
                         .credentialsParameter("credentialsParameter")
                         .build())
                 .secrets(List.of(SecretProperty.builder()
                         .name("name")
                         .valueFrom("valueFrom")
                         .build()))
                 .build())
         .scalingTarget(ExpressGatewayScalingTargetProperty.builder()
                 .autoScalingMetric("autoScalingMetric")
                 .autoScalingTargetValue(123)
                 .maxTaskCount(123)
                 .minTaskCount(123)
                 .build())
         .serviceRevisionArn("serviceRevisionArn")
         .taskRoleArn("taskRoleArn")
         .build();
 

See Also: