Class: Aws::CodeArtifact::Types::AssociatedPackage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb

Overview

A package associated with a package group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#association_typeString

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.

Returns:

  • (String)


156
157
158
159
160
161
162
163
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 156

class AssociatedPackage < Struct.new(
  :format,
  :namespace,
  :package,
  :association_type)
  SENSITIVE = []
  include Aws::Structure
end

#formatString

A format that specifies the type of the associated package.

Returns:

  • (String)


156
157
158
159
160
161
162
163
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 156

class AssociatedPackage < Struct.new(
  :format,
  :namespace,
  :package,
  :association_type)
  SENSITIVE = []
  include Aws::Structure
end

#namespaceString

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.

Returns:

  • (String)


156
157
158
159
160
161
162
163
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 156

class AssociatedPackage < Struct.new(
  :format,
  :namespace,
  :package,
  :association_type)
  SENSITIVE = []
  include Aws::Structure
end

#packageString

The name of the associated package.

Returns:

  • (String)


156
157
158
159
160
161
162
163
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 156

class AssociatedPackage < Struct.new(
  :format,
  :namespace,
  :package,
  :association_type)
  SENSITIVE = []
  include Aws::Structure
end