PullThroughCacheRuleState class
Input properties used for looking up and filtering PullThroughCacheRule resources.
Constructors
-
PullThroughCacheRuleState({Input<
String?> ? credentialArn, Input<String?> ? customRoleArn, Input<String?> ? ecrRepositoryPrefix, Input<String?> ? region, Input<String?> ? registryId, Input<String?> ? upstreamRegistryUrl, Input<String?> ? upstreamRepositoryPrefix}) -
Creates a new PullThroughCacheRuleState.
credentialArnARN of the Secret which will be used to authenticate against the registry.customRoleArnThe 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.ecrRepositoryPrefixThe repository name prefix to use when caching images from the source registry. UseROOTas the prefix to apply a template to all repositories in your registry that don't have an associated pull through cache rule.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.registryIdThe registry ID where the repository was created.upstreamRegistryUrlThe registry URL of the upstream registry to use as the source.upstreamRepositoryPrefixThe 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 toROOT, which allows matching with any upstream repository. See AWS Document - Customizing repository prefixes for ECR to ECR pull through cache.const -
PullThroughCacheRuleState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
credentialArn
→ Input<
String?> ? -
ARN of the Secret which will be used to authenticate against the registry.
final
-
customRoleArn
→ Input<
String?> ? -
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.
final
-
ecrRepositoryPrefix
→ Input<
String?> ? -
The repository name prefix to use when caching images from the source registry. Use
ROOTas the prefix to apply a template to all repositories in your registry that don't have an associated pull through cache rule.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
registryId
→ Input<
String?> ? -
The registry ID where the repository was created.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
upstreamRegistryUrl
→ Input<
String?> ? -
The registry URL of the upstream registry to use as the source.
final
-
upstreamRepositoryPrefix
→ Input<
String?> ? -
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.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited