Class CfnConnector
Creates a connector using the specified properties.
Inherited Members
Namespace: Amazon.CDK.AWS.KafkaConnect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnConnector : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnConnector Inherits CfnResource Implements IInspectable, ITaggableV2
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
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"
}
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
WorkerConfiguration = new WorkerConfigurationProperty {
Revision = 123,
WorkerConfigurationArn = "workerConfigurationArn"
}
});
Synopsis
Constructors
CfnConnector(Construct, string, ICfnConnectorProps) | Creates a connector using the specified properties. |
Properties
AttrConnectorArn | The Amazon Resource Name (ARN) of the newly created connector. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
Capacity | The connector's compute capacity settings. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CfnProperties | Creates a connector using the specified properties. |
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. |
Tags | A collection of tags associated with a resource. |
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>) | Creates a connector using the specified properties. |
Constructors
CfnConnector(Construct, string, ICfnConnectorProps)
Creates a connector using the specified properties.
public CfnConnector(Construct scope, string id, ICfnConnectorProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnConnectorProps
Resource properties.
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
Properties
AttrConnectorArn
The Amazon Resource Name (ARN) of the newly created connector.
public virtual string AttrConnectorArn { get; }
Property Value
Remarks
CloudformationAttribute: ConnectorArn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
Capacity
The connector's compute capacity settings.
public virtual object Capacity { get; set; }
Property Value
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
CfnProperties
Creates a connector using the specified properties.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
ConnectorConfiguration
The configuration of the connector.
public virtual object ConnectorConfiguration { get; set; }
Property Value
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
ConnectorDescription
The description of the connector.
public virtual string? ConnectorDescription { get; set; }
Property Value
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
ConnectorName
The name of the connector.
public virtual string ConnectorName { get; set; }
Property Value
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
KafkaCluster
The details of the Apache Kafka cluster to which the connector is connected.
public virtual object KafkaCluster { get; set; }
Property Value
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
KafkaClusterClientAuthentication
The type of client authentication used to connect to the Apache Kafka cluster.
public virtual object KafkaClusterClientAuthentication { get; set; }
Property Value
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
KafkaClusterEncryptionInTransit
Details of encryption in transit to the Apache Kafka cluster.
public virtual object KafkaClusterEncryptionInTransit { get; set; }
Property Value
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
KafkaConnectVersion
The version of Kafka Connect.
public virtual string KafkaConnectVersion { get; set; }
Property Value
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
LogDelivery
The settings for delivering connector logs to Amazon CloudWatch Logs.
public virtual object? LogDelivery { get; set; }
Property Value
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
Plugins
Specifies which plugin to use for the connector.
public virtual object Plugins { get; set; }
Property Value
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
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
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
Tags
A collection of tags associated with a resource.
public virtual ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
WorkerConfiguration
The worker configurations that are in use with the connector.
public virtual object? WorkerConfiguration { get; set; }
Property Value
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
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.
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Creates a connector using the specified properties.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::KafkaConnect::Connector
ExampleMetadata: fixture=_generated