We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.ecs.getCluster
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
The AWS::ECS::Cluster
resource creates an Amazon Elastic Container Service (Amazon ECS) cluster.
Using getCluster
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>
function getClusterOutput(args: GetClusterOutputArgs, opts?: InvokeOptions): Output<GetClusterResult>
def get_cluster(cluster_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClusterResult]
func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)
func LookupClusterOutput(ctx *Context, args *LookupClusterOutputArgs, opts ...InvokeOption) LookupClusterResultOutput
> Note: This function is named LookupCluster
in the Go SDK.
public static class GetCluster
{
public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ecs:getCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Name string - A user-generated string that you use to identify your cluster. If you don't specify a name, CFNlong generates a unique physical ID for the name.
- Cluster
Name string - A user-generated string that you use to identify your cluster. If you don't specify a name, CFNlong generates a unique physical ID for the name.
- cluster
Name String - A user-generated string that you use to identify your cluster. If you don't specify a name, CFNlong generates a unique physical ID for the name.
- cluster
Name string - A user-generated string that you use to identify your cluster. If you don't specify a name, CFNlong generates a unique physical ID for the name.
- cluster_
name str - A user-generated string that you use to identify your cluster. If you don't specify a name, CFNlong generates a unique physical ID for the name.
- cluster
Name String - A user-generated string that you use to identify your cluster. If you don't specify a name, CFNlong generates a unique physical ID for the name.
getCluster Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the Amazon ECS cluster, such as
arn:aws:ecs:us-east-2:123456789012:cluster/MyECSCluster
. - Capacity
Providers List<string> - The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must be created but not associated with another cluster. New Auto Scaling group capacity providers can be created with the CreateCapacityProvider API operation.
To use a FARGATElong capacity provider, specify either the
FARGATE
orFARGATE_SPOT
capacity providers. The FARGATElong capacity providers are available to all accounts and only need to be associated with a cluster to be used. The PutCapacityProvider API operation is used to update the list of available capacity providers for a cluster after the cluster is created. - Cluster
Settings List<Pulumi.Aws Native. Ecs. Outputs. Cluster Settings> - The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
- Configuration
Pulumi.
Aws Native. Ecs. Outputs. Cluster Configuration - The execute command and managed storage configuration for the cluster.
- Default
Capacity List<Pulumi.Provider Strategy Aws Native. Ecs. Outputs. Cluster Capacity Provider Strategy Item> - The default capacity provider strategy for the cluster. When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.
- List<Pulumi.
Aws Native. Outputs. Tag> - The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
- Maximum number of tags per resource - 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length - 128 Unicode characters in UTF-8
- Maximum value length - 256 Unicode characters in UTF-8
- If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
- Tag keys and values are case-sensitive.
- Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
- Arn string
- The Amazon Resource Name (ARN) of the Amazon ECS cluster, such as
arn:aws:ecs:us-east-2:123456789012:cluster/MyECSCluster
. - Capacity
Providers []string - The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must be created but not associated with another cluster. New Auto Scaling group capacity providers can be created with the CreateCapacityProvider API operation.
To use a FARGATElong capacity provider, specify either the
FARGATE
orFARGATE_SPOT
capacity providers. The FARGATElong capacity providers are available to all accounts and only need to be associated with a cluster to be used. The PutCapacityProvider API operation is used to update the list of available capacity providers for a cluster after the cluster is created. - Cluster
Settings []ClusterSettings - The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
- Configuration
Cluster
Configuration - The execute command and managed storage configuration for the cluster.
- Default
Capacity []ClusterProvider Strategy Capacity Provider Strategy Item - The default capacity provider strategy for the cluster. When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.
- Tag
- The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
- Maximum number of tags per resource - 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length - 128 Unicode characters in UTF-8
- Maximum value length - 256 Unicode characters in UTF-8
- If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
- Tag keys and values are case-sensitive.
- Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
- arn String
- The Amazon Resource Name (ARN) of the Amazon ECS cluster, such as
arn:aws:ecs:us-east-2:123456789012:cluster/MyECSCluster
. - capacity
Providers List<String> - The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must be created but not associated with another cluster. New Auto Scaling group capacity providers can be created with the CreateCapacityProvider API operation.
To use a FARGATElong capacity provider, specify either the
FARGATE
orFARGATE_SPOT
capacity providers. The FARGATElong capacity providers are available to all accounts and only need to be associated with a cluster to be used. The PutCapacityProvider API operation is used to update the list of available capacity providers for a cluster after the cluster is created. - cluster
Settings List<ClusterSettings> - The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
- configuration
Cluster
Configuration - The execute command and managed storage configuration for the cluster.
- default
Capacity List<ClusterProvider Strategy Capacity Provider Strategy Item> - The default capacity provider strategy for the cluster. When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.
- List<Tag>
- The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
- Maximum number of tags per resource - 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length - 128 Unicode characters in UTF-8
- Maximum value length - 256 Unicode characters in UTF-8
- If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
- Tag keys and values are case-sensitive.
- Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
- arn string
- The Amazon Resource Name (ARN) of the Amazon ECS cluster, such as
arn:aws:ecs:us-east-2:123456789012:cluster/MyECSCluster
. - capacity
Providers string[] - The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must be created but not associated with another cluster. New Auto Scaling group capacity providers can be created with the CreateCapacityProvider API operation.
To use a FARGATElong capacity provider, specify either the
FARGATE
orFARGATE_SPOT
capacity providers. The FARGATElong capacity providers are available to all accounts and only need to be associated with a cluster to be used. The PutCapacityProvider API operation is used to update the list of available capacity providers for a cluster after the cluster is created. - cluster
Settings ClusterSettings[] - The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
- configuration
Cluster
Configuration - The execute command and managed storage configuration for the cluster.
- default
Capacity ClusterProvider Strategy Capacity Provider Strategy Item[] - The default capacity provider strategy for the cluster. When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.
- Tag[]
- The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
- Maximum number of tags per resource - 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length - 128 Unicode characters in UTF-8
- Maximum value length - 256 Unicode characters in UTF-8
- If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
- Tag keys and values are case-sensitive.
- Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
- arn str
- The Amazon Resource Name (ARN) of the Amazon ECS cluster, such as
arn:aws:ecs:us-east-2:123456789012:cluster/MyECSCluster
. - capacity_
providers Sequence[str] - The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must be created but not associated with another cluster. New Auto Scaling group capacity providers can be created with the CreateCapacityProvider API operation.
To use a FARGATElong capacity provider, specify either the
FARGATE
orFARGATE_SPOT
capacity providers. The FARGATElong capacity providers are available to all accounts and only need to be associated with a cluster to be used. The PutCapacityProvider API operation is used to update the list of available capacity providers for a cluster after the cluster is created. - cluster_
settings Sequence[ClusterSettings] - The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
- configuration
Cluster
Configuration - The execute command and managed storage configuration for the cluster.
- default_
capacity_ Sequence[Clusterprovider_ strategy Capacity Provider Strategy Item] - The default capacity provider strategy for the cluster. When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.
- Sequence[root_Tag]
- The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
- Maximum number of tags per resource - 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length - 128 Unicode characters in UTF-8
- Maximum value length - 256 Unicode characters in UTF-8
- If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
- Tag keys and values are case-sensitive.
- Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
- arn String
- The Amazon Resource Name (ARN) of the Amazon ECS cluster, such as
arn:aws:ecs:us-east-2:123456789012:cluster/MyECSCluster
. - capacity
Providers List<String> - The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must be created but not associated with another cluster. New Auto Scaling group capacity providers can be created with the CreateCapacityProvider API operation.
To use a FARGATElong capacity provider, specify either the
FARGATE
orFARGATE_SPOT
capacity providers. The FARGATElong capacity providers are available to all accounts and only need to be associated with a cluster to be used. The PutCapacityProvider API operation is used to update the list of available capacity providers for a cluster after the cluster is created. - cluster
Settings List<Property Map> - The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
- configuration Property Map
- The execute command and managed storage configuration for the cluster.
- default
Capacity List<Property Map>Provider Strategy - The default capacity provider strategy for the cluster. When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.
- List<Property Map>
- The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
- Maximum number of tags per resource - 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length - 128 Unicode characters in UTF-8
- Maximum value length - 256 Unicode characters in UTF-8
- If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
- Tag keys and values are case-sensitive.
- Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
Supporting Types
ClusterCapacityProviderStrategyItem
- Base int
- The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of
0
is used. - Capacity
Provider string - The short name of the capacity provider.
- Weight int
- The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The
weight
value is taken into consideration after thebase
value, if defined, is satisfied. If noweight
value is specified, the default value of0
is used. When multiple capacity providers are specified within a capacity provider strategy, at least one of the capacity providers must have a weight value greater than zero and any capacity providers with a weight of0
can't be used to place tasks. If you specify multiple capacity providers in a strategy that all have a weight of0
, anyRunTask
orCreateService
actions using the capacity provider strategy will fail. An example scenario for using weights is defining a strategy that contains two capacity providers and both have a weight of1
, then when thebase
is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of1
for capacityProviderA and a weight of4
for capacityProviderB, then for every one task that's run using capacityProviderA, four tasks would use capacityProviderB.
- Base int
- The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of
0
is used. - Capacity
Provider string - The short name of the capacity provider.
- Weight int
- The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The
weight
value is taken into consideration after thebase
value, if defined, is satisfied. If noweight
value is specified, the default value of0
is used. When multiple capacity providers are specified within a capacity provider strategy, at least one of the capacity providers must have a weight value greater than zero and any capacity providers with a weight of0
can't be used to place tasks. If you specify multiple capacity providers in a strategy that all have a weight of0
, anyRunTask
orCreateService
actions using the capacity provider strategy will fail. An example scenario for using weights is defining a strategy that contains two capacity providers and both have a weight of1
, then when thebase
is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of1
for capacityProviderA and a weight of4
for capacityProviderB, then for every one task that's run using capacityProviderA, four tasks would use capacityProviderB.
- base Integer
- The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of
0
is used. - capacity
Provider String - The short name of the capacity provider.
- weight Integer
- The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The
weight
value is taken into consideration after thebase
value, if defined, is satisfied. If noweight
value is specified, the default value of0
is used. When multiple capacity providers are specified within a capacity provider strategy, at least one of the capacity providers must have a weight value greater than zero and any capacity providers with a weight of0
can't be used to place tasks. If you specify multiple capacity providers in a strategy that all have a weight of0
, anyRunTask
orCreateService
actions using the capacity provider strategy will fail. An example scenario for using weights is defining a strategy that contains two capacity providers and both have a weight of1
, then when thebase
is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of1
for capacityProviderA and a weight of4
for capacityProviderB, then for every one task that's run using capacityProviderA, four tasks would use capacityProviderB.
- base number
- The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of
0
is used. - capacity
Provider string - The short name of the capacity provider.
- weight number
- The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The
weight
value is taken into consideration after thebase
value, if defined, is satisfied. If noweight
value is specified, the default value of0
is used. When multiple capacity providers are specified within a capacity provider strategy, at least one of the capacity providers must have a weight value greater than zero and any capacity providers with a weight of0
can't be used to place tasks. If you specify multiple capacity providers in a strategy that all have a weight of0
, anyRunTask
orCreateService
actions using the capacity provider strategy will fail. An example scenario for using weights is defining a strategy that contains two capacity providers and both have a weight of1
, then when thebase
is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of1
for capacityProviderA and a weight of4
for capacityProviderB, then for every one task that's run using capacityProviderA, four tasks would use capacityProviderB.
- base int
- The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of
0
is used. - capacity_
provider str - The short name of the capacity provider.
- weight int
- The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The
weight
value is taken into consideration after thebase
value, if defined, is satisfied. If noweight
value is specified, the default value of0
is used. When multiple capacity providers are specified within a capacity provider strategy, at least one of the capacity providers must have a weight value greater than zero and any capacity providers with a weight of0
can't be used to place tasks. If you specify multiple capacity providers in a strategy that all have a weight of0
, anyRunTask
orCreateService
actions using the capacity provider strategy will fail. An example scenario for using weights is defining a strategy that contains two capacity providers and both have a weight of1
, then when thebase
is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of1
for capacityProviderA and a weight of4
for capacityProviderB, then for every one task that's run using capacityProviderA, four tasks would use capacityProviderB.
- base Number
- The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of
0
is used. - capacity
Provider String - The short name of the capacity provider.
- weight Number
- The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The
weight
value is taken into consideration after thebase
value, if defined, is satisfied. If noweight
value is specified, the default value of0
is used. When multiple capacity providers are specified within a capacity provider strategy, at least one of the capacity providers must have a weight value greater than zero and any capacity providers with a weight of0
can't be used to place tasks. If you specify multiple capacity providers in a strategy that all have a weight of0
, anyRunTask
orCreateService
actions using the capacity provider strategy will fail. An example scenario for using weights is defining a strategy that contains two capacity providers and both have a weight of1
, then when thebase
is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of1
for capacityProviderA and a weight of4
for capacityProviderB, then for every one task that's run using capacityProviderA, four tasks would use capacityProviderB.
ClusterConfiguration
- Execute
Command Pulumi.Configuration Aws Native. Ecs. Inputs. Cluster Execute Command Configuration - The details of the execute command configuration.
- Managed
Storage Pulumi.Configuration Aws Native. Ecs. Inputs. Cluster Managed Storage Configuration - The details of the managed storage configuration.
- Execute
Command ClusterConfiguration Execute Command Configuration - The details of the execute command configuration.
- Managed
Storage ClusterConfiguration Managed Storage Configuration - The details of the managed storage configuration.
- execute
Command ClusterConfiguration Execute Command Configuration - The details of the execute command configuration.
- managed
Storage ClusterConfiguration Managed Storage Configuration - The details of the managed storage configuration.
- execute
Command ClusterConfiguration Execute Command Configuration - The details of the execute command configuration.
- managed
Storage ClusterConfiguration Managed Storage Configuration - The details of the managed storage configuration.
- execute_
command_ Clusterconfiguration Execute Command Configuration - The details of the execute command configuration.
- managed_
storage_ Clusterconfiguration Managed Storage Configuration - The details of the managed storage configuration.
- execute
Command Property MapConfiguration - The details of the execute command configuration.
- managed
Storage Property MapConfiguration - The details of the managed storage configuration.
ClusterExecuteCommandConfiguration
- Kms
Key stringId - Specify an KMSlong key ID to encrypt the data between the local client and the container.
- Log
Configuration Pulumi.Aws Native. Ecs. Inputs. Cluster Execute Command Log Configuration - The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When
logging=OVERRIDE
is specified, alogConfiguration
must be provided. - Logging string
- The log setting to use for redirecting logs for your execute command results. The following log settings are available.
NONE
: The execute command session is not logged.DEFAULT
: Theawslogs
configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If noawslogs
log driver is configured in the task definition, the output won't be logged.OVERRIDE
: Specify the logging details as a part oflogConfiguration
. If theOVERRIDE
logging option is specified, thelogConfiguration
is required.
- Kms
Key stringId - Specify an KMSlong key ID to encrypt the data between the local client and the container.
- Log
Configuration ClusterExecute Command Log Configuration - The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When
logging=OVERRIDE
is specified, alogConfiguration
must be provided. - Logging string
- The log setting to use for redirecting logs for your execute command results. The following log settings are available.
NONE
: The execute command session is not logged.DEFAULT
: Theawslogs
configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If noawslogs
log driver is configured in the task definition, the output won't be logged.OVERRIDE
: Specify the logging details as a part oflogConfiguration
. If theOVERRIDE
logging option is specified, thelogConfiguration
is required.
- kms
Key StringId - Specify an KMSlong key ID to encrypt the data between the local client and the container.
- log
Configuration ClusterExecute Command Log Configuration - The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When
logging=OVERRIDE
is specified, alogConfiguration
must be provided. - logging String
- The log setting to use for redirecting logs for your execute command results. The following log settings are available.
NONE
: The execute command session is not logged.DEFAULT
: Theawslogs
configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If noawslogs
log driver is configured in the task definition, the output won't be logged.OVERRIDE
: Specify the logging details as a part oflogConfiguration
. If theOVERRIDE
logging option is specified, thelogConfiguration
is required.
- kms
Key stringId - Specify an KMSlong key ID to encrypt the data between the local client and the container.
- log
Configuration ClusterExecute Command Log Configuration - The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When
logging=OVERRIDE
is specified, alogConfiguration
must be provided. - logging string
- The log setting to use for redirecting logs for your execute command results. The following log settings are available.
NONE
: The execute command session is not logged.DEFAULT
: Theawslogs
configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If noawslogs
log driver is configured in the task definition, the output won't be logged.OVERRIDE
: Specify the logging details as a part oflogConfiguration
. If theOVERRIDE
logging option is specified, thelogConfiguration
is required.
- kms_
key_ strid - Specify an KMSlong key ID to encrypt the data between the local client and the container.
- log_
configuration ClusterExecute Command Log Configuration - The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When
logging=OVERRIDE
is specified, alogConfiguration
must be provided. - logging str
- The log setting to use for redirecting logs for your execute command results. The following log settings are available.
NONE
: The execute command session is not logged.DEFAULT
: Theawslogs
configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If noawslogs
log driver is configured in the task definition, the output won't be logged.OVERRIDE
: Specify the logging details as a part oflogConfiguration
. If theOVERRIDE
logging option is specified, thelogConfiguration
is required.
- kms
Key StringId - Specify an KMSlong key ID to encrypt the data between the local client and the container.
- log
Configuration Property Map - The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When
logging=OVERRIDE
is specified, alogConfiguration
must be provided. - logging String
- The log setting to use for redirecting logs for your execute command results. The following log settings are available.
NONE
: The execute command session is not logged.DEFAULT
: Theawslogs
configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If noawslogs
log driver is configured in the task definition, the output won't be logged.OVERRIDE
: Specify the logging details as a part oflogConfiguration
. If theOVERRIDE
logging option is specified, thelogConfiguration
is required.
ClusterExecuteCommandLogConfiguration
- Cloud
Watch boolEncryption Enabled - Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
- Cloud
Watch stringLog Group Name - The name of the CloudWatch log group to send logs to. The CloudWatch log group must already be created.
- S3Bucket
Name string - The name of the S3 bucket to send logs to. The S3 bucket must already be created.
- S3Encryption
Enabled bool - Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
- S3Key
Prefix string - An optional folder in the S3 bucket to place logs in.
- Cloud
Watch boolEncryption Enabled - Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
- Cloud
Watch stringLog Group Name - The name of the CloudWatch log group to send logs to. The CloudWatch log group must already be created.
- S3Bucket
Name string - The name of the S3 bucket to send logs to. The S3 bucket must already be created.
- S3Encryption
Enabled bool - Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
- S3Key
Prefix string - An optional folder in the S3 bucket to place logs in.
- cloud
Watch BooleanEncryption Enabled - Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
- cloud
Watch StringLog Group Name - The name of the CloudWatch log group to send logs to. The CloudWatch log group must already be created.
- s3Bucket
Name String - The name of the S3 bucket to send logs to. The S3 bucket must already be created.
- s3Encryption
Enabled Boolean - Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
- s3Key
Prefix String - An optional folder in the S3 bucket to place logs in.
- cloud
Watch booleanEncryption Enabled - Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
- cloud
Watch stringLog Group Name - The name of the CloudWatch log group to send logs to. The CloudWatch log group must already be created.
- s3Bucket
Name string - The name of the S3 bucket to send logs to. The S3 bucket must already be created.
- s3Encryption
Enabled boolean - Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
- s3Key
Prefix string - An optional folder in the S3 bucket to place logs in.
- cloud_
watch_ boolencryption_ enabled - Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
- cloud_
watch_ strlog_ group_ name - The name of the CloudWatch log group to send logs to. The CloudWatch log group must already be created.
- s3_
bucket_ strname - The name of the S3 bucket to send logs to. The S3 bucket must already be created.
- s3_
encryption_ boolenabled - Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
- s3_
key_ strprefix - An optional folder in the S3 bucket to place logs in.
- cloud
Watch BooleanEncryption Enabled - Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
- cloud
Watch StringLog Group Name - The name of the CloudWatch log group to send logs to. The CloudWatch log group must already be created.
- s3Bucket
Name String - The name of the S3 bucket to send logs to. The S3 bucket must already be created.
- s3Encryption
Enabled Boolean - Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
- s3Key
Prefix String - An optional folder in the S3 bucket to place logs in.
ClusterManagedStorageConfiguration
- Fargate
Ephemeral stringStorage Kms Key Id - Specify the KMSlong key ID for the Fargate ephemeral storage.
- Kms
Key stringId - Specify a KMSlong key ID to encrypt the managed storage.
- Fargate
Ephemeral stringStorage Kms Key Id - Specify the KMSlong key ID for the Fargate ephemeral storage.
- Kms
Key stringId - Specify a KMSlong key ID to encrypt the managed storage.
- fargate
Ephemeral StringStorage Kms Key Id - Specify the KMSlong key ID for the Fargate ephemeral storage.
- kms
Key StringId - Specify a KMSlong key ID to encrypt the managed storage.
- fargate
Ephemeral stringStorage Kms Key Id - Specify the KMSlong key ID for the Fargate ephemeral storage.
- kms
Key stringId - Specify a KMSlong key ID to encrypt the managed storage.
- fargate_
ephemeral_ strstorage_ kms_ key_ id - Specify the KMSlong key ID for the Fargate ephemeral storage.
- kms_
key_ strid - Specify a KMSlong key ID to encrypt the managed storage.
- fargate
Ephemeral StringStorage Kms Key Id - Specify the KMSlong key ID for the Fargate ephemeral storage.
- kms
Key StringId - Specify a KMSlong key ID to encrypt the managed storage.
ClusterSettings
- Name string
- The name of the cluster setting. The value is
containerInsights
. - Value string
- The value to set for the cluster setting. The supported values are
enabled
anddisabled
. If you setname
tocontainerInsights
andvalue
toenabled
, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless thecontainerInsights
account setting is turned on. If a cluster value is specified, it will override thecontainerInsights
value set with PutAccountSetting or PutAccountSettingDefault.
- Name string
- The name of the cluster setting. The value is
containerInsights
. - Value string
- The value to set for the cluster setting. The supported values are
enabled
anddisabled
. If you setname
tocontainerInsights
andvalue
toenabled
, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless thecontainerInsights
account setting is turned on. If a cluster value is specified, it will override thecontainerInsights
value set with PutAccountSetting or PutAccountSettingDefault.
- name String
- The name of the cluster setting. The value is
containerInsights
. - value String
- The value to set for the cluster setting. The supported values are
enabled
anddisabled
. If you setname
tocontainerInsights
andvalue
toenabled
, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless thecontainerInsights
account setting is turned on. If a cluster value is specified, it will override thecontainerInsights
value set with PutAccountSetting or PutAccountSettingDefault.
- name string
- The name of the cluster setting. The value is
containerInsights
. - value string
- The value to set for the cluster setting. The supported values are
enabled
anddisabled
. If you setname
tocontainerInsights
andvalue
toenabled
, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless thecontainerInsights
account setting is turned on. If a cluster value is specified, it will override thecontainerInsights
value set with PutAccountSetting or PutAccountSettingDefault.
- name str
- The name of the cluster setting. The value is
containerInsights
. - value str
- The value to set for the cluster setting. The supported values are
enabled
anddisabled
. If you setname
tocontainerInsights
andvalue
toenabled
, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless thecontainerInsights
account setting is turned on. If a cluster value is specified, it will override thecontainerInsights
value set with PutAccountSetting or PutAccountSettingDefault.
- name String
- The name of the cluster setting. The value is
containerInsights
. - value String
- The value to set for the cluster setting. The supported values are
enabled
anddisabled
. If you setname
tocontainerInsights
andvalue
toenabled
, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless thecontainerInsights
account setting is turned on. If a cluster value is specified, it will override thecontainerInsights
value set with PutAccountSetting or PutAccountSettingDefault.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi