Class: AWSCDK::ECS::CfnExpressGatewayService::IngressPathSummaryProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ecs/cfn_express_gateway_service.rb

Overview

The entry point into an Express service.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(access_type: nil, endpoint: nil) ⇒ IngressPathSummaryProperty

Returns a new instance of IngressPathSummaryProperty.

Parameters:

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

    The type of access to the endpoint for the Express service.

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

    The endpoint for access to the service.



1465
1466
1467
1468
1469
1470
# File 'ecs/cfn_express_gateway_service.rb', line 1465

def initialize(access_type: nil, endpoint: nil)
  @access_type = access_type
  Jsii::Type.check_type(@access_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessType") unless @access_type.nil?
  @endpoint = endpoint
  Jsii::Type.check_type(@endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpoint") unless @endpoint.nil?
end

Instance Attribute Details

#access_typeString? (readonly)

The type of access to the endpoint for the Express service.



1476
1477
1478
# File 'ecs/cfn_express_gateway_service.rb', line 1476

def access_type
  @access_type
end

#endpointString? (readonly)

The endpoint for access to the service.



1481
1482
1483
# File 'ecs/cfn_express_gateway_service.rb', line 1481

def endpoint
  @endpoint
end

Class Method Details

.jsii_propertiesObject



1483
1484
1485
1486
1487
1488
# File 'ecs/cfn_express_gateway_service.rb', line 1483

def self.jsii_properties
  {
    :access_type => "accessType",
    :endpoint => "endpoint",
  }
end

Instance Method Details

#to_jsiiObject



1490
1491
1492
1493
1494
1495
1496
1497
# File 'ecs/cfn_express_gateway_service.rb', line 1490

def to_jsii
  result = {}
  result.merge!({
    "accessType" => @access_type,
    "endpoint" => @endpoint,
  })
  result.compact
end