Class: Aws::CodeArtifact::Types::AssociatedPackage
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::AssociatedPackage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
A package associated with a package group.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#association_type ⇒ String
Describes the strength of the association between the package and package group.
-
#format ⇒ String
A format that specifies the type of the associated package.
-
#namespace ⇒ String
The namespace of the associated package.
-
#package ⇒ String
The name of the associated package.
Instance Attribute Details
#association_type ⇒ String
Describes the strength of the association between the package and package group. A strong match can be thought of as an exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. For more information about package group pattern matching, including strong and weak matches, see [Package group definition syntax and matching behavior] in the *CodeArtifact User Guide*.
[1]: docs.aws.amazon.com/codeartifact/latest/ug/package-group-definition-syntax-matching-behavior.html
156 157 158 159 160 161 162 163 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 156 class AssociatedPackage < Struct.new( :format, :namespace, :package, :association_type) SENSITIVE = [] include Aws::Structure end |
#format ⇒ String
A format that specifies the type of the associated package.
156 157 158 159 160 161 162 163 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 156 class AssociatedPackage < Struct.new( :format, :namespace, :package, :association_type) SENSITIVE = [] include Aws::Structure end |
#namespace ⇒ String
The namespace of the associated package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its ‘groupId`.
-
The namespace of an npm or Swift package version is its ‘scope`.
-
The namespace of a generic package is its ‘namespace`.
-
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
156 157 158 159 160 161 162 163 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 156 class AssociatedPackage < Struct.new( :format, :namespace, :package, :association_type) SENSITIVE = [] include Aws::Structure end |
#package ⇒ String
The name of the associated package.
156 157 158 159 160 161 162 163 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 156 class AssociatedPackage < Struct.new( :format, :namespace, :package, :association_type) SENSITIVE = [] include Aws::Structure end |