Class CfnDaemon.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnDaemon.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDaemon>
- Enclosing class:
CfnDaemon
@Stability(Stable)
public static final class CfnDaemon.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDaemon>
A fluent builder for
CfnDaemon.-
Method Summary
Modifier and TypeMethodDescriptionbuild()capacityProviderArns(List<String> capacityProviderArns) The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.clusterArn(String clusterArn) The Amazon Resource Name (ARN) of the cluster that the daemon is running in.static CfnDaemon.BuilderdaemonName(String daemonName) daemonTaskDefinitionArn(String daemonTaskDefinitionArn) The Amazon Resource Name (ARN) of the daemon task definition used by this revision.deploymentConfiguration(IResolvable deploymentConfiguration) Optional deployment parameters that control how a daemon rolls out updates across container instances.deploymentConfiguration(CfnDaemon.DaemonDeploymentConfigurationProperty deploymentConfiguration) Optional deployment parameters that control how a daemon rolls out updates across container instances.enableEcsManagedTags(Boolean enableEcsManagedTags) Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.enableEcsManagedTags(IResolvable enableEcsManagedTags) Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.enableExecuteCommand(Boolean enableExecuteCommand) Specifies whether the execute command functionality is turned on for the daemon tasks.enableExecuteCommand(IResolvable enableExecuteCommand) Specifies whether the execute command functionality is turned on for the daemon tasks.propagateTags(String propagateTags) Specifies whether tags are propagated from the daemon to the daemon tasks.
-
Method Details
-
create
@Stability(Stable) public static CfnDaemon.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDaemon.Builder.
-
capacityProviderArns
The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.- Parameters:
capacityProviderArns- The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon. This parameter is required.- Returns:
this- See Also:
-
clusterArn
The Amazon Resource Name (ARN) of the cluster that the daemon is running in.- Parameters:
clusterArn- The Amazon Resource Name (ARN) of the cluster that the daemon is running in. This parameter is required.- Returns:
this- See Also:
-
daemonName
- Parameters:
daemonName- This parameter is required.- Returns:
this- See Also:
-
daemonTaskDefinitionArn
The Amazon Resource Name (ARN) of the daemon task definition used by this revision.- Parameters:
daemonTaskDefinitionArn- The Amazon Resource Name (ARN) of the daemon task definition used by this revision. This parameter is required.- Returns:
this- See Also:
-
deploymentConfiguration
@Stability(Stable) public CfnDaemon.Builder deploymentConfiguration(IResolvable deploymentConfiguration) Optional deployment parameters that control how a daemon rolls out updates across container instances.- Parameters:
deploymentConfiguration- Optional deployment parameters that control how a daemon rolls out updates across container instances. This parameter is required.- Returns:
this- See Also:
-
deploymentConfiguration
@Stability(Stable) public CfnDaemon.Builder deploymentConfiguration(CfnDaemon.DaemonDeploymentConfigurationProperty deploymentConfiguration) Optional deployment parameters that control how a daemon rolls out updates across container instances.- Parameters:
deploymentConfiguration- Optional deployment parameters that control how a daemon rolls out updates across container instances. This parameter is required.- Returns:
this- See Also:
-
enableEcsManagedTags
Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.- Parameters:
enableEcsManagedTags- Specifies whether Amazon ECS managed tags are turned on for the daemon tasks. This parameter is required.- Returns:
this- See Also:
-
enableEcsManagedTags
Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.- Parameters:
enableEcsManagedTags- Specifies whether Amazon ECS managed tags are turned on for the daemon tasks. This parameter is required.- Returns:
this- See Also:
-
enableExecuteCommand
Specifies whether the execute command functionality is turned on for the daemon tasks.- Parameters:
enableExecuteCommand- Specifies whether the execute command functionality is turned on for the daemon tasks. This parameter is required.- Returns:
this- See Also:
-
enableExecuteCommand
Specifies whether the execute command functionality is turned on for the daemon tasks.- Parameters:
enableExecuteCommand- Specifies whether the execute command functionality is turned on for the daemon tasks. This parameter is required.- Returns:
this- See Also:
-
propagateTags
Specifies whether tags are propagated from the daemon to the daemon tasks.- Parameters:
propagateTags- Specifies whether tags are propagated from the daemon to the daemon tasks. This parameter is required.- Returns:
this- See Also:
-
tags
- Parameters:
tags- This parameter is required.- Returns:
this- See Also:
-
build
-