Get Domain Permissions Policy
codeartifact_get_domain_permissions_policy | R Documentation |
Returns the resource policy attached to the specified domain¶
Description¶
Returns the resource policy attached to the specified domain.
The policy is a resource-based policy, not an identity-based policy. For more information, see Identity-based policies and resource-based policies in the IAM User Guide.
Usage¶
codeartifact_get_domain_permissions_policy(domain, domainOwner)
Arguments¶
domain |
[required] The name of the domain to which the resource policy is attached. |
domainOwner |
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. |
Value¶
A list with the following syntax:
list(
policy = list(
resourceArn = "string",
revision = "string",
document = "string"
)
)
Request syntax¶
svc$get_domain_permissions_policy(
domain = "string",
domainOwner = "string"
)