Class CfnConnector
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.kafkaconnect.CfnConnector
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:03.390Z")
@Stability(Stable)
public class CfnConnector
extends CfnResource
implements IInspectable, ITaggableV2
Creates a connector using the specified properties.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.kafkaconnect.*; CfnConnector cfnConnector = CfnConnector.Builder.create(this, "MyCfnConnector") .capacity(CapacityProperty.builder() .autoScaling(AutoScalingProperty.builder() .maxWorkerCount(123) .mcuCount(123) .minWorkerCount(123) .scaleInPolicy(ScaleInPolicyProperty.builder() .cpuUtilizationPercentage(123) .build()) .scaleOutPolicy(ScaleOutPolicyProperty.builder() .cpuUtilizationPercentage(123) .build()) .build()) .provisionedCapacity(ProvisionedCapacityProperty.builder() .workerCount(123) // the properties below are optional .mcuCount(123) .build()) .build()) .connectorConfiguration(Map.of( "connectorConfigurationKey", "connectorConfiguration")) .connectorName("connectorName") .kafkaCluster(KafkaClusterProperty.builder() .apacheKafkaCluster(ApacheKafkaClusterProperty.builder() .bootstrapServers("bootstrapServers") .vpc(VpcProperty.builder() .securityGroups(List.of("securityGroups")) .subnets(List.of("subnets")) .build()) .build()) .build()) .kafkaClusterClientAuthentication(KafkaClusterClientAuthenticationProperty.builder() .authenticationType("authenticationType") .build()) .kafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitProperty.builder() .encryptionType("encryptionType") .build()) .kafkaConnectVersion("kafkaConnectVersion") .plugins(List.of(PluginProperty.builder() .customPlugin(CustomPluginProperty.builder() .customPluginArn("customPluginArn") .revision(123) .build()) .build())) .serviceExecutionRoleArn("serviceExecutionRoleArn") // the properties below are optional .connectorDescription("connectorDescription") .logDelivery(LogDeliveryProperty.builder() .workerLogDelivery(WorkerLogDeliveryProperty.builder() .cloudWatchLogs(CloudWatchLogsLogDeliveryProperty.builder() .enabled(false) // the properties below are optional .logGroup("logGroup") .build()) .firehose(FirehoseLogDeliveryProperty.builder() .enabled(false) // the properties below are optional .deliveryStream("deliveryStream") .build()) .s3(S3LogDeliveryProperty.builder() .enabled(false) // the properties below are optional .bucket("bucket") .prefix("prefix") .build()) .build()) .build()) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .workerConfiguration(WorkerConfigurationProperty.builder() .revision(123) .workerConfigurationArn("workerConfigurationArn") .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
The details of the Apache Kafka cluster to which the connector is connected.static interface
Specifies how the connector scales.static final class
A fluent builder forCfnConnector
.static interface
Information about the capacity of the connector, whether it is auto scaled or provisioned.static interface
The settings for delivering connector logs to Amazon CloudWatch Logs.static interface
A plugin is an AWS resource that contains the code that defines a connector's logic.static interface
The settings for delivering logs to Amazon Kinesis Data Firehose.static interface
The client authentication information used in order to authenticate with the Apache Kafka cluster.static interface
Details of encryption in transit to the Apache Kafka cluster.static interface
The details of the Apache Kafka cluster to which the connector is connected.static interface
Details about log delivery.static interface
A plugin is an AWS resource that contains the code that defines your connector logic.static interface
Details about a connector's provisioned capacity.static interface
Details about delivering logs to Amazon S3.static interface
The scale-in policy for the connector.static interface
The scale-out policy for the connector.static interface
Information about the VPC in which the connector resides.static interface
The configuration of the workers, which are the processes that run the connector logic.static interface
Workers can send worker logs to different destination types.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnConnector
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnConnector
(software.amazon.jsii.JsiiObjectRef objRef) CfnConnector
(software.constructs.Construct scope, String id, CfnConnectorProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the newly created connector.The connector's compute capacity settings.Tag Manager which manages the tags for this resource.The configuration of the connector.The description of the connector.The name of the connector.The details of the Apache Kafka cluster to which the connector is connected.The type of client authentication used to connect to the Apache Kafka cluster.Details of encryption in transit to the Apache Kafka cluster.The version of Kafka Connect.The settings for delivering connector logs to Amazon CloudWatch Logs.Specifies which plugin to use for the connector.The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.getTags()
A collection of tags associated with a resource.The worker configurations that are in use with the connector.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setCapacity
(IResolvable value) The connector's compute capacity settings.void
The connector's compute capacity settings.void
setConnectorConfiguration
(Map<String, String> value) The configuration of the connector.void
The configuration of the connector.void
setConnectorDescription
(String value) The description of the connector.void
setConnectorName
(String value) The name of the connector.void
setKafkaCluster
(IResolvable value) The details of the Apache Kafka cluster to which the connector is connected.void
The details of the Apache Kafka cluster to which the connector is connected.void
The type of client authentication used to connect to the Apache Kafka cluster.void
The type of client authentication used to connect to the Apache Kafka cluster.void
Details of encryption in transit to the Apache Kafka cluster.void
Details of encryption in transit to the Apache Kafka cluster.void
setKafkaConnectVersion
(String value) The version of Kafka Connect.void
setLogDelivery
(IResolvable value) The settings for delivering connector logs to Amazon CloudWatch Logs.void
The settings for delivering connector logs to Amazon CloudWatch Logs.void
setPlugins
(List<Object> value) Specifies which plugin to use for the connector.void
setPlugins
(IResolvable value) Specifies which plugin to use for the connector.void
setServiceExecutionRoleArn
(String value) The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.void
A collection of tags associated with a resource.void
The worker configurations that are in use with the connector.void
The worker configurations that are in use with the connector.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnConnector
protected CfnConnector(software.amazon.jsii.JsiiObjectRef objRef) -
CfnConnector
protected CfnConnector(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnConnector
@Stability(Stable) public CfnConnector(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnConnectorProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrConnectorArn
The Amazon Resource Name (ARN) of the newly created connector. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getCapacity
The connector's compute capacity settings. -
setCapacity
The connector's compute capacity settings. -
setCapacity
The connector's compute capacity settings. -
getConnectorConfiguration
The configuration of the connector. -
setConnectorConfiguration
The configuration of the connector. -
setConnectorConfiguration
The configuration of the connector. -
getConnectorName
The name of the connector. -
setConnectorName
The name of the connector. -
getKafkaCluster
The details of the Apache Kafka cluster to which the connector is connected. -
setKafkaCluster
The details of the Apache Kafka cluster to which the connector is connected. -
setKafkaCluster
The details of the Apache Kafka cluster to which the connector is connected. -
getKafkaClusterClientAuthentication
The type of client authentication used to connect to the Apache Kafka cluster. -
setKafkaClusterClientAuthentication
The type of client authentication used to connect to the Apache Kafka cluster. -
setKafkaClusterClientAuthentication
@Stability(Stable) public void setKafkaClusterClientAuthentication(@NotNull CfnConnector.KafkaClusterClientAuthenticationProperty value) The type of client authentication used to connect to the Apache Kafka cluster. -
getKafkaClusterEncryptionInTransit
Details of encryption in transit to the Apache Kafka cluster. -
setKafkaClusterEncryptionInTransit
Details of encryption in transit to the Apache Kafka cluster. -
setKafkaClusterEncryptionInTransit
@Stability(Stable) public void setKafkaClusterEncryptionInTransit(@NotNull CfnConnector.KafkaClusterEncryptionInTransitProperty value) Details of encryption in transit to the Apache Kafka cluster. -
getKafkaConnectVersion
The version of Kafka Connect. -
setKafkaConnectVersion
The version of Kafka Connect. -
getPlugins
Specifies which plugin to use for the connector. -
setPlugins
Specifies which plugin to use for the connector. -
setPlugins
Specifies which plugin to use for the connector. -
getServiceExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources. -
setServiceExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources. -
getConnectorDescription
The description of the connector. -
setConnectorDescription
The description of the connector. -
getLogDelivery
The settings for delivering connector logs to Amazon CloudWatch Logs. -
setLogDelivery
The settings for delivering connector logs to Amazon CloudWatch Logs. -
setLogDelivery
The settings for delivering connector logs to Amazon CloudWatch Logs. -
getTags
A collection of tags associated with a resource. -
setTags
A collection of tags associated with a resource. -
getWorkerConfiguration
The worker configurations that are in use with the connector. -
setWorkerConfiguration
The worker configurations that are in use with the connector. -
setWorkerConfiguration
@Stability(Stable) public void setWorkerConfiguration(@Nullable CfnConnector.WorkerConfigurationProperty value) The worker configurations that are in use with the connector.
-