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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnExpressGatewayService.ExpressGatewayServiceConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetCpu()The CPU allocation for tasks in this service revision.default StringThe Unix timestamp for when this service revision was created.default StringThe ARN of the task execution role for the service revision.default StringThe health check path for this service revision.default ObjectThe entry point into this service revision.default StringThe memory allocation for tasks in this service revision.default ObjectThe network configuration for tasks in this service revision.default ObjectThe primary container configuration for this service revision.default ObjectThe auto-scaling configuration for this service revision.default StringThe ARN of the service revision.default StringThe ARN of the task role for the service revision.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCpu
The CPU allocation for tasks in this service revision.- See Also:
-
getCreatedAt
The Unix timestamp for when this service revision was created.- See Also:
-
getExecutionRoleArn
The ARN of the task execution role for the service revision.- See Also:
-
getHealthCheckPath
The health check path for this service revision.- See Also:
-
getIngressPaths
The entry point into this service revision.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnExpressGatewayService.IngressPathSummaryProperty>- See Also:
-
getMemory
The memory allocation for tasks in this service revision.- See Also:
-
getNetworkConfiguration
The network configuration for tasks in this service revision.Returns union: either
IResolvableorCfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty- See Also:
-
getPrimaryContainer
The primary container configuration for this service revision.Returns union: either
IResolvableorCfnExpressGatewayService.ExpressGatewayContainerProperty- See Also:
-
getScalingTarget
The auto-scaling configuration for this service revision.Returns union: either
IResolvableorCfnExpressGatewayService.ExpressGatewayScalingTargetProperty- See Also:
-
getServiceRevisionArn
The ARN of the service revision.- See Also:
-
getTaskRoleArn
The ARN of the task role for the service revision.- See Also:
-
builder
@Stability(Stable) static CfnExpressGatewayService.ExpressGatewayServiceConfigurationProperty.Builder builder()
-