CreateRepositoryRequest
public struct CreateRepositoryRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
Declaration
Swift
public let encryptionConfiguration: EncryptionConfiguration?
-
The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
Declaration
Swift
public let imageScanningConfiguration: ImageScanningConfiguration?
-
The tag mutability setting for the repository. If this parameter is omitted, the default setting of MUTABLE will be used which will allow image tags to be overwritten. If IMMUTABLE is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.
Declaration
Swift
public let imageTagMutability: ImageTagMutability?
-
The name to use for the repository. The repository name may be specified on its own (such as nginx-web-app) or it can be prepended with a namespace to group the repository into a category (such as project-a/nginx-web-app).
Declaration
Swift
public let repositoryName: String
-
The metadata that you apply to the repository to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
Declaration
Swift
public let tags: [Tag]?
-
Undocumented
Declaration
Swift
public init(encryptionConfiguration: EncryptionConfiguration? = nil, imageScanningConfiguration: ImageScanningConfiguration? = nil, imageTagMutability: ImageTagMutability? = nil, repositoryName: String, tags: [Tag]? = nil)
-
Declaration
Swift
public func validate(name: String) throws