Class: Aws::CodeArtifact::Types::PutDomainPermissionsPolicyRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codeartifact/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domainString

The name of the domain on which to set the resource policy.

Returns:

  • (String)


3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-codeartifact/types.rb', line 3632

class PutDomainPermissionsPolicyRequest < Struct.new(
  :domain,
  :domain_owner,
  :policy_revision,
  :policy_document)
  SENSITIVE = []
  include Aws::Structure
end

#domain_ownerString

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

Returns:

  • (String)


3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-codeartifact/types.rb', line 3632

class PutDomainPermissionsPolicyRequest < Struct.new(
  :domain,
  :domain_owner,
  :policy_revision,
  :policy_document)
  SENSITIVE = []
  include Aws::Structure
end

#policy_documentString

A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.

Returns:

  • (String)


3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-codeartifact/types.rb', line 3632

class PutDomainPermissionsPolicyRequest < Struct.new(
  :domain,
  :domain_owner,
  :policy_revision,
  :policy_document)
  SENSITIVE = []
  include Aws::Structure
end

#policy_revisionString

The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain’s resource policy.

Returns:

  • (String)


3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-codeartifact/types.rb', line 3632

class PutDomainPermissionsPolicyRequest < Struct.new(
  :domain,
  :domain_owner,
  :policy_revision,
  :policy_document)
  SENSITIVE = []
  include Aws::Structure
end