Documentation ¶
Index ¶
- func CfnConnector_CFN_RESOURCE_TYPE_NAME() *string
- func CfnConnector_IsCfnElement(x interface{}) *bool
- func CfnConnector_IsCfnResource(x interface{}) *bool
- func CfnConnector_IsConstruct(x interface{}) *bool
- func CfnCustomPlugin_CFN_RESOURCE_TYPE_NAME() *string
- func CfnCustomPlugin_IsCfnElement(x interface{}) *bool
- func CfnCustomPlugin_IsCfnResource(x interface{}) *bool
- func CfnCustomPlugin_IsConstruct(x interface{}) *bool
- func CfnWorkerConfiguration_CFN_RESOURCE_TYPE_NAME() *string
- func CfnWorkerConfiguration_IsCfnElement(x interface{}) *bool
- func CfnWorkerConfiguration_IsCfnResource(x interface{}) *bool
- func CfnWorkerConfiguration_IsConstruct(x interface{}) *bool
- func NewCfnConnector_Override(c CfnConnector, scope constructs.Construct, id *string, ...)
- func NewCfnCustomPlugin_Override(c CfnCustomPlugin, scope constructs.Construct, id *string, ...)
- func NewCfnWorkerConfiguration_Override(c CfnWorkerConfiguration, scope constructs.Construct, id *string, ...)
- type CfnConnector
- type CfnConnectorProps
- type CfnConnector_ApacheKafkaClusterProperty
- type CfnConnector_AutoScalingProperty
- type CfnConnector_CapacityProperty
- type CfnConnector_CloudWatchLogsLogDeliveryProperty
- type CfnConnector_CustomPluginProperty
- type CfnConnector_FirehoseLogDeliveryProperty
- type CfnConnector_KafkaClusterClientAuthenticationProperty
- type CfnConnector_KafkaClusterEncryptionInTransitProperty
- type CfnConnector_KafkaClusterProperty
- type CfnConnector_LogDeliveryProperty
- type CfnConnector_PluginProperty
- type CfnConnector_ProvisionedCapacityProperty
- type CfnConnector_S3LogDeliveryProperty
- type CfnConnector_ScaleInPolicyProperty
- type CfnConnector_ScaleOutPolicyProperty
- type CfnConnector_VpcProperty
- type CfnConnector_WorkerConfigurationProperty
- type CfnConnector_WorkerLogDeliveryProperty
- type CfnCustomPlugin
- type CfnCustomPluginProps
- type CfnCustomPlugin_CustomPluginFileDescriptionProperty
- type CfnCustomPlugin_CustomPluginLocationProperty
- type CfnCustomPlugin_S3LocationProperty
- type CfnWorkerConfiguration
- type CfnWorkerConfigurationProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnConnector_CFN_RESOURCE_TYPE_NAME ¶
func CfnConnector_CFN_RESOURCE_TYPE_NAME() *string
func CfnConnector_IsCfnElement ¶
func CfnConnector_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnConnector_IsCfnResource ¶
func CfnConnector_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnConnector_IsConstruct ¶
func CfnConnector_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnCustomPlugin_CFN_RESOURCE_TYPE_NAME ¶ added in v2.134.0
func CfnCustomPlugin_CFN_RESOURCE_TYPE_NAME() *string
func CfnCustomPlugin_IsCfnElement ¶ added in v2.134.0
func CfnCustomPlugin_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnCustomPlugin_IsCfnResource ¶ added in v2.134.0
func CfnCustomPlugin_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnCustomPlugin_IsConstruct ¶ added in v2.134.0
func CfnCustomPlugin_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnWorkerConfiguration_CFN_RESOURCE_TYPE_NAME ¶ added in v2.134.0
func CfnWorkerConfiguration_CFN_RESOURCE_TYPE_NAME() *string
func CfnWorkerConfiguration_IsCfnElement ¶ added in v2.134.0
func CfnWorkerConfiguration_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnWorkerConfiguration_IsCfnResource ¶ added in v2.134.0
func CfnWorkerConfiguration_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnWorkerConfiguration_IsConstruct ¶ added in v2.134.0
func CfnWorkerConfiguration_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func NewCfnConnector_Override ¶
func NewCfnConnector_Override(c CfnConnector, scope constructs.Construct, id *string, props *CfnConnectorProps)
func NewCfnCustomPlugin_Override ¶ added in v2.134.0
func NewCfnCustomPlugin_Override(c CfnCustomPlugin, scope constructs.Construct, id *string, props *CfnCustomPluginProps)
func NewCfnWorkerConfiguration_Override ¶ added in v2.134.0
func NewCfnWorkerConfiguration_Override(c CfnWorkerConfiguration, scope constructs.Construct, id *string, props *CfnWorkerConfigurationProps)
Types ¶
type CfnConnector ¶
type CfnConnector interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The Amazon Resource Name (ARN) of the newly created connector. AttrConnectorArn() *string // The connector's compute capacity settings. Capacity() interface{} SetCapacity(val interface{}) // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // The configuration of the connector. ConnectorConfiguration() interface{} SetConnectorConfiguration(val interface{}) // The description of the connector. ConnectorDescription() *string SetConnectorDescription(val *string) // The name of the connector. ConnectorName() *string SetConnectorName(val *string) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The details of the Apache Kafka cluster to which the connector is connected. KafkaCluster() interface{} SetKafkaCluster(val interface{}) // The type of client authentication used to connect to the Apache Kafka cluster. KafkaClusterClientAuthentication() interface{} SetKafkaClusterClientAuthentication(val interface{}) // Details of encryption in transit to the Apache Kafka cluster. KafkaClusterEncryptionInTransit() interface{} SetKafkaClusterEncryptionInTransit(val interface{}) // The version of Kafka Connect. KafkaConnectVersion() *string SetKafkaConnectVersion(val *string) // The settings for delivering connector logs to Amazon CloudWatch Logs. LogDelivery() interface{} SetLogDelivery(val interface{}) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Specifies which plugin to use for the connector. Plugins() interface{} SetPlugins(val interface{}) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources. ServiceExecutionRoleArn() *string SetServiceExecutionRoleArn(val *string) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // A collection of tags associated with a resource. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // The worker configurations that are in use with the connector. WorkerConfiguration() interface{} SetWorkerConfiguration(val interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
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 "github.com/aws/aws-cdk-go/awscdk" cfnConnector := awscdk.Aws_kafkaconnect.NewCfnConnector(this, jsii.String("MyCfnConnector"), &CfnConnectorProps{ Capacity: &CapacityProperty{ AutoScaling: &AutoScalingProperty{ MaxWorkerCount: jsii.Number(123), McuCount: jsii.Number(123), MinWorkerCount: jsii.Number(123), ScaleInPolicy: &ScaleInPolicyProperty{ CpuUtilizationPercentage: jsii.Number(123), }, ScaleOutPolicy: &ScaleOutPolicyProperty{ CpuUtilizationPercentage: jsii.Number(123), }, }, ProvisionedCapacity: &ProvisionedCapacityProperty{ WorkerCount: jsii.Number(123), // the properties below are optional McuCount: jsii.Number(123), }, }, ConnectorConfiguration: map[string]*string{ "connectorConfigurationKey": jsii.String("connectorConfiguration"), }, ConnectorName: jsii.String("connectorName"), KafkaCluster: &KafkaClusterProperty{ ApacheKafkaCluster: &ApacheKafkaClusterProperty{ BootstrapServers: jsii.String("bootstrapServers"), Vpc: &VpcProperty{ SecurityGroups: []*string{ jsii.String("securityGroups"), }, Subnets: []*string{ jsii.String("subnets"), }, }, }, }, KafkaClusterClientAuthentication: &KafkaClusterClientAuthenticationProperty{ AuthenticationType: jsii.String("authenticationType"), }, KafkaClusterEncryptionInTransit: &KafkaClusterEncryptionInTransitProperty{ EncryptionType: jsii.String("encryptionType"), }, KafkaConnectVersion: jsii.String("kafkaConnectVersion"), Plugins: []interface{}{ &PluginProperty{ CustomPlugin: &CustomPluginProperty{ CustomPluginArn: jsii.String("customPluginArn"), Revision: jsii.Number(123), }, }, }, ServiceExecutionRoleArn: jsii.String("serviceExecutionRoleArn"), // the properties below are optional ConnectorDescription: jsii.String("connectorDescription"), LogDelivery: &LogDeliveryProperty{ WorkerLogDelivery: &WorkerLogDeliveryProperty{ CloudWatchLogs: &CloudWatchLogsLogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional LogGroup: jsii.String("logGroup"), }, Firehose: &FirehoseLogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional DeliveryStream: jsii.String("deliveryStream"), }, S3: &S3LogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional Bucket: jsii.String("bucket"), Prefix: jsii.String("prefix"), }, }, }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, WorkerConfiguration: &WorkerConfigurationProperty{ Revision: jsii.Number(123), WorkerConfigurationArn: jsii.String("workerConfigurationArn"), }, })
func NewCfnConnector ¶
func NewCfnConnector(scope constructs.Construct, id *string, props *CfnConnectorProps) CfnConnector
type CfnConnectorProps ¶
type CfnConnectorProps struct { // The connector's compute capacity settings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-capacity // Capacity interface{} `field:"required" json:"capacity" yaml:"capacity"` // The configuration of the connector. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-connectorconfiguration // ConnectorConfiguration interface{} `field:"required" json:"connectorConfiguration" yaml:"connectorConfiguration"` // The name of the connector. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-connectorname // ConnectorName *string `field:"required" json:"connectorName" yaml:"connectorName"` // The details of the Apache Kafka cluster to which the connector is connected. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-kafkacluster // KafkaCluster interface{} `field:"required" json:"kafkaCluster" yaml:"kafkaCluster"` // The type of client authentication used to connect to the Apache Kafka cluster. // // The value is NONE when no client authentication is used. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-kafkaclusterclientauthentication // KafkaClusterClientAuthentication interface{} `field:"required" json:"kafkaClusterClientAuthentication" yaml:"kafkaClusterClientAuthentication"` // Details of encryption in transit to the Apache Kafka cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-kafkaclusterencryptionintransit // KafkaClusterEncryptionInTransit interface{} `field:"required" json:"kafkaClusterEncryptionInTransit" yaml:"kafkaClusterEncryptionInTransit"` // The version of Kafka Connect. // // It has to be compatible with both the Apache Kafka cluster's version and the plugins. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-kafkaconnectversion // KafkaConnectVersion *string `field:"required" json:"kafkaConnectVersion" yaml:"kafkaConnectVersion"` // Specifies which plugin to use for the connector. // // You must specify a single-element list. Amazon MSK Connect does not currently support specifying multiple plugins. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-plugins // Plugins interface{} `field:"required" json:"plugins" yaml:"plugins"` // The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-serviceexecutionrolearn // ServiceExecutionRoleArn *string `field:"required" json:"serviceExecutionRoleArn" yaml:"serviceExecutionRoleArn"` // The description of the connector. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-connectordescription // ConnectorDescription *string `field:"optional" json:"connectorDescription" yaml:"connectorDescription"` // The settings for delivering connector logs to Amazon CloudWatch Logs. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-logdelivery // LogDelivery interface{} `field:"optional" json:"logDelivery" yaml:"logDelivery"` // A collection of tags associated with a resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` // The worker configurations that are in use with the connector. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-workerconfiguration // WorkerConfiguration interface{} `field:"optional" json:"workerConfiguration" yaml:"workerConfiguration"` }
Properties for defining a `CfnConnector`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnConnectorProps := &CfnConnectorProps{ Capacity: &CapacityProperty{ AutoScaling: &AutoScalingProperty{ MaxWorkerCount: jsii.Number(123), McuCount: jsii.Number(123), MinWorkerCount: jsii.Number(123), ScaleInPolicy: &ScaleInPolicyProperty{ CpuUtilizationPercentage: jsii.Number(123), }, ScaleOutPolicy: &ScaleOutPolicyProperty{ CpuUtilizationPercentage: jsii.Number(123), }, }, ProvisionedCapacity: &ProvisionedCapacityProperty{ WorkerCount: jsii.Number(123), // the properties below are optional McuCount: jsii.Number(123), }, }, ConnectorConfiguration: map[string]*string{ "connectorConfigurationKey": jsii.String("connectorConfiguration"), }, ConnectorName: jsii.String("connectorName"), KafkaCluster: &KafkaClusterProperty{ ApacheKafkaCluster: &ApacheKafkaClusterProperty{ BootstrapServers: jsii.String("bootstrapServers"), Vpc: &VpcProperty{ SecurityGroups: []*string{ jsii.String("securityGroups"), }, Subnets: []*string{ jsii.String("subnets"), }, }, }, }, KafkaClusterClientAuthentication: &KafkaClusterClientAuthenticationProperty{ AuthenticationType: jsii.String("authenticationType"), }, KafkaClusterEncryptionInTransit: &KafkaClusterEncryptionInTransitProperty{ EncryptionType: jsii.String("encryptionType"), }, KafkaConnectVersion: jsii.String("kafkaConnectVersion"), Plugins: []interface{}{ &PluginProperty{ CustomPlugin: &CustomPluginProperty{ CustomPluginArn: jsii.String("customPluginArn"), Revision: jsii.Number(123), }, }, }, ServiceExecutionRoleArn: jsii.String("serviceExecutionRoleArn"), // the properties below are optional ConnectorDescription: jsii.String("connectorDescription"), LogDelivery: &LogDeliveryProperty{ WorkerLogDelivery: &WorkerLogDeliveryProperty{ CloudWatchLogs: &CloudWatchLogsLogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional LogGroup: jsii.String("logGroup"), }, Firehose: &FirehoseLogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional DeliveryStream: jsii.String("deliveryStream"), }, S3: &S3LogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional Bucket: jsii.String("bucket"), Prefix: jsii.String("prefix"), }, }, }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, WorkerConfiguration: &WorkerConfigurationProperty{ Revision: jsii.Number(123), WorkerConfigurationArn: jsii.String("workerConfigurationArn"), }, }
type CfnConnector_ApacheKafkaClusterProperty ¶
type CfnConnector_ApacheKafkaClusterProperty struct { // The bootstrap servers of the cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-apachekafkacluster.html#cfn-kafkaconnect-connector-apachekafkacluster-bootstrapservers // BootstrapServers *string `field:"required" json:"bootstrapServers" yaml:"bootstrapServers"` // Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-apachekafkacluster.html#cfn-kafkaconnect-connector-apachekafkacluster-vpc // Vpc interface{} `field:"required" json:"vpc" yaml:"vpc"` }
The details of the Apache Kafka cluster to which the connector is connected.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" apacheKafkaClusterProperty := &ApacheKafkaClusterProperty{ BootstrapServers: jsii.String("bootstrapServers"), Vpc: &VpcProperty{ SecurityGroups: []*string{ jsii.String("securityGroups"), }, Subnets: []*string{ jsii.String("subnets"), }, }, }
type CfnConnector_AutoScalingProperty ¶
type CfnConnector_AutoScalingProperty struct { // The maximum number of workers allocated to the connector. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-autoscaling.html#cfn-kafkaconnect-connector-autoscaling-maxworkercount // MaxWorkerCount *float64 `field:"required" json:"maxWorkerCount" yaml:"maxWorkerCount"` // The number of microcontroller units (MCUs) allocated to each connector worker. // // The valid values are 1,2,4,8. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-autoscaling.html#cfn-kafkaconnect-connector-autoscaling-mcucount // McuCount *float64 `field:"required" json:"mcuCount" yaml:"mcuCount"` // The minimum number of workers allocated to the connector. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-autoscaling.html#cfn-kafkaconnect-connector-autoscaling-minworkercount // MinWorkerCount *float64 `field:"required" json:"minWorkerCount" yaml:"minWorkerCount"` // The sacle-in policy for the connector. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-autoscaling.html#cfn-kafkaconnect-connector-autoscaling-scaleinpolicy // ScaleInPolicy interface{} `field:"required" json:"scaleInPolicy" yaml:"scaleInPolicy"` // The sacle-out policy for the connector. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-autoscaling.html#cfn-kafkaconnect-connector-autoscaling-scaleoutpolicy // ScaleOutPolicy interface{} `field:"required" json:"scaleOutPolicy" yaml:"scaleOutPolicy"` }
Specifies how the connector scales.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" autoScalingProperty := &AutoScalingProperty{ MaxWorkerCount: jsii.Number(123), McuCount: jsii.Number(123), MinWorkerCount: jsii.Number(123), ScaleInPolicy: &ScaleInPolicyProperty{ CpuUtilizationPercentage: jsii.Number(123), }, ScaleOutPolicy: &ScaleOutPolicyProperty{ CpuUtilizationPercentage: jsii.Number(123), }, }
type CfnConnector_CapacityProperty ¶
type CfnConnector_CapacityProperty struct { // Information about the auto scaling parameters for the connector. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-capacity.html#cfn-kafkaconnect-connector-capacity-autoscaling // AutoScaling interface{} `field:"optional" json:"autoScaling" yaml:"autoScaling"` // Details about a fixed capacity allocated to a connector. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-capacity.html#cfn-kafkaconnect-connector-capacity-provisionedcapacity // ProvisionedCapacity interface{} `field:"optional" json:"provisionedCapacity" yaml:"provisionedCapacity"` }
Information about the capacity of the connector, whether it is auto scaled or provisioned.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" capacityProperty := &CapacityProperty{ AutoScaling: &AutoScalingProperty{ MaxWorkerCount: jsii.Number(123), McuCount: jsii.Number(123), MinWorkerCount: jsii.Number(123), ScaleInPolicy: &ScaleInPolicyProperty{ CpuUtilizationPercentage: jsii.Number(123), }, ScaleOutPolicy: &ScaleOutPolicyProperty{ CpuUtilizationPercentage: jsii.Number(123), }, }, ProvisionedCapacity: &ProvisionedCapacityProperty{ WorkerCount: jsii.Number(123), // the properties below are optional McuCount: jsii.Number(123), }, }
type CfnConnector_CloudWatchLogsLogDeliveryProperty ¶
type CfnConnector_CloudWatchLogsLogDeliveryProperty struct { // Whether log delivery to Amazon CloudWatch Logs is enabled. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-cloudwatchlogslogdelivery.html#cfn-kafkaconnect-connector-cloudwatchlogslogdelivery-enabled // Enabled interface{} `field:"required" json:"enabled" yaml:"enabled"` // The name of the CloudWatch log group that is the destination for log delivery. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-cloudwatchlogslogdelivery.html#cfn-kafkaconnect-connector-cloudwatchlogslogdelivery-loggroup // LogGroup *string `field:"optional" json:"logGroup" yaml:"logGroup"` }
The settings for delivering connector logs to Amazon CloudWatch Logs.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cloudWatchLogsLogDeliveryProperty := &CloudWatchLogsLogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional LogGroup: jsii.String("logGroup"), }
type CfnConnector_CustomPluginProperty ¶
type CfnConnector_CustomPluginProperty struct { // The Amazon Resource Name (ARN) of the custom plugin. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-customplugin.html#cfn-kafkaconnect-connector-customplugin-custompluginarn // CustomPluginArn *string `field:"required" json:"customPluginArn" yaml:"customPluginArn"` // The revision of the custom plugin. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-customplugin.html#cfn-kafkaconnect-connector-customplugin-revision // Revision *float64 `field:"required" json:"revision" yaml:"revision"` }
A plugin is an AWS resource that contains the code that defines a connector's logic.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" customPluginProperty := &CustomPluginProperty{ CustomPluginArn: jsii.String("customPluginArn"), Revision: jsii.Number(123), }
type CfnConnector_FirehoseLogDeliveryProperty ¶
type CfnConnector_FirehoseLogDeliveryProperty struct { // Specifies whether connector logs get delivered to Amazon Kinesis Data Firehose. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-firehoselogdelivery.html#cfn-kafkaconnect-connector-firehoselogdelivery-enabled // Enabled interface{} `field:"required" json:"enabled" yaml:"enabled"` // The name of the Kinesis Data Firehose delivery stream that is the destination for log delivery. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-firehoselogdelivery.html#cfn-kafkaconnect-connector-firehoselogdelivery-deliverystream // DeliveryStream *string `field:"optional" json:"deliveryStream" yaml:"deliveryStream"` }
The settings for delivering logs to Amazon Kinesis Data Firehose.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" firehoseLogDeliveryProperty := &FirehoseLogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional DeliveryStream: jsii.String("deliveryStream"), }
type CfnConnector_KafkaClusterClientAuthenticationProperty ¶
type CfnConnector_KafkaClusterClientAuthenticationProperty struct { // The type of client authentication used to connect to the Apache Kafka cluster. // // Value NONE means that no client authentication is used. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-kafkaclusterclientauthentication.html#cfn-kafkaconnect-connector-kafkaclusterclientauthentication-authenticationtype // AuthenticationType *string `field:"required" json:"authenticationType" yaml:"authenticationType"` }
The client authentication information used in order to authenticate with the Apache Kafka cluster.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" kafkaClusterClientAuthenticationProperty := &KafkaClusterClientAuthenticationProperty{ AuthenticationType: jsii.String("authenticationType"), }
type CfnConnector_KafkaClusterEncryptionInTransitProperty ¶
type CfnConnector_KafkaClusterEncryptionInTransitProperty struct { // The type of encryption in transit to the Apache Kafka cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-kafkaclusterencryptionintransit.html#cfn-kafkaconnect-connector-kafkaclusterencryptionintransit-encryptiontype // EncryptionType *string `field:"required" json:"encryptionType" yaml:"encryptionType"` }
Details of encryption in transit to the Apache Kafka cluster.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" kafkaClusterEncryptionInTransitProperty := &KafkaClusterEncryptionInTransitProperty{ EncryptionType: jsii.String("encryptionType"), }
type CfnConnector_KafkaClusterProperty ¶
type CfnConnector_KafkaClusterProperty struct { // The Apache Kafka cluster to which the connector is connected. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-kafkacluster.html#cfn-kafkaconnect-connector-kafkacluster-apachekafkacluster // ApacheKafkaCluster interface{} `field:"required" json:"apacheKafkaCluster" yaml:"apacheKafkaCluster"` }
The details of the Apache Kafka cluster to which the connector is connected.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" kafkaClusterProperty := &KafkaClusterProperty{ ApacheKafkaCluster: &ApacheKafkaClusterProperty{ BootstrapServers: jsii.String("bootstrapServers"), Vpc: &VpcProperty{ SecurityGroups: []*string{ jsii.String("securityGroups"), }, Subnets: []*string{ jsii.String("subnets"), }, }, }, }
type CfnConnector_LogDeliveryProperty ¶
type CfnConnector_LogDeliveryProperty struct { // The workers can send worker logs to different destination types. // // This configuration specifies the details of these destinations. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-logdelivery.html#cfn-kafkaconnect-connector-logdelivery-workerlogdelivery // WorkerLogDelivery interface{} `field:"required" json:"workerLogDelivery" yaml:"workerLogDelivery"` }
Details about log delivery.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" logDeliveryProperty := &LogDeliveryProperty{ WorkerLogDelivery: &WorkerLogDeliveryProperty{ CloudWatchLogs: &CloudWatchLogsLogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional LogGroup: jsii.String("logGroup"), }, Firehose: &FirehoseLogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional DeliveryStream: jsii.String("deliveryStream"), }, S3: &S3LogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional Bucket: jsii.String("bucket"), Prefix: jsii.String("prefix"), }, }, }
type CfnConnector_PluginProperty ¶
type CfnConnector_PluginProperty struct { // Details about a custom plugin. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-plugin.html#cfn-kafkaconnect-connector-plugin-customplugin // CustomPlugin interface{} `field:"required" json:"customPlugin" yaml:"customPlugin"` }
A plugin is an AWS resource that contains the code that defines your connector logic.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" pluginProperty := &PluginProperty{ CustomPlugin: &CustomPluginProperty{ CustomPluginArn: jsii.String("customPluginArn"), Revision: jsii.Number(123), }, }
type CfnConnector_ProvisionedCapacityProperty ¶
type CfnConnector_ProvisionedCapacityProperty struct { // The number of workers that are allocated to the connector. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-provisionedcapacity.html#cfn-kafkaconnect-connector-provisionedcapacity-workercount // WorkerCount *float64 `field:"required" json:"workerCount" yaml:"workerCount"` // The number of microcontroller units (MCUs) allocated to each connector worker. // // The valid values are 1,2,4,8. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-provisionedcapacity.html#cfn-kafkaconnect-connector-provisionedcapacity-mcucount // McuCount *float64 `field:"optional" json:"mcuCount" yaml:"mcuCount"` }
Details about a connector's provisioned capacity.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" provisionedCapacityProperty := &ProvisionedCapacityProperty{ WorkerCount: jsii.Number(123), // the properties below are optional McuCount: jsii.Number(123), }
type CfnConnector_S3LogDeliveryProperty ¶
type CfnConnector_S3LogDeliveryProperty struct { // Specifies whether connector logs get sent to the specified Amazon S3 destination. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-s3logdelivery.html#cfn-kafkaconnect-connector-s3logdelivery-enabled // Enabled interface{} `field:"required" json:"enabled" yaml:"enabled"` // The name of the S3 bucket that is the destination for log delivery. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-s3logdelivery.html#cfn-kafkaconnect-connector-s3logdelivery-bucket // Bucket *string `field:"optional" json:"bucket" yaml:"bucket"` // The S3 prefix that is the destination for log delivery. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-s3logdelivery.html#cfn-kafkaconnect-connector-s3logdelivery-prefix // Prefix *string `field:"optional" json:"prefix" yaml:"prefix"` }
Details about delivering logs to Amazon S3.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" s3LogDeliveryProperty := &S3LogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional Bucket: jsii.String("bucket"), Prefix: jsii.String("prefix"), }
type CfnConnector_ScaleInPolicyProperty ¶
type CfnConnector_ScaleInPolicyProperty struct { // Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-scaleinpolicy.html#cfn-kafkaconnect-connector-scaleinpolicy-cpuutilizationpercentage // CpuUtilizationPercentage *float64 `field:"required" json:"cpuUtilizationPercentage" yaml:"cpuUtilizationPercentage"` }
The scale-in policy for the connector.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" scaleInPolicyProperty := &ScaleInPolicyProperty{ CpuUtilizationPercentage: jsii.Number(123), }
type CfnConnector_ScaleOutPolicyProperty ¶
type CfnConnector_ScaleOutPolicyProperty struct { // The CPU utilization percentage threshold at which you want connector scale out to be triggered. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-scaleoutpolicy.html#cfn-kafkaconnect-connector-scaleoutpolicy-cpuutilizationpercentage // CpuUtilizationPercentage *float64 `field:"required" json:"cpuUtilizationPercentage" yaml:"cpuUtilizationPercentage"` }
The scale-out policy for the connector.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" scaleOutPolicyProperty := &ScaleOutPolicyProperty{ CpuUtilizationPercentage: jsii.Number(123), }
type CfnConnector_VpcProperty ¶
type CfnConnector_VpcProperty struct { // The security groups for the connector. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-vpc.html#cfn-kafkaconnect-connector-vpc-securitygroups // SecurityGroups *[]*string `field:"required" json:"securityGroups" yaml:"securityGroups"` // The subnets for the connector. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-vpc.html#cfn-kafkaconnect-connector-vpc-subnets // Subnets *[]*string `field:"required" json:"subnets" yaml:"subnets"` }
Information about the VPC in which the connector resides.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" vpcProperty := &VpcProperty{ SecurityGroups: []*string{ jsii.String("securityGroups"), }, Subnets: []*string{ jsii.String("subnets"), }, }
type CfnConnector_WorkerConfigurationProperty ¶
type CfnConnector_WorkerConfigurationProperty struct { // The revision of the worker configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-workerconfiguration.html#cfn-kafkaconnect-connector-workerconfiguration-revision // Revision *float64 `field:"required" json:"revision" yaml:"revision"` // The Amazon Resource Name (ARN) of the worker configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-workerconfiguration.html#cfn-kafkaconnect-connector-workerconfiguration-workerconfigurationarn // WorkerConfigurationArn *string `field:"required" json:"workerConfigurationArn" yaml:"workerConfigurationArn"` }
The configuration of the workers, which are the processes that run the connector logic.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" workerConfigurationProperty := &WorkerConfigurationProperty{ Revision: jsii.Number(123), WorkerConfigurationArn: jsii.String("workerConfigurationArn"), }
type CfnConnector_WorkerLogDeliveryProperty ¶
type CfnConnector_WorkerLogDeliveryProperty struct { // Details about delivering logs to Amazon CloudWatch Logs. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-workerlogdelivery.html#cfn-kafkaconnect-connector-workerlogdelivery-cloudwatchlogs // CloudWatchLogs interface{} `field:"optional" json:"cloudWatchLogs" yaml:"cloudWatchLogs"` // Details about delivering logs to Amazon Kinesis Data Firehose. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-workerlogdelivery.html#cfn-kafkaconnect-connector-workerlogdelivery-firehose // Firehose interface{} `field:"optional" json:"firehose" yaml:"firehose"` // Details about delivering logs to Amazon S3. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-workerlogdelivery.html#cfn-kafkaconnect-connector-workerlogdelivery-s3 // S3 interface{} `field:"optional" json:"s3" yaml:"s3"` }
Workers can send worker logs to different destination types.
This configuration specifies the details of these destinations.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" workerLogDeliveryProperty := &WorkerLogDeliveryProperty{ CloudWatchLogs: &CloudWatchLogsLogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional LogGroup: jsii.String("logGroup"), }, Firehose: &FirehoseLogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional DeliveryStream: jsii.String("deliveryStream"), }, S3: &S3LogDeliveryProperty{ Enabled: jsii.Boolean(false), // the properties below are optional Bucket: jsii.String("bucket"), Prefix: jsii.String("prefix"), }, }
type CfnCustomPlugin ¶ added in v2.134.0
type CfnCustomPlugin interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The Amazon Resource Name (ARN) of the custom plugin. AttrCustomPluginArn() *string // Details about the custom plugin file. AttrFileDescription() awscdk.IResolvable // The revision of the custom plugin. AttrRevision() *float64 // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // The format of the plugin file. ContentType() *string SetContentType(val *string) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description of the custom plugin. Description() *string SetDescription(val *string) // Information about the location of the custom plugin. Location() interface{} SetLocation(val interface{}) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name of the custom plugin. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // An array of key-value pairs to apply to this resource. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Creates a custom plugin 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 "github.com/aws/aws-cdk-go/awscdk" cfnCustomPlugin := awscdk.Aws_kafkaconnect.NewCfnCustomPlugin(this, jsii.String("MyCfnCustomPlugin"), &CfnCustomPluginProps{ ContentType: jsii.String("contentType"), Location: &CustomPluginLocationProperty{ S3Location: &S3LocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }, }, Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnCustomPlugin ¶ added in v2.134.0
func NewCfnCustomPlugin(scope constructs.Construct, id *string, props *CfnCustomPluginProps) CfnCustomPlugin
type CfnCustomPluginProps ¶ added in v2.134.0
type CfnCustomPluginProps struct { // The format of the plugin file. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html#cfn-kafkaconnect-customplugin-contenttype // ContentType *string `field:"required" json:"contentType" yaml:"contentType"` // Information about the location of the custom plugin. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html#cfn-kafkaconnect-customplugin-location // Location interface{} `field:"required" json:"location" yaml:"location"` // The name of the custom plugin. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html#cfn-kafkaconnect-customplugin-name // Name *string `field:"required" json:"name" yaml:"name"` // The description of the custom plugin. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html#cfn-kafkaconnect-customplugin-description // Description *string `field:"optional" json:"description" yaml:"description"` // An array of key-value pairs to apply to this resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html#cfn-kafkaconnect-customplugin-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnCustomPlugin`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnCustomPluginProps := &CfnCustomPluginProps{ ContentType: jsii.String("contentType"), Location: &CustomPluginLocationProperty{ S3Location: &S3LocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }, }, Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnCustomPlugin_CustomPluginFileDescriptionProperty ¶ added in v2.134.0
type CfnCustomPlugin_CustomPluginFileDescriptionProperty struct { // The hex-encoded MD5 checksum of the custom plugin file. // // You can use it to validate the file. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-custompluginfiledescription.html#cfn-kafkaconnect-customplugin-custompluginfiledescription-filemd5 // FileMd5 *string `field:"optional" json:"fileMd5" yaml:"fileMd5"` // The size in bytes of the custom plugin file. // // You can use it to validate the file. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-custompluginfiledescription.html#cfn-kafkaconnect-customplugin-custompluginfiledescription-filesize // FileSize *float64 `field:"optional" json:"fileSize" yaml:"fileSize"` }
Details about a custom plugin file.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" customPluginFileDescriptionProperty := &CustomPluginFileDescriptionProperty{ FileMd5: jsii.String("fileMd5"), FileSize: jsii.Number(123), }
type CfnCustomPlugin_CustomPluginLocationProperty ¶ added in v2.134.0
type CfnCustomPlugin_CustomPluginLocationProperty struct { // The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-custompluginlocation.html#cfn-kafkaconnect-customplugin-custompluginlocation-s3location // S3Location interface{} `field:"required" json:"s3Location" yaml:"s3Location"` }
Information about the location of a custom plugin.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" customPluginLocationProperty := &CustomPluginLocationProperty{ S3Location: &S3LocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }, }
type CfnCustomPlugin_S3LocationProperty ¶ added in v2.134.0
type CfnCustomPlugin_S3LocationProperty struct { // The Amazon Resource Name (ARN) of an S3 bucket. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-s3location.html#cfn-kafkaconnect-customplugin-s3location-bucketarn // BucketArn *string `field:"required" json:"bucketArn" yaml:"bucketArn"` // The file key for an object in an S3 bucket. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-s3location.html#cfn-kafkaconnect-customplugin-s3location-filekey // FileKey *string `field:"required" json:"fileKey" yaml:"fileKey"` // The version of an object in an S3 bucket. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-s3location.html#cfn-kafkaconnect-customplugin-s3location-objectversion // ObjectVersion *string `field:"optional" json:"objectVersion" yaml:"objectVersion"` }
The location of an object in Amazon S3.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" s3LocationProperty := &S3LocationProperty{ BucketArn: jsii.String("bucketArn"), FileKey: jsii.String("fileKey"), // the properties below are optional ObjectVersion: jsii.String("objectVersion"), }
type CfnWorkerConfiguration ¶ added in v2.134.0
type CfnWorkerConfiguration interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The revision of the worker configuration. AttrRevision() *float64 // The Amazon Resource Name (ARN) of the worker configuration. AttrWorkerConfigurationArn() *string // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description of a worker configuration. Description() *string SetDescription(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name of the worker configuration. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // Base64 encoded contents of the connect-distributed.properties file. PropertiesFileContent() *string SetPropertiesFileContent(val *string) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // A collection of tags associated with a resource. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Creates a worker configuration 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 "github.com/aws/aws-cdk-go/awscdk" cfnWorkerConfiguration := awscdk.Aws_kafkaconnect.NewCfnWorkerConfiguration(this, jsii.String("MyCfnWorkerConfiguration"), &CfnWorkerConfigurationProps{ Name: jsii.String("name"), PropertiesFileContent: jsii.String("propertiesFileContent"), // the properties below are optional Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnWorkerConfiguration ¶ added in v2.134.0
func NewCfnWorkerConfiguration(scope constructs.Construct, id *string, props *CfnWorkerConfigurationProps) CfnWorkerConfiguration
type CfnWorkerConfigurationProps ¶ added in v2.134.0
type CfnWorkerConfigurationProps struct { // The name of the worker configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-name // Name *string `field:"required" json:"name" yaml:"name"` // Base64 encoded contents of the connect-distributed.properties file. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-propertiesfilecontent // PropertiesFileContent *string `field:"required" json:"propertiesFileContent" yaml:"propertiesFileContent"` // The description of a worker configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-description // Description *string `field:"optional" json:"description" yaml:"description"` // A collection of tags associated with a resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnWorkerConfiguration`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnWorkerConfigurationProps := &CfnWorkerConfigurationProps{ Name: jsii.String("name"), PropertiesFileContent: jsii.String("propertiesFileContent"), // the properties below are optional Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
Source Files ¶
- CfnConnector.go
- CfnConnectorProps.go
- CfnConnector_ApacheKafkaClusterProperty.go
- CfnConnector_AutoScalingProperty.go
- CfnConnector_CapacityProperty.go
- CfnConnector_CloudWatchLogsLogDeliveryProperty.go
- CfnConnector_CustomPluginProperty.go
- CfnConnector_FirehoseLogDeliveryProperty.go
- CfnConnector_KafkaClusterClientAuthenticationProperty.go
- CfnConnector_KafkaClusterEncryptionInTransitProperty.go
- CfnConnector_KafkaClusterProperty.go
- CfnConnector_LogDeliveryProperty.go
- CfnConnector_PluginProperty.go
- CfnConnector_ProvisionedCapacityProperty.go
- CfnConnector_S3LogDeliveryProperty.go
- CfnConnector_ScaleInPolicyProperty.go
- CfnConnector_ScaleOutPolicyProperty.go
- CfnConnector_VpcProperty.go
- CfnConnector_WorkerConfigurationProperty.go
- CfnConnector_WorkerLogDeliveryProperty.go
- CfnConnector__checks.go
- CfnCustomPlugin.go
- CfnCustomPluginProps.go
- CfnCustomPlugin_CustomPluginFileDescriptionProperty.go
- CfnCustomPlugin_CustomPluginLocationProperty.go
- CfnCustomPlugin_S3LocationProperty.go
- CfnCustomPlugin__checks.go
- CfnWorkerConfiguration.go
- CfnWorkerConfigurationProps.go
- CfnWorkerConfiguration__checks.go
- main.go