Class CfnTaskDefinitionPropsMixin.AuthorizationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnTaskDefinitionPropsMixin.AuthorizationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskDefinitionPropsMixin.AuthorizationConfigProperty>
- Enclosing interface:
CfnTaskDefinitionPropsMixin.AuthorizationConfigProperty
@Stability(Stable)
public static final class CfnTaskDefinitionPropsMixin.AuthorizationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskDefinitionPropsMixin.AuthorizationConfigProperty>
A builder for
CfnTaskDefinitionPropsMixin.AuthorizationConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessPointId(String accessPointId) accessPointId(IAccessPointRef accessPointId) build()Builds the configured instance.Sets the value ofCfnTaskDefinitionPropsMixin.AuthorizationConfigProperty.getIam()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessPointId
@Stability(Stable) public CfnTaskDefinitionPropsMixin.AuthorizationConfigProperty.Builder accessPointId(String accessPointId) - Parameters:
accessPointId- The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in theEFSVolumeConfigurationmust either be omitted or set to/which will enforce the path set on the EFS access point. If an access point is used, transit encryption must be on in theEFSVolumeConfiguration. For more information, see Working with Amazon EFS access points in the Amazon Elastic File System User Guide .- Returns:
this
-
accessPointId
@Stability(Stable) public CfnTaskDefinitionPropsMixin.AuthorizationConfigProperty.Builder accessPointId(IAccessPointRef accessPointId) - Parameters:
accessPointId- The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in theEFSVolumeConfigurationmust either be omitted or set to/which will enforce the path set on the EFS access point. If an access point is used, transit encryption must be on in theEFSVolumeConfiguration. For more information, see Working with Amazon EFS access points in the Amazon Elastic File System User Guide .- Returns:
this
-
iam
@Stability(Stable) public CfnTaskDefinitionPropsMixin.AuthorizationConfigProperty.Builder iam(String iam) Sets the value ofCfnTaskDefinitionPropsMixin.AuthorizationConfigProperty.getIam()- Parameters:
iam- Determines whether to use the Amazon ECS task role defined in a task definition when mounting the Amazon EFS file system. If it is turned on, transit encryption must be turned on in theEFSVolumeConfiguration. If this parameter is omitted, the default value ofDISABLEDis used. For more information, see Using Amazon EFS access points in the Amazon Elastic Container Service Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskDefinitionPropsMixin.AuthorizationConfigProperty>- Returns:
- a new instance of
CfnTaskDefinitionPropsMixin.AuthorizationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-