Class: AWSCDK::GroundStation::CfnDataflowEndpointGroupProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ground_station/cfn_dataflow_endpoint_group_props.rb

Overview

Properties for defining a CfnDataflowEndpointGroup.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_details:, contact_post_pass_duration_seconds: nil, contact_pre_pass_duration_seconds: nil, tags: nil) ⇒ CfnDataflowEndpointGroupProps

Returns a new instance of CfnDataflowEndpointGroupProps.

Parameters:

  • endpoint_details (AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::GroundStation::CfnDataflowEndpointGroup::EndpointDetailsProperty>)

    List of Endpoint Details, containing address and port for each endpoint.

  • contact_post_pass_duration_seconds (Numeric, nil) (defaults to: nil)

    Amount of time, in seconds, after a contact ends that the Ground Station Dataflow Endpoint Group will be in a POSTPASS state.

  • contact_pre_pass_duration_seconds (Numeric, nil) (defaults to: nil)

    Amount of time, in seconds, before a contact starts that the Ground Station Dataflow Endpoint Group will be in a PREPASS state.

  • tags (Array<AWSCDK::CfnTag>, nil) (defaults to: nil)

    Tags assigned to a resource.



13
14
15
16
17
18
19
20
21
22
# File 'ground_station/cfn_dataflow_endpoint_group_props.rb', line 13

def initialize(endpoint_details:, contact_post_pass_duration_seconds: nil, contact_pre_pass_duration_seconds: nil, tags: nil)
  @endpoint_details = endpoint_details
  Jsii::Type.check_type(@endpoint_details, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZ3JvdW5kc3RhdGlvbi5DZm5EYXRhZmxvd0VuZHBvaW50R3JvdXAuRW5kcG9pbnREZXRhaWxzUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "endpointDetails")
  @contact_post_pass_duration_seconds = contact_post_pass_duration_seconds
  Jsii::Type.check_type(@contact_post_pass_duration_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "contactPostPassDurationSeconds") unless @contact_post_pass_duration_seconds.nil?
  @contact_pre_pass_duration_seconds = contact_pre_pass_duration_seconds
  Jsii::Type.check_type(@contact_pre_pass_duration_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "contactPrePassDurationSeconds") unless @contact_pre_pass_duration_seconds.nil?
  @tags = tags.is_a?(Array) ? tags.map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil?
end

Instance Attribute Details

#contact_post_pass_duration_secondsNumeric? (readonly)

Amount of time, in seconds, after a contact ends that the Ground Station Dataflow Endpoint Group will be in a POSTPASS state.

A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the POSTPASS state.



37
38
39
# File 'ground_station/cfn_dataflow_endpoint_group_props.rb', line 37

def contact_post_pass_duration_seconds
  @contact_post_pass_duration_seconds
end

#contact_pre_pass_duration_secondsNumeric? (readonly)

Amount of time, in seconds, before a contact starts that the Ground Station Dataflow Endpoint Group will be in a PREPASS state.

A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the PREPASS state.



44
45
46
# File 'ground_station/cfn_dataflow_endpoint_group_props.rb', line 44

def contact_pre_pass_duration_seconds
  @contact_pre_pass_duration_seconds
end

#endpoint_detailsAWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::GroundStation::CfnDataflowEndpointGroup::EndpointDetailsProperty> (readonly)

List of Endpoint Details, containing address and port for each endpoint.

All dataflow endpoints within a single dataflow endpoint group must be of the same type. You cannot mix AWS Ground Station Agent endpoints with Dataflow endpoints in the same group. If your use case requires both types of endpoints, you must create separate dataflow endpoint groups for each type.



30
31
32
# File 'ground_station/cfn_dataflow_endpoint_group_props.rb', line 30

def endpoint_details
  @endpoint_details
end

#tagsArray<AWSCDK::CfnTag>? (readonly)

Tags assigned to a resource.



49
50
51
# File 'ground_station/cfn_dataflow_endpoint_group_props.rb', line 49

def tags
  @tags
end

Class Method Details

.jsii_propertiesObject



51
52
53
54
55
56
57
58
# File 'ground_station/cfn_dataflow_endpoint_group_props.rb', line 51

def self.jsii_properties
  {
    :endpoint_details => "endpointDetails",
    :contact_post_pass_duration_seconds => "contactPostPassDurationSeconds",
    :contact_pre_pass_duration_seconds => "contactPrePassDurationSeconds",
    :tags => "tags",
  }
end

Instance Method Details

#to_jsiiObject



60
61
62
63
64
65
66
67
68
69
# File 'ground_station/cfn_dataflow_endpoint_group_props.rb', line 60

def to_jsii
  result = {}
  result.merge!({
    "endpointDetails" => @endpoint_details,
    "contactPostPassDurationSeconds" => @contact_post_pass_duration_seconds,
    "contactPrePassDurationSeconds" => @contact_pre_pass_duration_seconds,
    "tags" => @tags,
  })
  result.compact
end