AWS::CodeArtifact::PackageGroup RestrictionType
The RestrictionType
property type specifies the package group origin configuration restriction mode, and the repositories
when the RestrictionMode
is set to ALLOW_SPECIFIC_REPOSITORIES
.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Repositories" :
[ String, ... ]
, "RestrictionMode" :String
}
YAML
Repositories:
- String
RestrictionMode:String
Properties
Repositories
-
The repositories to add to the allowed repositories list. The allowed repositories list is used when the
RestrictionMode
is set toALLOW_SPECIFIC_REPOSITORIES
.Required: No
Type: Array of String
Update requires: No interruption
RestrictionMode
-
The package group origin restriction setting. When the value is
INHERIT
, the value is set to the value of the first parent package group which does not have a value ofINHERIT
.Required: Yes
Type: String
Allowed values:
ALLOW | BLOCK | ALLOW_SPECIFIC_REPOSITORIES | INHERIT
Update requires: No interruption