com.pulumi.aws.ecs.outputs.TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.ecs.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig {
/**
* @return 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.
*
*/
private @Nullable String accessPointId;
/**
* @return 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`. If this parameter is omitted, the default value of `DISABLED` is used.
*
*/
private @Nullable String iam;
private TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig() {}
/**
* @return 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.
*
*/
public Optional accessPointId() {
return Optional.ofNullable(this.accessPointId);
}
/**
* @return 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`. If this parameter is omitted, the default value of `DISABLED` is used.
*
*/
public Optional iam() {
return Optional.ofNullable(this.iam);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String accessPointId;
private @Nullable String iam;
public Builder() {}
public Builder(TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig defaults) {
Objects.requireNonNull(defaults);
this.accessPointId = defaults.accessPointId;
this.iam = defaults.iam;
}
@CustomType.Setter
public Builder accessPointId(@Nullable String accessPointId) {
this.accessPointId = accessPointId;
return this;
}
@CustomType.Setter
public Builder iam(@Nullable String iam) {
this.iam = iam;
return this;
}
public TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig build() {
final var _resultValue = new TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig();
_resultValue.accessPointId = accessPointId;
_resultValue.iam = iam;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy