Class AuthorizationConfig.Builder

java.lang.Object
software.amazon.awscdk.services.ecs.AuthorizationConfig.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<AuthorizationConfig>
Enclosing interface:
AuthorizationConfig

@Stability(Stable) public static final class AuthorizationConfig.Builder extends Object implements software.amazon.jsii.Builder<AuthorizationConfig>
A builder for AuthorizationConfig
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • accessPointId

      @Stability(Stable) public AuthorizationConfig.Builder accessPointId(String accessPointId)
      Parameters:
      accessPointId - The access point ID to use. If an access point is specified, the root directory value will be relative to the directory set for the access point. If specified, transit encryption must be enabled in the EFSVolumeConfiguration.
      Returns:
      this
    • iam

      @Stability(Stable) public AuthorizationConfig.Builder iam(String iam)
      Parameters:
      iam - Whether or not to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the EFSVolumeConfiguration.

      Valid values: ENABLED | DISABLED

      Returns:
      this
    • build

      @Stability(Stable) public AuthorizationConfig build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<AuthorizationConfig>
      Returns:
      a new instance of AuthorizationConfig
      Throws:
      NullPointerException - if any required attribute was not provided