com.pulumi.aws.lightsail.outputs.ContainerServicePrivateRegistryAccess 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.lightsail.outputs;
import com.pulumi.aws.lightsail.outputs.ContainerServicePrivateRegistryAccessEcrImagePullerRole;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ContainerServicePrivateRegistryAccess {
/**
* @return Describes a request to configure an Amazon Lightsail container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. See ECR Image Puller Role below for more details.
*
*/
private @Nullable ContainerServicePrivateRegistryAccessEcrImagePullerRole ecrImagePullerRole;
private ContainerServicePrivateRegistryAccess() {}
/**
* @return Describes a request to configure an Amazon Lightsail container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. See ECR Image Puller Role below for more details.
*
*/
public Optional ecrImagePullerRole() {
return Optional.ofNullable(this.ecrImagePullerRole);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ContainerServicePrivateRegistryAccess defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ContainerServicePrivateRegistryAccessEcrImagePullerRole ecrImagePullerRole;
public Builder() {}
public Builder(ContainerServicePrivateRegistryAccess defaults) {
Objects.requireNonNull(defaults);
this.ecrImagePullerRole = defaults.ecrImagePullerRole;
}
@CustomType.Setter
public Builder ecrImagePullerRole(@Nullable ContainerServicePrivateRegistryAccessEcrImagePullerRole ecrImagePullerRole) {
this.ecrImagePullerRole = ecrImagePullerRole;
return this;
}
public ContainerServicePrivateRegistryAccess build() {
final var _resultValue = new ContainerServicePrivateRegistryAccess();
_resultValue.ecrImagePullerRole = ecrImagePullerRole;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy