1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. codeartifact
  5. PackageGroup

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.codeartifact.PackageGroup

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    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:

    DomainName string
    The name of the domain that contains the package group.
    Pattern string
    The package group pattern that is used to gather packages.
    ContactInfo string
    The contact info of the package group.
    Description string
    The text description of the package group.
    DomainOwner string
    The 12-digit account ID of the AWS account that owns the domain.
    OriginConfiguration Pulumi.AwsNative.CodeArtifact.Inputs.PackageGroupOriginConfiguration
    The package origin configuration of the package group.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs to apply to the package group.
    DomainName string
    The name of the domain that contains the package group.
    Pattern string
    The package group pattern that is used to gather packages.
    ContactInfo string
    The contact info of the package group.
    Description string
    The text description of the package group.
    DomainOwner string
    The 12-digit account ID of the AWS account that owns the domain.
    OriginConfiguration PackageGroupOriginConfigurationArgs
    The package origin configuration of the package group.
    Tags TagArgs
    An array of key-value pairs to apply to the package group.
    domainName String
    The name of the domain that contains the package group.
    pattern String
    The package group pattern that is used to gather packages.
    contactInfo String
    The contact info of the package group.
    description String
    The text description of the package group.
    domainOwner String
    The 12-digit account ID of the AWS account that owns the domain.
    originConfiguration PackageGroupOriginConfiguration
    The package origin configuration of the package group.
    tags List<Tag>
    An array of key-value pairs to apply to the package group.
    domainName string
    The name of the domain that contains the package group.
    pattern string
    The package group pattern that is used to gather packages.
    contactInfo string
    The contact info of the package group.
    description string
    The text description of the package group.
    domainOwner string
    The 12-digit account ID of the AWS account that owns the domain.
    originConfiguration PackageGroupOriginConfiguration
    The package origin configuration of the package group.
    tags 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 PackageGroupOriginConfigurationArgs
    The package origin configuration of the package group.
    tags Sequence[TagArgs]
    An array of key-value pairs to apply to the package group.
    domainName String
    The name of the domain that contains the package group.
    pattern String
    The package group pattern that is used to gather packages.
    contactInfo String
    The contact info of the package group.
    description String
    The text description of the package group.
    domainOwner String
    The 12-digit account ID of the AWS account that owns the domain.
    originConfiguration Property Map
    The package origin configuration of the package group.
    tags 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:

    Arn string
    The ARN of the package group.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The ARN of the package group.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the package group.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The ARN of the package group.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The ARN of the package group.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the package group.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    PackageGroupOriginConfiguration, PackageGroupOriginConfigurationArgs

    Restrictions Pulumi.AwsNative.CodeArtifact.Inputs.PackageGroupRestrictions
    The origin configuration that is applied to the package group.
    Restrictions PackageGroupRestrictions
    The origin configuration that is applied to the package group.
    restrictions PackageGroupRestrictions
    The origin configuration that is applied to the package group.
    restrictions PackageGroupRestrictions
    The origin configuration that is applied to the package group.
    restrictions PackageGroupRestrictions
    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

    RestrictionMode Pulumi.AwsNative.CodeArtifact.PackageGroupRestrictionTypeRestrictionMode
    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 of INHERIT .
    Repositories List<string>
    The repositories to add to the allowed repositories list. The allowed repositories list is used when the RestrictionMode is set to ALLOW_SPECIFIC_REPOSITORIES .
    RestrictionMode PackageGroupRestrictionTypeRestrictionMode
    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 of INHERIT .
    Repositories []string
    The repositories to add to the allowed repositories list. The allowed repositories list is used when the RestrictionMode is set to ALLOW_SPECIFIC_REPOSITORIES .
    restrictionMode PackageGroupRestrictionTypeRestrictionMode
    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 of INHERIT .
    repositories List<String>
    The repositories to add to the allowed repositories list. The allowed repositories list is used when the RestrictionMode is set to ALLOW_SPECIFIC_REPOSITORIES .
    restrictionMode PackageGroupRestrictionTypeRestrictionMode
    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 of INHERIT .
    repositories string[]
    The repositories to add to the allowed repositories list. The allowed repositories list is used when the RestrictionMode is set to ALLOW_SPECIFIC_REPOSITORIES .
    restriction_mode PackageGroupRestrictionTypeRestrictionMode
    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 of INHERIT .
    repositories Sequence[str]
    The repositories to add to the allowed repositories list. The allowed repositories list is used when the RestrictionMode is set to ALLOW_SPECIFIC_REPOSITORIES .
    restrictionMode "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 of INHERIT .
    repositories List<String>
    The repositories to add to the allowed repositories list. The allowed repositories list is used when the RestrictionMode is set to ALLOW_SPECIFIC_REPOSITORIES .

    PackageGroupRestrictionTypeRestrictionMode, PackageGroupRestrictionTypeRestrictionModeArgs

    Allow
    ALLOW
    Block
    BLOCK
    AllowSpecificRepositories
    ALLOW_SPECIFIC_REPOSITORIES
    Inherit
    INHERIT
    PackageGroupRestrictionTypeRestrictionModeAllow
    ALLOW
    PackageGroupRestrictionTypeRestrictionModeBlock
    BLOCK
    PackageGroupRestrictionTypeRestrictionModeAllowSpecificRepositories
    ALLOW_SPECIFIC_REPOSITORIES
    PackageGroupRestrictionTypeRestrictionModeInherit
    INHERIT
    Allow
    ALLOW
    Block
    BLOCK
    AllowSpecificRepositories
    ALLOW_SPECIFIC_REPOSITORIES
    Inherit
    INHERIT
    Allow
    ALLOW
    Block
    BLOCK
    AllowSpecificRepositories
    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

    ExternalUpstream Pulumi.AwsNative.CodeArtifact.Inputs.PackageGroupRestrictionType
    The external upstream restriction determines if new package versions can be ingested or retained from external connections.
    InternalUpstream Pulumi.AwsNative.CodeArtifact.Inputs.PackageGroupRestrictionType
    The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories.
    Publish Pulumi.AwsNative.CodeArtifact.Inputs.PackageGroupRestrictionType
    The publish restriction determines if new package versions can be published.
    ExternalUpstream PackageGroupRestrictionType
    The external upstream restriction determines if new package versions can be ingested or retained from external connections.
    InternalUpstream PackageGroupRestrictionType
    The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories.
    Publish PackageGroupRestrictionType
    The publish restriction determines if new package versions can be published.
    externalUpstream PackageGroupRestrictionType
    The external upstream restriction determines if new package versions can be ingested or retained from external connections.
    internalUpstream PackageGroupRestrictionType
    The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories.
    publish PackageGroupRestrictionType
    The publish restriction determines if new package versions can be published.
    externalUpstream PackageGroupRestrictionType
    The external upstream restriction determines if new package versions can be ingested or retained from external connections.
    internalUpstream PackageGroupRestrictionType
    The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories.
    publish PackageGroupRestrictionType
    The publish restriction determines if new package versions can be published.
    external_upstream PackageGroupRestrictionType
    The external upstream restriction determines if new package versions can be ingested or retained from external connections.
    internal_upstream PackageGroupRestrictionType
    The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories.
    publish PackageGroupRestrictionType
    The publish restriction determines if new package versions can be published.
    externalUpstream Property Map
    The external upstream restriction determines if new package versions can be ingested or retained from external connections.
    internalUpstream 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

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi