Class: AWSCDK::Glue::CfnIntegrationResourceProperty::TargetProcessingPropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnIntegrationResourceProperty::TargetProcessingPropertiesProperty
- Defined in:
- glue/cfn_integration_resource_property.rb
Overview
The structure used to define the resource properties associated with the integration target.
Instance Attribute Summary collapse
-
#connection_name ⇒ String?
readonly
The AWS Glue network connection to configure the AWS Glue job running in the customer VPC.
-
#event_bus_arn ⇒ String?
readonly
The ARN of an Eventbridge event bus to receive the integration status notification.
-
#kms_arn ⇒ String?
readonly
The ARN of the KMS key used for encryption.
-
#role_arn ⇒ String
readonly
The IAM role to access the AWS Glue database.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(role_arn:, connection_name: nil, event_bus_arn: nil, kms_arn: nil) ⇒ TargetProcessingPropertiesProperty
constructor
A new instance of TargetProcessingPropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(role_arn:, connection_name: nil, event_bus_arn: nil, kms_arn: nil) ⇒ TargetProcessingPropertiesProperty
Returns a new instance of TargetProcessingPropertiesProperty.
589 590 591 592 593 594 595 596 597 598 |
# File 'glue/cfn_integration_resource_property.rb', line 589 def initialize(role_arn:, connection_name: nil, event_bus_arn: nil, kms_arn: nil) @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") @connection_name = connection_name Jsii::Type.check_type(@connection_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectionName") unless @connection_name.nil? @event_bus_arn = event_bus_arn Jsii::Type.check_type(@event_bus_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "eventBusArn") unless @event_bus_arn.nil? @kms_arn = kms_arn Jsii::Type.check_type(@kms_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsArn") unless @kms_arn.nil? end |
Instance Attribute Details
#connection_name ⇒ String? (readonly)
The AWS Glue network connection to configure the AWS Glue job running in the customer VPC.
609 610 611 |
# File 'glue/cfn_integration_resource_property.rb', line 609 def connection_name @connection_name end |
#event_bus_arn ⇒ String? (readonly)
The ARN of an Eventbridge event bus to receive the integration status notification.
614 615 616 |
# File 'glue/cfn_integration_resource_property.rb', line 614 def event_bus_arn @event_bus_arn end |
#kms_arn ⇒ String? (readonly)
The ARN of the KMS key used for encryption.
619 620 621 |
# File 'glue/cfn_integration_resource_property.rb', line 619 def kms_arn @kms_arn end |
#role_arn ⇒ String (readonly)
The IAM role to access the AWS Glue database.
604 605 606 |
# File 'glue/cfn_integration_resource_property.rb', line 604 def role_arn @role_arn end |
Class Method Details
.jsii_properties ⇒ Object
621 622 623 624 625 626 627 628 |
# File 'glue/cfn_integration_resource_property.rb', line 621 def self.jsii_properties { :role_arn => "roleArn", :connection_name => "connectionName", :event_bus_arn => "eventBusArn", :kms_arn => "kmsArn", } end |
Instance Method Details
#to_jsii ⇒ Object
630 631 632 633 634 635 636 637 638 639 |
# File 'glue/cfn_integration_resource_property.rb', line 630 def to_jsii result = {} result.merge!({ "roleArn" => @role_arn, "connectionName" => @connection_name, "eventBusArn" => @event_bus_arn, "kmsArn" => @kms_arn, }) result.compact end |