ExpressGatewayServiceState constructor

const ExpressGatewayServiceState({
  1. Input<String?>? cluster,
  2. Input<String?>? cpu,
  3. Input<String?>? currentDeployment,
  4. Input<String?>? executionRoleArn,
  5. Input<String?>? healthCheckPath,
  6. Input<String?>? infrastructureRoleArn,
  7. Input<List<ExpressGatewayServiceIngressPath>?>? ingressPaths,
  8. Input<String?>? memory,
  9. Input<List<ExpressGatewayServiceNetworkConfiguration>?>? networkConfigurations,
  10. Input<ExpressGatewayServicePrimaryContainer?>? primaryContainer,
  11. Input<String?>? region,
  12. Input<List<ExpressGatewayServiceScalingTarget>?>? scalingTargets,
  13. Input<String?>? serviceArn,
  14. Input<String?>? serviceName,
  15. Input<String?>? serviceRevisionArn,
  16. Input<Map<String, String>?>? tags,
  17. Input<Map<String, String>?>? tagsAll,
  18. Input<String?>? taskRoleArn,
  19. Input<ExpressGatewayServiceTimeouts?>? timeouts,
  20. Input<bool?>? waitForSteadyState,
})

Creates a new ExpressGatewayServiceState. cluster Name or ARN of the ECS cluster. Defaults to default. cpu Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. Defaults to 1024. currentDeployment (Deprecated) ARN of the current deployment. executionRoleArn ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch. healthCheckPath Path for health check requests. Defaults to /. infrastructureRoleArn 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. ingressPaths List of ingress paths for the service. See ingressPaths Block below. memory Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. Defaults to 2048. networkConfigurations Network configuration for the service. See networkConfiguration Block below. primaryContainer Optional. region AWS region where the service will be created. If not specified, the region configured in the provider will be used. scalingTargets Auto-scaling configuration for the service. See scalingTarget Block below. serviceArn ARN of the Express Gateway Service. serviceName Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created. serviceRevisionArn ARN of the service revision. tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. taskRoleArn ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services. timeouts Optional. waitForSteadyState Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to false.

Implementation

const ExpressGatewayServiceState({
  this.cluster,
  this.cpu,
  this.currentDeployment,
  this.executionRoleArn,
  this.healthCheckPath,
  this.infrastructureRoleArn,
  this.ingressPaths,
  this.memory,
  this.networkConfigurations,
  this.primaryContainer,
  this.region,
  this.scalingTargets,
  this.serviceArn,
  this.serviceName,
  this.serviceRevisionArn,
  this.tags,
  this.tagsAll,
  this.taskRoleArn,
  this.timeouts,
  this.waitForSteadyState,
});