We recommend new projects start with resources from the AWS provider.
aws-native.codeartifact.PackageGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The resource schema to create a CodeArtifact package group.
Create PackageGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PackageGroup(name: string, args: PackageGroupArgs, opts?: CustomResourceOptions);
@overload
def PackageGroup(resource_name: str,
args: PackageGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PackageGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_name: Optional[str] = None,
pattern: Optional[str] = None,
contact_info: Optional[str] = None,
description: Optional[str] = None,
domain_owner: Optional[str] = None,
origin_configuration: Optional[PackageGroupOriginConfigurationArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewPackageGroup(ctx *Context, name string, args PackageGroupArgs, opts ...ResourceOption) (*PackageGroup, error)
public PackageGroup(string name, PackageGroupArgs args, CustomResourceOptions? opts = null)
public PackageGroup(String name, PackageGroupArgs args)
public PackageGroup(String name, PackageGroupArgs args, CustomResourceOptions options)
type: aws-native:codeartifact:PackageGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PackageGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PackageGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PackageGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PackageGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PackageGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PackageGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PackageGroup resource accepts the following input properties:
- Domain
Name string - The name of the domain that contains the package group.
- Pattern string
- The package group pattern that is used to gather packages.
- Contact
Info string - The contact info of the package group.
- Description string
- The text description of the package group.
- Domain
Owner string - The 12-digit account ID of the AWS account that owns the domain.
- Origin
Configuration Pulumi.Aws Native. Code Artifact. Inputs. Package Group Origin Configuration - The package origin configuration of the package group.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to the package group.
- Domain
Name string - The name of the domain that contains the package group.
- Pattern string
- The package group pattern that is used to gather packages.
- Contact
Info string - The contact info of the package group.
- Description string
- The text description of the package group.
- Domain
Owner string - The 12-digit account ID of the AWS account that owns the domain.
- Origin
Configuration PackageGroup Origin Configuration Args - The package origin configuration of the package group.
- Tag
Args - An array of key-value pairs to apply to the package group.
- domain
Name String - The name of the domain that contains the package group.
- pattern String
- The package group pattern that is used to gather packages.
- contact
Info String - The contact info of the package group.
- description String
- The text description of the package group.
- domain
Owner String - The 12-digit account ID of the AWS account that owns the domain.
- origin
Configuration PackageGroup Origin Configuration - The package origin configuration of the package group.
- List<Tag>
- An array of key-value pairs to apply to the package group.
- domain
Name string - The name of the domain that contains the package group.
- pattern string
- The package group pattern that is used to gather packages.
- contact
Info string - The contact info of the package group.
- description string
- The text description of the package group.
- domain
Owner string - The 12-digit account ID of the AWS account that owns the domain.
- origin
Configuration PackageGroup Origin Configuration - The package origin configuration of the package group.
- Tag[]
- An array of key-value pairs to apply to the package group.
- domain_
name str - The name of the domain that contains the package group.
- pattern str
- The package group pattern that is used to gather packages.
- contact_
info str - The contact info of the package group.
- description str
- The text description of the package group.
- domain_
owner str - The 12-digit account ID of the AWS account that owns the domain.
- origin_
configuration PackageGroup Origin Configuration Args - The package origin configuration of the package group.
- Sequence[Tag
Args] - An array of key-value pairs to apply to the package group.
- domain
Name String - The name of the domain that contains the package group.
- pattern String
- The package group pattern that is used to gather packages.
- contact
Info String - The contact info of the package group.
- description String
- The text description of the package group.
- domain
Owner String - The 12-digit account ID of the AWS account that owns the domain.
- origin
Configuration Property Map - The package origin configuration of the package group.
- List<Property Map>
- An array of key-value pairs to apply to the package group.
Outputs
All input properties are implicitly available as output properties. Additionally, the PackageGroup resource produces the following output properties:
Supporting Types
PackageGroupOriginConfiguration, PackageGroupOriginConfigurationArgs
- Restrictions
Pulumi.
Aws Native. Code Artifact. Inputs. Package Group Restrictions - The origin configuration that is applied to the package group.
- Restrictions
Package
Group Restrictions - The origin configuration that is applied to the package group.
- restrictions
Package
Group Restrictions - The origin configuration that is applied to the package group.
- restrictions
Package
Group Restrictions - The origin configuration that is applied to the package group.
- restrictions
Package
Group Restrictions - The origin configuration that is applied to the package group.
- restrictions Property Map
- The origin configuration that is applied to the package group.
PackageGroupRestrictionType, PackageGroupRestrictionTypeArgs
- Restriction
Mode Pulumi.Aws Native. Code Artifact. Package Group Restriction Type Restriction Mode - 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
. - Repositories List<string>
- The repositories to add to the allowed repositories list. The allowed repositories list is used when the
RestrictionMode
is set toALLOW_SPECIFIC_REPOSITORIES
.
- Restriction
Mode PackageGroup Restriction Type Restriction Mode - 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
. - Repositories []string
- The repositories to add to the allowed repositories list. The allowed repositories list is used when the
RestrictionMode
is set toALLOW_SPECIFIC_REPOSITORIES
.
- restriction
Mode PackageGroup Restriction Type Restriction Mode - 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
. - repositories List<String>
- The repositories to add to the allowed repositories list. The allowed repositories list is used when the
RestrictionMode
is set toALLOW_SPECIFIC_REPOSITORIES
.
- restriction
Mode PackageGroup Restriction Type Restriction Mode - 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
. - repositories string[]
- The repositories to add to the allowed repositories list. The allowed repositories list is used when the
RestrictionMode
is set toALLOW_SPECIFIC_REPOSITORIES
.
- restriction_
mode PackageGroup Restriction Type Restriction Mode - 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
. - repositories Sequence[str]
- The repositories to add to the allowed repositories list. The allowed repositories list is used when the
RestrictionMode
is set toALLOW_SPECIFIC_REPOSITORIES
.
- restriction
Mode "ALLOW" | "BLOCK" | "ALLOW_SPECIFIC_REPOSITORIES" | "INHERIT" - 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
. - repositories List<String>
- The repositories to add to the allowed repositories list. The allowed repositories list is used when the
RestrictionMode
is set toALLOW_SPECIFIC_REPOSITORIES
.
PackageGroupRestrictionTypeRestrictionMode, PackageGroupRestrictionTypeRestrictionModeArgs
- Allow
- ALLOW
- Block
- BLOCK
- Allow
Specific Repositories - ALLOW_SPECIFIC_REPOSITORIES
- Inherit
- INHERIT
- Package
Group Restriction Type Restriction Mode Allow - ALLOW
- Package
Group Restriction Type Restriction Mode Block - BLOCK
- Package
Group Restriction Type Restriction Mode Allow Specific Repositories - ALLOW_SPECIFIC_REPOSITORIES
- Package
Group Restriction Type Restriction Mode Inherit - INHERIT
- Allow
- ALLOW
- Block
- BLOCK
- Allow
Specific Repositories - ALLOW_SPECIFIC_REPOSITORIES
- Inherit
- INHERIT
- Allow
- ALLOW
- Block
- BLOCK
- Allow
Specific Repositories - ALLOW_SPECIFIC_REPOSITORIES
- Inherit
- INHERIT
- ALLOW
- ALLOW
- BLOCK
- BLOCK
- ALLOW_SPECIFIC_REPOSITORIES
- ALLOW_SPECIFIC_REPOSITORIES
- INHERIT
- INHERIT
- "ALLOW"
- ALLOW
- "BLOCK"
- BLOCK
- "ALLOW_SPECIFIC_REPOSITORIES"
- ALLOW_SPECIFIC_REPOSITORIES
- "INHERIT"
- INHERIT
PackageGroupRestrictions, PackageGroupRestrictionsArgs
- External
Upstream Pulumi.Aws Native. Code Artifact. Inputs. Package Group Restriction Type - The external upstream restriction determines if new package versions can be ingested or retained from external connections.
- Internal
Upstream Pulumi.Aws Native. Code Artifact. Inputs. Package Group Restriction Type - The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories.
- Publish
Pulumi.
Aws Native. Code Artifact. Inputs. Package Group Restriction Type - The publish restriction determines if new package versions can be published.
- External
Upstream PackageGroup Restriction Type - The external upstream restriction determines if new package versions can be ingested or retained from external connections.
- Internal
Upstream PackageGroup Restriction Type - The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories.
- Publish
Package
Group Restriction Type - The publish restriction determines if new package versions can be published.
- external
Upstream PackageGroup Restriction Type - The external upstream restriction determines if new package versions can be ingested or retained from external connections.
- internal
Upstream PackageGroup Restriction Type - The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories.
- publish
Package
Group Restriction Type - The publish restriction determines if new package versions can be published.
- external
Upstream PackageGroup Restriction Type - The external upstream restriction determines if new package versions can be ingested or retained from external connections.
- internal
Upstream PackageGroup Restriction Type - The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories.
- publish
Package
Group Restriction Type - The publish restriction determines if new package versions can be published.
- external_
upstream PackageGroup Restriction Type - The external upstream restriction determines if new package versions can be ingested or retained from external connections.
- internal_
upstream PackageGroup Restriction Type - The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories.
- publish
Package
Group Restriction Type - The publish restriction determines if new package versions can be published.
- external
Upstream Property Map - The external upstream restriction determines if new package versions can be ingested or retained from external connections.
- internal
Upstream Property Map - The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories.
- publish Property Map
- The publish restriction determines if new package versions can be published.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.