Show / Hide Table of Contents

Class CfnPackageGroup.OriginConfigurationProperty

Inheritance
object
CfnPackageGroup.OriginConfigurationProperty
Implements
CfnPackageGroup.IOriginConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CodeArtifact
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPackageGroup.OriginConfigurationProperty : CfnPackageGroup.IOriginConfigurationProperty
Syntax (vb)
Public Class CfnPackageGroup.OriginConfigurationProperty Implements CfnPackageGroup.IOriginConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-originconfiguration.html

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 originConfigurationProperty = 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" }
                     }
                 }
             };

Synopsis

Constructors

OriginConfigurationProperty()

Properties

Restrictions

Constructors

OriginConfigurationProperty()

public OriginConfigurationProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-originconfiguration.html

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 originConfigurationProperty = 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" }
                     }
                 }
             };

Properties

Restrictions

public object Restrictions { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-originconfiguration.html#cfn-codeartifact-packagegroup-originconfiguration-restrictions

Type union: either IResolvable or CfnPackageGroup.IRestrictionsProperty

Implements

CfnPackageGroup.IOriginConfigurationProperty
Back to top Generated by DocFX