Class: AWSCDK::GroundStation::CfnDataflowEndpointGroupV2Props

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

Overview

Properties for defining a CfnDataflowEndpointGroupV2.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(contact_post_pass_duration_seconds: nil, contact_pre_pass_duration_seconds: nil, endpoints: nil, tags: nil) ⇒ CfnDataflowEndpointGroupV2Props

Returns a new instance of CfnDataflowEndpointGroupV2Props.

Parameters:

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

  • endpoints (AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::CreateEndpointDetailsProperty>, nil) (defaults to: nil)

    List of endpoints for the dataflow endpoint group.

  • 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_v2_props.rb', line 13

def initialize(contact_post_pass_duration_seconds: nil, contact_pre_pass_duration_seconds: nil, endpoints: nil, tags: nil)
  @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?
  @endpoints = endpoints
  Jsii::Type.check_type(@endpoints, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZ3JvdW5kc3RhdGlvbi5DZm5EYXRhZmxvd0VuZHBvaW50R3JvdXBWMi5DcmVhdGVFbmRwb2ludERldGFpbHNQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "endpoints") unless @endpoints.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.



28
29
30
# File 'ground_station/cfn_dataflow_endpoint_group_v2_props.rb', line 28

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.



33
34
35
# File 'ground_station/cfn_dataflow_endpoint_group_v2_props.rb', line 33

def contact_pre_pass_duration_seconds
  @contact_pre_pass_duration_seconds
end

#endpointsAWSCDK::IResolvable, ... (readonly)

List of endpoints for the dataflow endpoint group.



38
39
40
# File 'ground_station/cfn_dataflow_endpoint_group_v2_props.rb', line 38

def endpoints
  @endpoints
end

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

Tags assigned to a resource.



43
44
45
# File 'ground_station/cfn_dataflow_endpoint_group_v2_props.rb', line 43

def tags
  @tags
end

Class Method Details

.jsii_propertiesObject



45
46
47
48
49
50
51
52
# File 'ground_station/cfn_dataflow_endpoint_group_v2_props.rb', line 45

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

Instance Method Details

#to_jsiiObject



54
55
56
57
58
59
60
61
62
63
# File 'ground_station/cfn_dataflow_endpoint_group_v2_props.rb', line 54

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