RepositoryPermissionsPolicyArgs constructor

const RepositoryPermissionsPolicyArgs({
  1. required Input<String> domain,
  2. Input<String?>? domainOwner,
  3. required Input<String> policyDocument,
  4. Input<String?>? policyRevision,
  5. Input<String?>? region,
  6. required Input<String> repository,
})

Creates a new RepositoryPermissionsPolicyArgs. domain The name of the domain on which to set the resource policy. domainOwner The account number of the AWS account that owns the domain. policyDocument A JSON policy string to be set as the access control resource policy on the provided domain. policyRevision 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. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. repository The name of the repository to set the resource policy on.

Implementation

const RepositoryPermissionsPolicyArgs({
  required this.domain,
  this.domainOwner,
  required this.policyDocument,
  this.policyRevision,
  this.region,
  required this.repository,
});