Package com.pulumi.aws.ecr
Class PullThroughCacheRuleArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.ecr.PullThroughCacheRuleArgs
-
public final class PullThroughCacheRuleArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPullThroughCacheRuleArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static PullThroughCacheRuleArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PullThroughCacheRuleArgs.Builderbuilder()static PullThroughCacheRuleArgs.Builderbuilder(PullThroughCacheRuleArgs defaults)java.util.Optional<com.pulumi.core.Output<java.lang.String>>credentialArn()java.util.Optional<com.pulumi.core.Output<java.lang.String>>customRoleArn()com.pulumi.core.Output<java.lang.String>ecrRepositoryPrefix()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()com.pulumi.core.Output<java.lang.String>upstreamRegistryUrl()java.util.Optional<com.pulumi.core.Output<java.lang.String>>upstreamRepositoryPrefix()
-
-
-
Field Detail
-
Empty
public static final PullThroughCacheRuleArgs Empty
-
-
Method Detail
-
credentialArn
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> credentialArn()
- Returns:
- ARN of the Secret which will be used to authenticate against the registry.
-
customRoleArn
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> customRoleArn()
- Returns:
- The ARN of the IAM role associated with the pull through cache rule. Must be specified if the upstream registry is a cross-account ECR private registry. See [AWS Document - Setting up permissions for cross-account ECR to ECR PTC](https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache-private.html).
-
ecrRepositoryPrefix
public com.pulumi.core.Output<java.lang.String> ecrRepositoryPrefix()
- Returns:
- The repository name prefix to use when caching images from the source registry. Use `ROOT` as the prefix to apply a template to all repositories in your registry that don't have an associated pull through cache rule.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
upstreamRegistryUrl
public com.pulumi.core.Output<java.lang.String> upstreamRegistryUrl()
- Returns:
- The registry URL of the upstream registry to use as the source.
-
upstreamRepositoryPrefix
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> upstreamRepositoryPrefix()
- Returns:
- The upstream repository prefix associated with the pull through cache rule. Used if the upstream registry is an ECR private registry. If not specified, it's set to `ROOT`, which allows matching with any upstream repository. See [AWS Document - Customizing repository prefixes for ECR to ECR pull through cache](https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache-private-wildcards.html).
-
builder
public static PullThroughCacheRuleArgs.Builder builder()
-
builder
public static PullThroughCacheRuleArgs.Builder builder(PullThroughCacheRuleArgs defaults)
-
-