Class CfnPackageGroupProps
Properties for defining a CfnPackageGroup
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodeArtifact
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPackageGroupProps : Object, ICfnPackageGroupProps
Syntax (vb)
Public Class CfnPackageGroupProps
Inherits Object
Implements ICfnPackageGroupProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeArtifact;
var cfnPackageGroupProps = new CfnPackageGroupProps {
DomainName = "domainName",
Pattern = "pattern",
// the properties below are optional
ContactInfo = "contactInfo",
Description = "description",
DomainOwner = "domainOwner",
OriginConfiguration = new OriginConfigurationProperty {
Restrictions = new RestrictionsProperty {
ExternalUpstream = new RestrictionTypeProperty {
RestrictionMode = "restrictionMode",
// the properties below are optional
Repositories = new [] { "repositories" }
},
InternalUpstream = new RestrictionTypeProperty {
RestrictionMode = "restrictionMode",
// the properties below are optional
Repositories = new [] { "repositories" }
},
Publish = new RestrictionTypeProperty {
RestrictionMode = "restrictionMode",
// the properties below are optional
Repositories = new [] { "repositories" }
}
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnPackageGroupProps() |
Properties
ContactInfo | The contact information of the package group. |
Description | The description of the package group. |
DomainName | The domain that contains the package group. |
DomainOwner | The 12-digit account number of the AWS account that owns the domain. |
OriginConfiguration | Details about the package origin configuration of a package group. |
Pattern | The pattern of the package group. |
Tags | A list of tags to be applied to the package group. |
Constructors
CfnPackageGroupProps()
public CfnPackageGroupProps()
Properties
ContactInfo
The contact information of the package group.
public string ContactInfo { get; set; }
Property Value
System.String
Remarks
Description
The description of the package group.
public string Description { get; set; }
Property Value
System.String
Remarks
DomainName
The domain that contains the package group.
public string DomainName { get; set; }
Property Value
System.String
Remarks
DomainOwner
The 12-digit account number of the AWS account that owns the domain.
public string DomainOwner { get; set; }
Property Value
System.String
Remarks
It does not include dashes or spaces.
OriginConfiguration
Details about the package origin configuration of a package group.
public object OriginConfiguration { get; set; }
Property Value
System.Object
Remarks
Pattern
The pattern of the package group.
public string Pattern { get; set; }
Property Value
System.String
Remarks
The pattern determines which packages are associated with the package group.
Tags
A list of tags to be applied to the package group.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]