Show / Hide Table of Contents

Class CfnConnector

A CloudFormation AWS::KafkaConnect::Connector.

Inheritance
System.Object
Construct
CfnElement
CfnRefElement
CfnResource
CfnConnector
Implements
IConstruct
Constructs.IConstruct
IDependable
IInspectable
Inherited Members
CfnResource.IsCfnResource(IConstruct)
CfnResource.AddDeletionOverride(String)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(String, Object)
CfnResource.AddOverride(String, Object)
CfnResource.AddPropertyDeletionOverride(String)
CfnResource.AddPropertyOverride(String, Object)
CfnResource.ApplyRemovalPolicy(Nullable<RemovalPolicy>, IRemovalPolicyOptions)
CfnResource.GetAtt(String)
CfnResource.GetMetadata(String)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(Object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnRefElement.Ref
CfnElement.IsCfnElement(Object)
CfnElement.OverrideLogicalId(String)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
Namespace: Amazon.CDK.AWS.KafkaConnect
Assembly: Amazon.CDK.AWS.KafkaConnect.dll
Syntax (csharp)
public class CfnConnector : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnConnector
    Inherits CfnResource
    Implements IConstruct, IDependable, IInspectable
Remarks

Creates a connector using the specified properties.

CloudformationResource: AWS::KafkaConnect::Connector

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.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.KafkaConnect;

var cfnConnector = new CfnConnector(this, "MyCfnConnector", new CfnConnectorProps {
    Capacity = new CapacityProperty {
        AutoScaling = new AutoScalingProperty {
            MaxWorkerCount = 123,
            McuCount = 123,
            MinWorkerCount = 123,
            ScaleInPolicy = new ScaleInPolicyProperty {
                CpuUtilizationPercentage = 123
            },
            ScaleOutPolicy = new ScaleOutPolicyProperty {
                CpuUtilizationPercentage = 123
            }
        },
        ProvisionedCapacity = new ProvisionedCapacityProperty {
            WorkerCount = 123,

            // the properties below are optional
            McuCount = 123
        }
    },
    ConnectorConfiguration = new Dictionary<string, string> {
        { "connectorConfigurationKey", "connectorConfiguration" }
    },
    ConnectorName = "connectorName",
    KafkaCluster = new KafkaClusterProperty {
        ApacheKafkaCluster = new ApacheKafkaClusterProperty {
            BootstrapServers = "bootstrapServers",
            Vpc = new VpcProperty {
                SecurityGroups = new [] { "securityGroups" },
                Subnets = new [] { "subnets" }
            }
        }
    },
    KafkaClusterClientAuthentication = new KafkaClusterClientAuthenticationProperty {
        AuthenticationType = "authenticationType"
    },
    KafkaClusterEncryptionInTransit = new KafkaClusterEncryptionInTransitProperty {
        EncryptionType = "encryptionType"
    },
    KafkaConnectVersion = "kafkaConnectVersion",
    Plugins = new [] { new PluginProperty {
        CustomPlugin = new CustomPluginProperty {
            CustomPluginArn = "customPluginArn",
            Revision = 123
        }
    } },
    ServiceExecutionRoleArn = "serviceExecutionRoleArn",

    // the properties below are optional
    ConnectorDescription = "connectorDescription",
    LogDelivery = new LogDeliveryProperty {
        WorkerLogDelivery = new WorkerLogDeliveryProperty {
            CloudWatchLogs = new CloudWatchLogsLogDeliveryProperty {
                Enabled = false,

                // the properties below are optional
                LogGroup = "logGroup"
            },
            Firehose = new FirehoseLogDeliveryProperty {
                Enabled = false,

                // the properties below are optional
                DeliveryStream = "deliveryStream"
            },
            S3 = new S3LogDeliveryProperty {
                Enabled = false,

                // the properties below are optional
                Bucket = "bucket",
                Prefix = "prefix"
            }
        }
    },
    WorkerConfiguration = new WorkerConfigurationProperty {
        Revision = 123,
        WorkerConfigurationArn = "workerConfigurationArn"
    }
});

Synopsis

Constructors

CfnConnector(Construct, String, ICfnConnectorProps)

Create a new AWS::KafkaConnect::Connector.

CfnConnector(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

CfnConnector(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

Properties

AttrConnectorArn

The Amazon Resource Name (ARN) of the newly created connector.

Capacity

The connector's compute capacity settings.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties
ConnectorConfiguration

The configuration of the connector.

ConnectorDescription

The description of the connector.

ConnectorName

The name of the connector.

KafkaCluster

The details of the Apache Kafka cluster to which the connector is connected.

KafkaClusterClientAuthentication

The type of client authentication used to connect to the Apache Kafka cluster.

KafkaClusterEncryptionInTransit

Details of encryption in transit to the Apache Kafka cluster.

KafkaConnectVersion

The version of Kafka Connect.

LogDelivery

The settings for delivering connector logs to Amazon CloudWatch Logs.

Plugins

Specifies which plugin to use for the connector.

ServiceExecutionRoleArn

The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.

WorkerConfiguration

The worker configurations that are in use with the connector.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<String, Object>)

Constructors

CfnConnector(Construct, String, ICfnConnectorProps)

Create a new AWS::KafkaConnect::Connector.

public CfnConnector(Construct scope, string id, ICfnConnectorProps props)
Parameters
scope Construct
  • scope in which this resource is defined.
id System.String
  • scoped id of the resource.
props ICfnConnectorProps
  • resource properties.

CfnConnector(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected CfnConnector(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

CfnConnector(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected CfnConnector(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

Properties

AttrConnectorArn

The Amazon Resource Name (ARN) of the newly created connector.

public virtual string AttrConnectorArn { get; }
Property Value

System.String

Remarks

CloudformationAttribute: ConnectorArn

Capacity

The connector's compute capacity settings.

public virtual object Capacity { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-capacity

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
CfnResource.CfnProperties

ConnectorConfiguration

The configuration of the connector.

public virtual object ConnectorConfiguration { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-connectorconfiguration

ConnectorDescription

The description of the connector.

public virtual string ConnectorDescription { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-connectordescription

ConnectorName

The name of the connector.

public virtual string ConnectorName { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-connectorname

KafkaCluster

The details of the Apache Kafka cluster to which the connector is connected.

public virtual object KafkaCluster { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-kafkacluster

KafkaClusterClientAuthentication

The type of client authentication used to connect to the Apache Kafka cluster.

public virtual object KafkaClusterClientAuthentication { get; set; }
Property Value

System.Object

Remarks

The value is NONE when no client authentication is used.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-kafkaclusterclientauthentication

KafkaClusterEncryptionInTransit

Details of encryption in transit to the Apache Kafka cluster.

public virtual object KafkaClusterEncryptionInTransit { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-kafkaclusterencryptionintransit

KafkaConnectVersion

The version of Kafka Connect.

public virtual string KafkaConnectVersion { get; set; }
Property Value

System.String

Remarks

It has to be compatible with both the Apache Kafka cluster's version and the plugins.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-kafkaconnectversion

LogDelivery

The settings for delivering connector logs to Amazon CloudWatch Logs.

public virtual object LogDelivery { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-logdelivery

Plugins

Specifies which plugin to use for the connector.

public virtual object Plugins { get; set; }
Property Value

System.Object

Remarks

You must specify a single-element list. Amazon MSK Connect does not currently support specifying multiple plugins.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-plugins

ServiceExecutionRoleArn

The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.

public virtual string ServiceExecutionRoleArn { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-serviceexecutionrolearn

WorkerConfiguration

The worker configurations that are in use with the connector.

public virtual object WorkerConfiguration { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-workerconfiguration

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>

Overrides
CfnResource.RenderProperties(IDictionary<String, Object>)

Implements

IConstruct
Constructs.IConstruct
IDependable
IInspectable
Back to top Generated by DocFX