ExpressGatewayServiceArgs class
The set of arguments for ExpressGatewayService. The set of arguments for ExpressGatewayService.
Constructors
-
ExpressGatewayServiceArgs({Input<
String?> ? cluster, Input<String?> ? cpu, required Input<String> executionRoleArn, Input<String?> ? healthCheckPath, required Input<String> infrastructureRoleArn, Input<String?> ? memory, Input<List< ? networkConfigurations, required Input<ExpressGatewayServiceNetworkConfiguration> ?>ExpressGatewayServicePrimaryContainer> primaryContainer, Input<String?> ? region, Input<List< ? scalingTargets, Input<ExpressGatewayServiceScalingTarget> ?>String?> ? serviceName, Input<Map< ? tags, Input<String, String> ?>String?> ? taskRoleArn, Input<ExpressGatewayServiceTimeouts?> ? timeouts, Input<bool?> ? waitForSteadyState}) -
Creates a new ExpressGatewayServiceArgs.
clusterName or ARN of the ECS cluster. Defaults todefault.cpuNumber of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. Defaults to1024.executionRoleArnARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.healthCheckPathPath for health check requests. Defaults to/.infrastructureRoleArnARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.memoryAmount of memory (in MiB) used by the task. Valid values are between 512 and 8192. Defaults to2048.networkConfigurationsNetwork configuration for the service. SeenetworkConfigurationBlock below.primaryContainerRequired.regionAWS region where the service will be created. If not specified, the region configured in the provider will be used.scalingTargetsAuto-scaling configuration for the service. SeescalingTargetBlock below.serviceNameName of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.tagsKey-value map of resource tags. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.taskRoleArnARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.timeoutsOptional.waitForSteadyStateWhether to wait for the service to reach a steady state before considering the operation complete. Defaults tofalse.const -
ExpressGatewayServiceArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cluster
→ Input<
String?> ? -
Name or ARN of the ECS cluster. Defaults to
default.final -
cpu
→ Input<
String?> ? -
Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. Defaults to
1024.final -
executionRoleArn
→ Input<
String> -
ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
healthCheckPath
→ Input<
String?> ? -
Path for health check requests. Defaults to
/.final -
infrastructureRoleArn
→ Input<
String> -
ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. Important: The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created.
final
-
memory
→ Input<
String?> ? -
Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. Defaults to
2048.final -
networkConfigurations
→ Input<
List< ?ExpressGatewayServiceNetworkConfiguration> ?> -
Network configuration for the service. See
networkConfigurationBlock below.final -
primaryContainer
→ Input<
ExpressGatewayServicePrimaryContainer> -
final
-
region
→ Input<
String?> ? -
AWS region where the service will be created. If not specified, the region configured in the provider will be used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scalingTargets
→ Input<
List< ?ExpressGatewayServiceScalingTarget> ?> -
Auto-scaling configuration for the service. See
scalingTargetBlock below.final -
serviceName
→ Input<
String?> ? -
Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.
final
-
Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
taskRoleArn
→ Input<
String?> ? -
ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.
final
-
timeouts
→ Input<
ExpressGatewayServiceTimeouts?> ? -
final
-
waitForSteadyState
→ Input<
bool?> ? -
Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to
false.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited