SetRepositoryPolicyRequest
public struct SetRepositoryPolicyRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
If the policy you are attempting to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental repository lock outs.
Declaration
Swift
public let force: Bool?
-
The JSON repository policy text to apply to the repository. For more information, see Amazon ECR Repository Policies in the Amazon Elastic Container Registry User Guide.
Declaration
Swift
public let policyText: String
-
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
Declaration
Swift
public let registryId: String?
-
The name of the repository to receive the policy.
Declaration
Swift
public let repositoryName: String
-
Undocumented
Declaration
Swift
public init(force: Bool? = nil, policyText: String, registryId: String? = nil, repositoryName: String)
-
Declaration
Swift
public func validate(name: String) throws