AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

A package associated with a package group.

Inheritance Hierarchy

System.Object
  Amazon.CodeArtifact.Model.AssociatedPackage

Namespace: Amazon.CodeArtifact.Model
Assembly: AWSSDK.CodeArtifact.dll
Version: 3.x.y.z

Syntax

C#
public class AssociatedPackage

The AssociatedPackage type exposes the following members

Constructors

NameDescription
Public Method AssociatedPackage()

Properties

NameTypeDescription
Public Property AssociationType Amazon.CodeArtifact.PackageGroupAssociationType

Gets and sets the property AssociationType.

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.

Public Property Format Amazon.CodeArtifact.PackageFormat

Gets and sets the property Format.

A format that specifies the type of the associated package.

Public Property Namespace System.String

Gets and sets the property Namespace.

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, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

Public Property Package System.String

Gets and sets the property Package.

The name of the associated package.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5