Class: AWSCDK::Glue::CfnIntegrationResourceProperty::SourceProcessingPropertiesProperty

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 source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(role_arn:) ⇒ SourceProcessingPropertiesProperty

Returns a new instance of SourceProcessingPropertiesProperty.

Parameters:

  • role_arn (String)

    The IAM role to access the AWS Glue connection.



553
554
555
556
# File 'glue/cfn_integration_resource_property.rb', line 553

def initialize(role_arn:)
  @role_arn = role_arn
  Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn")
end

Instance Attribute Details

#role_arnString (readonly)

The IAM role to access the AWS Glue connection.



562
563
564
# File 'glue/cfn_integration_resource_property.rb', line 562

def role_arn
  @role_arn
end

Class Method Details

.jsii_propertiesObject



564
565
566
567
568
# File 'glue/cfn_integration_resource_property.rb', line 564

def self.jsii_properties
  {
    :role_arn => "roleArn",
  }
end

Instance Method Details

#to_jsiiObject



570
571
572
573
574
575
576
# File 'glue/cfn_integration_resource_property.rb', line 570

def to_jsii
  result = {}
  result.merge!({
    "roleArn" => @role_arn,
  })
  result.compact
end