Class: AWSCDK::Glue::CfnIntegrationResourceProperty::TargetProcessingPropertiesProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(role_arn:, connection_name: nil, event_bus_arn: nil, kms_arn: nil) ⇒ TargetProcessingPropertiesProperty

Returns a new instance of TargetProcessingPropertiesProperty.

Parameters:

  • role_arn (String)

    The IAM role to access the AWS Glue database.

  • connection_name (String, nil) (defaults to: nil)

    The AWS Glue network connection to configure the AWS Glue job running in the customer VPC.

  • event_bus_arn (String, nil) (defaults to: nil)

    The ARN of an Eventbridge event bus to receive the integration status notification.

  • kms_arn (String, nil) (defaults to: nil)

    The ARN of the KMS key used for encryption.



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_nameString? (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_arnString? (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_arnString? (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_arnString (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_propertiesObject



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_jsiiObject



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