Interface CfnExpressGatewayServiceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnExpressGatewayServiceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)", date="2025-12-05T22:26:35.676Z") @Stability(Stable) public interface CfnExpressGatewayServiceProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnExpressGatewayService.

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.*;
 CfnExpressGatewayServiceProps cfnExpressGatewayServiceProps = CfnExpressGatewayServiceProps.builder()
         .executionRoleArn("executionRoleArn")
         .infrastructureRoleArn("infrastructureRoleArn")
         .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())
         // the properties below are optional
         .cluster("cluster")
         .cpu("cpu")
         .healthCheckPath("healthCheckPath")
         .memory("memory")
         .networkConfiguration(ExpressGatewayServiceNetworkConfigurationProperty.builder()
                 .securityGroups(List.of("securityGroups"))
                 .subnets(List.of("subnets"))
                 .build())
         .scalingTarget(ExpressGatewayScalingTargetProperty.builder()
                 .autoScalingMetric("autoScalingMetric")
                 .autoScalingTargetValue(123)
                 .maxTaskCount(123)
                 .minTaskCount(123)
                 .build())
         .serviceName("serviceName")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .taskRoleArn("taskRoleArn")
         .build();
 

See Also: