Package-level declarations

Types

Link copied to clipboard
class AccountSettingDefault : KotlinCustomResource

Provides an ECS default account setting for a specific ECS Resource name within a specific region. More information can be found on the ECS Developer Guide.

Link copied to clipboard
data class AccountSettingDefaultArgs(val name: Output<String>? = null, val value: Output<String>? = null) : ConvertibleToJava<AccountSettingDefaultArgs>

Provides an ECS default account setting for a specific ECS Resource name within a specific region. More information can be found on the ECS Developer Guide.

Link copied to clipboard
Link copied to clipboard
class CapacityProvider : KotlinCustomResource

Provides an ECS cluster capacity provider. More information can be found on the ECS Developer Guide.

Link copied to clipboard
data class CapacityProviderArgs(val autoScalingGroupProvider: Output<CapacityProviderAutoScalingGroupProviderArgs>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<CapacityProviderArgs>

Provides an ECS cluster capacity provider. More information can be found on the ECS Developer Guide.

Link copied to clipboard
object CapacityProviderMapper : ResourceMapper<CapacityProvider>
Link copied to clipboard
class Cluster : KotlinCustomResource

Provides an ECS cluster.

Link copied to clipboard
data class ClusterArgs(val capacityProviders: Output<List<String>>? = null, val configuration: Output<ClusterConfigurationArgs>? = null, val defaultCapacityProviderStrategies: Output<List<ClusterDefaultCapacityProviderStrategyArgs>>? = null, val name: Output<String>? = null, val serviceConnectDefaults: Output<ClusterServiceConnectDefaultsArgs>? = null, val settings: Output<List<ClusterSettingArgs>>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ClusterArgs>

Provides an ECS cluster.

Link copied to clipboard
Link copied to clipboard
class ClusterCapacityProviders : KotlinCustomResource

Manages the capacity providers of an ECS Cluster. More information about capacity providers can be found in the ECS User Guide.

Link copied to clipboard
data class ClusterCapacityProvidersArgs(val capacityProviders: Output<List<String>>? = null, val clusterName: Output<String>? = null, val defaultCapacityProviderStrategies: Output<List<ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs>>? = null) : ConvertibleToJava<ClusterCapacityProvidersArgs>

Manages the capacity providers of an ECS Cluster. More information about capacity providers can be found in the ECS User Guide.

Link copied to clipboard
object ClusterMapper : ResourceMapper<Cluster>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Service : KotlinCustomResource

You can use ignoreChanges to create an ECS service with an initial count of running instances, then ignore any changes to that count caused externally (e.g. Application Autoscaling).

Link copied to clipboard
data class ServiceArgs(val alarms: Output<ServiceAlarmsArgs>? = null, val capacityProviderStrategies: Output<List<ServiceCapacityProviderStrategyArgs>>? = null, val cluster: Output<String>? = null, val deploymentCircuitBreaker: Output<ServiceDeploymentCircuitBreakerArgs>? = null, val deploymentController: Output<ServiceDeploymentControllerArgs>? = null, val deploymentMaximumPercent: Output<Int>? = null, val deploymentMinimumHealthyPercent: Output<Int>? = null, val desiredCount: Output<Int>? = null, val enableEcsManagedTags: Output<Boolean>? = null, val enableExecuteCommand: Output<Boolean>? = null, val forceNewDeployment: Output<Boolean>? = null, val healthCheckGracePeriodSeconds: Output<Int>? = null, val iamRole: Output<String>? = null, val launchType: Output<String>? = null, val loadBalancers: Output<List<ServiceLoadBalancerArgs>>? = null, val name: Output<String>? = null, val networkConfiguration: Output<ServiceNetworkConfigurationArgs>? = null, val orderedPlacementStrategies: Output<List<ServiceOrderedPlacementStrategyArgs>>? = null, val placementConstraints: Output<List<ServicePlacementConstraintArgs>>? = null, val platformVersion: Output<String>? = null, val propagateTags: Output<String>? = null, val schedulingStrategy: Output<String>? = null, val serviceConnectConfiguration: Output<ServiceServiceConnectConfigurationArgs>? = null, val serviceRegistries: Output<ServiceServiceRegistriesArgs>? = null, val tags: Output<Map<String, String>>? = null, val taskDefinition: Output<String>? = null, val triggers: Output<Map<String, String>>? = null, val waitForSteadyState: Output<Boolean>? = null) : ConvertibleToJava<ServiceArgs>

You can use ignoreChanges to create an ECS service with an initial count of running instances, then ignore any changes to that count caused externally (e.g. Application Autoscaling).

Link copied to clipboard
Link copied to clipboard
object ServiceMapper : ResourceMapper<Service>
Link copied to clipboard
Link copied to clipboard
class Tag : KotlinCustomResource

Manages an individual ECS resource tag. This resource should only be used in cases where ECS resources are created outside the provider (e.g., ECS Clusters implicitly created by Batch Compute Environments).

Link copied to clipboard
data class TagArgs(val key: Output<String>? = null, val resourceArn: Output<String>? = null, val value: Output<String>? = null) : ConvertibleToJava<TagArgs>

Manages an individual ECS resource tag. This resource should only be used in cases where ECS resources are created outside the provider (e.g., ECS Clusters implicitly created by Batch Compute Environments).

Link copied to clipboard

Builder for TagArgs.

Link copied to clipboard
object TagMapper : ResourceMapper<Tag>
Link copied to clipboard

Builder for Tag.

Link copied to clipboard
class TaskDefinition : KotlinCustomResource

Manages a revision of an ECS task definition to be used in aws.ecs.Service.

Link copied to clipboard
data class TaskDefinitionArgs(val containerDefinitions: Output<String>? = null, val cpu: Output<String>? = null, val ephemeralStorage: Output<TaskDefinitionEphemeralStorageArgs>? = null, val executionRoleArn: Output<String>? = null, val family: Output<String>? = null, val inferenceAccelerators: Output<List<TaskDefinitionInferenceAcceleratorArgs>>? = null, val ipcMode: Output<String>? = null, val memory: Output<String>? = null, val networkMode: Output<String>? = null, val pidMode: Output<String>? = null, val placementConstraints: Output<List<TaskDefinitionPlacementConstraintArgs>>? = null, val proxyConfiguration: Output<TaskDefinitionProxyConfigurationArgs>? = null, val requiresCompatibilities: Output<List<String>>? = null, val runtimePlatform: Output<TaskDefinitionRuntimePlatformArgs>? = null, val skipDestroy: Output<Boolean>? = null, val tags: Output<Map<String, String>>? = null, val taskRoleArn: Output<String>? = null, val volumes: Output<List<TaskDefinitionVolumeArgs>>? = null) : ConvertibleToJava<TaskDefinitionArgs>

Manages a revision of an ECS task definition to be used in aws.ecs.Service.

Link copied to clipboard
Link copied to clipboard
object TaskDefinitionMapper : ResourceMapper<TaskDefinition>
Link copied to clipboard
class TaskSet : KotlinCustomResource

Provides an ECS task set - effectively a task that is expected to run until an error occurs or a user terminates it (typically a webserver or a database). See ECS Task Set section in AWS developer guide.

Link copied to clipboard
data class TaskSetArgs(val capacityProviderStrategies: Output<List<TaskSetCapacityProviderStrategyArgs>>? = null, val cluster: Output<String>? = null, val externalId: Output<String>? = null, val forceDelete: Output<Boolean>? = null, val launchType: Output<String>? = null, val loadBalancers: Output<List<TaskSetLoadBalancerArgs>>? = null, val networkConfiguration: Output<TaskSetNetworkConfigurationArgs>? = null, val platformVersion: Output<String>? = null, val scale: Output<TaskSetScaleArgs>? = null, val service: Output<String>? = null, val serviceRegistries: Output<TaskSetServiceRegistriesArgs>? = null, val tags: Output<Map<String, String>>? = null, val taskDefinition: Output<String>? = null, val waitUntilStable: Output<Boolean>? = null, val waitUntilStableTimeout: Output<String>? = null) : ConvertibleToJava<TaskSetArgs>

Provides an ECS task set - effectively a task that is expected to run until an error occurs or a user terminates it (typically a webserver or a database). See ECS Task Set section in AWS developer guide.

Link copied to clipboard
Link copied to clipboard
object TaskSetMapper : ResourceMapper<TaskSet>
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun cluster(name: String): Cluster
suspend fun cluster(name: String, block: suspend ClusterResourceBuilder.() -> Unit): Cluster
Link copied to clipboard
fun service(name: String): Service
suspend fun service(name: String, block: suspend ServiceResourceBuilder.() -> Unit): Service
Link copied to clipboard
fun tag(name: String): Tag
suspend fun tag(name: String, block: suspend TagResourceBuilder.() -> Unit): Tag
Link copied to clipboard
Link copied to clipboard
fun taskSet(name: String): TaskSet
suspend fun taskSet(name: String, block: suspend TaskSetResourceBuilder.() -> Unit): TaskSet