Class: AWSCDK::BedrockAgentCore::CfnGatewayTarget::ManagedResourceDetailsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock_agent_core/cfn_gateway_target.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain: nil, resource_association_arn: nil, resource_gateway_arn: nil) ⇒ ManagedResourceDetailsProperty

Returns a new instance of ManagedResourceDetailsProperty.

Parameters:

  • domain (String, nil) (defaults to: nil)
  • resource_association_arn (String, nil) (defaults to: nil)
  • resource_gateway_arn (String, nil) (defaults to: nil)


1317
1318
1319
1320
1321
1322
1323
1324
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1317

def initialize(domain: nil, resource_association_arn: nil, resource_gateway_arn: nil)
  @domain = domain
  Jsii::Type.check_type(@domain, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domain") unless @domain.nil?
  @resource_association_arn = resource_association_arn
  Jsii::Type.check_type(@resource_association_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceAssociationArn") unless @resource_association_arn.nil?
  @resource_gateway_arn = resource_gateway_arn
  Jsii::Type.check_type(@resource_gateway_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceGatewayArn") unless @resource_gateway_arn.nil?
end

Instance Attribute Details

#domainString? (readonly)



1328
1329
1330
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1328

def domain
  @domain
end

#resource_association_arnString? (readonly)



1331
1332
1333
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1331

def resource_association_arn
  @resource_association_arn
end

#resource_gateway_arnString? (readonly)



1334
1335
1336
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1334

def resource_gateway_arn
  @resource_gateway_arn
end

Class Method Details

.jsii_propertiesObject



1336
1337
1338
1339
1340
1341
1342
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1336

def self.jsii_properties
  {
    :domain => "domain",
    :resource_association_arn => "resourceAssociationArn",
    :resource_gateway_arn => "resourceGatewayArn",
  }
end

Instance Method Details

#to_jsiiObject



1344
1345
1346
1347
1348
1349
1350
1351
1352
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1344

def to_jsii
  result = {}
  result.merge!({
    "domain" => @domain,
    "resourceAssociationArn" => @resource_association_arn,
    "resourceGatewayArn" => @resource_gateway_arn,
  })
  result.compact
end