Class CfnConnection
The AWS::Glue::Connection
resource specifies an AWS Glue connection to a data source.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnConnection : CfnResource, IInspectable
Syntax (vb)
Public Class CfnConnection
Inherits CfnResource
Implements IInspectable
Remarks
For more information, see Adding a Connection to Your Data Store and Connection Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-connection.html
CloudformationResource: AWS::Glue::Connection
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.Glue;
var connectionProperties;
var cfnConnection = new CfnConnection(this, "MyCfnConnection", new CfnConnectionProps {
CatalogId = "catalogId",
ConnectionInput = new ConnectionInputProperty {
ConnectionType = "connectionType",
// the properties below are optional
ConnectionProperties = connectionProperties,
Description = "description",
MatchCriteria = new [] { "matchCriteria" },
Name = "name",
PhysicalConnectionRequirements = new PhysicalConnectionRequirementsProperty {
AvailabilityZone = "availabilityZone",
SecurityGroupIdList = new [] { "securityGroupIdList" },
SubnetId = "subnetId"
}
}
});
Synopsis
Constructors
CfnConnection(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnConnection(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnConnection(Construct, String, ICfnConnectionProps) |
Properties
AttrId | |
CatalogId | The ID of the data catalog to create the catalog object in. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ConnectionInput | The connection that you want to create. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnConnection(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnConnection(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnConnection(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnConnection(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnConnection(Construct, String, ICfnConnectionProps)
public CfnConnection(Construct scope, string id, ICfnConnectionProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnConnectionProps
Resource properties.
Properties
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
CatalogId
The ID of the data catalog to create the catalog object in.
public virtual string CatalogId { get; set; }
Property Value
System.String
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ConnectionInput
The connection that you want to create.
public virtual object ConnectionInput { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>