Class: Aws::ECR::Types::UpdatePullThroughCacheRuleRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#credential_arn ⇒ String

The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry. You can't use this parameter with the Amazon ECR Public Premium upstream registry.

Returns:

  • (String)


5752
5753
5754
5755
5756
5757
5758
5759
5760
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 5752

class UpdatePullThroughCacheRuleRequest < Struct.new(
  :registry_id,
  :ecr_repository_prefix,
  :credential_arn,
  :custom_role_arn,
  :upstream_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#custom_role_arn ⇒ String

The Amazon Resource Name (ARN) of the IAM role that Amazon ECR assumes to authenticate to the upstream registry. This role must be in the same account as the registry that you are configuring.

For an Amazon ECR Public Premium upstream registry, specify this role together with upstreamRoleArn. If you specify neither role, Amazon ECR uses its service-linked role.

Returns:

  • (String)


5752
5753
5754
5755
5756
5757
5758
5759
5760
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 5752

class UpdatePullThroughCacheRuleRequest < Struct.new(
  :registry_id,
  :ecr_repository_prefix,
  :credential_arn,
  :custom_role_arn,
  :upstream_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#ecr_repository_prefix ⇒ String

The repository name prefix to use when caching images from the source registry.

Returns:

  • (String)


5752
5753
5754
5755
5756
5757
5758
5759
5760
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 5752

class UpdatePullThroughCacheRuleRequest < Struct.new(
  :registry_id,
  :ecr_repository_prefix,
  :credential_arn,
  :custom_role_arn,
  :upstream_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#registry_id ⇒ String

The Amazon Web Services account ID associated with the registry associated with the pull through cache rule. If you do not specify a registry, the default registry is assumed.

Returns:

  • (String)


5752
5753
5754
5755
5756
5757
5758
5759
5760
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 5752

class UpdatePullThroughCacheRuleRequest < Struct.new(
  :registry_id,
  :ecr_repository_prefix,
  :credential_arn,
  :custom_role_arn,
  :upstream_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#upstream_role_arn ⇒ String

The Amazon Resource Name (ARN) of the IAM role in the aws partition that Amazon ECR assumes through customRoleArn to authenticate to the Amazon ECR Public Premium upstream registry. You can use this parameter only for the Amazon ECR Public Premium upstream registry, and it requires customRoleArn. If you omit both customRoleArn and upstreamRoleArn, Amazon ECR uses its service-linked role.

Returns:

  • (String)


5752
5753
5754
5755
5756
5757
5758
5759
5760
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 5752

class UpdatePullThroughCacheRuleRequest < Struct.new(
  :registry_id,
  :ecr_repository_prefix,
  :credential_arn,
  :custom_role_arn,
  :upstream_role_arn)
  SENSITIVE = []
  include Aws::Structure
end