CfnDaemonProps
- class aws_cdk.aws_ecs.CfnDaemonProps(*, capacity_provider_arns=None, cluster_arn=None, daemon_name=None, daemon_task_definition_arn=None, deployment_configuration=None, enable_ecs_managed_tags=None, enable_execute_command=None, propagate_tags=None, tags=None)
Bases:
objectProperties for defining a
CfnDaemon.- Parameters:
capacity_provider_arns (
Optional[Sequence[str]]) – The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.cluster_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the cluster that the daemon is running in.daemon_name (
Optional[str])daemon_task_definition_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the daemon task definition used by this revision.deployment_configuration (
Union[IResolvable,DaemonDeploymentConfigurationProperty,Dict[str,Any],None]) – Optional deployment parameters that control how a daemon rolls out updates across container instances.enable_ecs_managed_tags (
Union[bool,IResolvable,None]) – Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.enable_execute_command (
Union[bool,IResolvable,None]) – Specifies whether the execute command functionality is turned on for the daemon tasks.propagate_tags (
Optional[str]) – Specifies whether tags are propagated from the daemon to the daemon tasks.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]])
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ecs as ecs cfn_daemon_props = ecs.CfnDaemonProps( capacity_provider_arns=["capacityProviderArns"], cluster_arn="clusterArn", daemon_name="daemonName", daemon_task_definition_arn="daemonTaskDefinitionArn", deployment_configuration=ecs.CfnDaemon.DaemonDeploymentConfigurationProperty( alarms=ecs.CfnDaemon.DaemonAlarmConfigurationProperty( alarm_names=["alarmNames"], enable=False ), bake_time_in_minutes=123, drain_percent=123 ), enable_ecs_managed_tags=False, enable_execute_command=False, propagate_tags="propagateTags", tags=[CfnTag( key="key", value="value" )] )
Attributes
- capacity_provider_arns
The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.
- cluster_arn
The Amazon Resource Name (ARN) of the cluster that the daemon is running in.
- daemon_name
-
- Type:
see
- daemon_task_definition_arn
The Amazon Resource Name (ARN) of the daemon task definition used by this revision.
- deployment_configuration
Optional deployment parameters that control how a daemon rolls out updates across container instances.
- enable_ecs_managed_tags
Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.
- enable_execute_command
Specifies whether the execute command functionality is turned on for the daemon tasks.
- propagate_tags
Specifies whether tags are propagated from the daemon to the daemon tasks.