Class CfnConnectionProps
Properties for defining a CfnConnection
.
Inheritance
System.Object
CfnConnectionProps
Implements
Namespace: Amazon.CDK.AWS.CodeStarConnections
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnConnectionProps : Object, ICfnConnectionProps
Syntax (vb)
Public Class CfnConnectionProps
Inherits Object
Implements ICfnConnectionProps
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.CodeStarConnections;
var cfnConnectionProps = new CfnConnectionProps {
ConnectionName = "connectionName",
// the properties below are optional
HostArn = "hostArn",
ProviderType = "providerType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnConnectionProps() |
Properties
ConnectionName | The name of the connection. |
HostArn | The Amazon Resource Name (ARN) of the host associated with the connection. |
ProviderType | The name of the external provider where your third-party code repository is configured. |
Tags | Specifies the tags applied to the resource. |
Constructors
CfnConnectionProps()
public CfnConnectionProps()
Properties
ConnectionName
The name of the connection.
public string ConnectionName { get; set; }
Property Value
System.String
Remarks
Connection names must be unique in an AWS account .
HostArn
The Amazon Resource Name (ARN) of the host associated with the connection.
public string HostArn { get; set; }
Property Value
System.String
Remarks
ProviderType
The name of the external provider where your third-party code repository is configured.
public string ProviderType { get; set; }
Property Value
System.String
Remarks
Tags
Specifies the tags applied to the resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]