Creates a package group¶
Description¶
Creates a package group. For more information about creating package groups, including example CLI commands, see Create a package group in the CodeArtifact User Guide.
Usage¶
codeartifact_create_package_group(domain, domainOwner, packageGroup,
contactInfo, description, tags)
Arguments¶
-
domain[required] The name of the domain in which you want to create a package group.
-
domainOwnerThe 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
-
packageGroup[required] The pattern of the package group to create. The pattern is also the identifier of the package group.
-
contactInfoThe contact information for the created package group.
-
descriptionA description of the package group.
-
tagsOne or more tag key-value pairs for the package group.
Value¶
A list with the following syntax:
list(
packageGroup = list(
arn = "string",
pattern = "string",
domainName = "string",
domainOwner = "string",
createdTime = as.POSIXct(
"2015-01-01"
),
contactInfo = "string",
description = "string",
originConfiguration = list(
restrictions = list(
list(
mode = "ALLOW"|"ALLOW_SPECIFIC_REPOSITORIES"|"BLOCK"|"INHERIT",
effectiveMode = "ALLOW"|"ALLOW_SPECIFIC_REPOSITORIES"|"BLOCK"|"INHERIT",
inheritedFrom = list(
arn = "string",
pattern = "string"
),
repositoriesCount = 123
)
)
),
parent = list(
arn = "string",
pattern = "string"
)
)
)