Class CfnDomainProps
Properties for defining a CfnDomain
.
Inheritance
System.Object
CfnDomainProps
Implements
Namespace: Amazon.CDK.AWS.CodeArtifact
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDomainProps : Object, ICfnDomainProps
Syntax (vb)
Public Class CfnDomainProps
Inherits Object
Implements ICfnDomainProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.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 permissionsPolicyDocument;
var cfnDomainProps = new CfnDomainProps {
DomainName = "domainName",
// the properties below are optional
EncryptionKey = "encryptionKey",
PermissionsPolicyDocument = permissionsPolicyDocument,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnDomainProps() |
Properties
DomainName | A string that specifies the name of the requested domain. |
EncryptionKey | The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain. |
PermissionsPolicyDocument | The document that defines the resource policy that is set on a domain. |
Tags | A list of tags to be applied to the domain. |
Constructors
CfnDomainProps()
public CfnDomainProps()
Properties
DomainName
A string that specifies the name of the requested domain.
public string DomainName { get; set; }
Property Value
System.String
Remarks
EncryptionKey
The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain.
public string EncryptionKey { get; set; }
Property Value
System.String
Remarks
PermissionsPolicyDocument
The document that defines the resource policy that is set on a domain.
public object PermissionsPolicyDocument { get; set; }
Property Value
System.Object
Remarks
Tags
A list of tags to be applied to the domain.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]