VaporShell.GroundStation.psm1
# PSM1 Contents function Format-Json { [CmdletBinding()] Param ( [Parameter(Mandatory = $true, Position = 0, ValueFromPipeline = $true)] [String] $Json ) Begin { $cleaner = { param([String]$Line) Process{ [Regex]::Replace( $Line, "\\u(?<Value>[a-zA-Z0-9]{4})", { param($m)([char]([int]::Parse( $m.Groups['Value'].Value, [System.Globalization.NumberStyles]::HexNumber ))).ToString() } ) } } } Process { if ($PSVersionTable.PSVersion.Major -lt 6) { try { $indent = 0; $res = $Json -split '\n' | ForEach-Object { if ($_ -match '[\}\]]') { # This line contains ] or }, decrement the indentation level $indent-- } $line = (' ' * $indent * 2) + $_.TrimStart().Replace(': ', ': ') if ($_ -match '[\{\[]') { # This line contains [ or {, increment the indentation level $indent++ } $cleaner.Invoke($line) } $res -join "`n" } catch { ($Json -split '\n' | ForEach-Object {$cleaner.Invoke($_)}) -join "`n" } } else { ($Json -split '\n' | ForEach-Object {$cleaner.Invoke($_)}) -join "`n" } } } function Get-TrueCount { Param ( [parameter(Mandatory = $false,Position = 0,ValueFromPipeline = $true)] $Array ) Process { if ($array) { if ($array.Count) { $count = $array.Count } else { $count = 1 } } else { $count = 0 } } End { return $count } } function New-VSError { <# .SYNOPSIS Error generator function to use in tandem with $PSCmdlet.ThrowTerminatingError() .PARAMETER Result Allows input of an error from AWS SDK, resulting in the Exception message being parsed out. .PARAMETER String Used to create basic String message errors in the same wrapper #> [cmdletbinding(DefaultParameterSetName="Result")] param( [parameter(Position=0,ParameterSetName="Result")] $Result, [parameter(Position=0,ParameterSetName="String")] $String ) switch ($PSCmdlet.ParameterSetName) { Result { $Exception = "$($result.Exception.InnerException.Message)" } String { $Exception = "$String" } } $e = New-Object "System.Exception" $Exception $errorRecord = New-Object 'System.Management.Automation.ErrorRecord' $e, $null, ([System.Management.Automation.ErrorCategory]::InvalidOperation), $null return $errorRecord } function ResolveS3Endpoint { <# .SYNOPSIS Resolves the S3 endpoint most appropriate for each region. #> Param ( [parameter(Mandatory=$true,Position=0)] [ValidateSet("eu-west-2","ap-south-1","us-east-2","sa-east-1","us-west-1","us-west-2","eu-west-1","ap-southeast-2","ca-central-1","ap-northeast-2","us-east-1","eu-central-1","ap-southeast-1","ap-northeast-1")] [String] $Region ) $endpointMap = @{ "us-east-2" = "s3.us-east-2.amazonaws.com" "us-east-1" = "s3.amazonaws.com" "us-west-1" = "s3-us-west-1.amazonaws.com" "us-west-2" = "s3-us-west-2.amazonaws.com" "ca-central-1" = "s3.ca-central-1.amazonaws.com" "ap-south-1" = "s3.ap-south-1.amazonaws.com" "ap-northeast-2" = "s3.ap-northeast-2.amazonaws.com" "ap-southeast-1" = "s3-ap-southeast-1.amazonaws.com" "ap-southeast-2" = "s3-ap-southeast-2.amazonaws.com" "ap-northeast-1" = "s3-ap-northeast-1.amazonaws.com" "eu-central-1" = "s3.eu-central-1.amazonaws.com" "eu-west-1" = "s3-eu-west-1.amazonaws.com" "eu-west-2" = "s3.eu-west-2.amazonaws.com" "sa-east-1" = "s3-sa-east-1.amazonaws.com" } return $endpointMap[$Region] } function Add-VSGroundStationConfigAntennaDownlinkConfig { <# .SYNOPSIS Adds an AWS::GroundStation::Config.AntennaDownlinkConfig resource property to the template. Provides information about how AWS Ground Station should configure an antenna for downlink during a contact. Use an antenna downlink config in a mission profile to receive the downlink data in raw DigIF format. .DESCRIPTION Adds an AWS::GroundStation::Config.AntennaDownlinkConfig resource property to the template. Provides information about how AWS Ground Station should configure an antenna for downlink during a contact. Use an antenna downlink config in a mission profile to receive the downlink data in raw DigIF format. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennadownlinkconfig.html .PARAMETER SpectrumConfig Defines the spectrum configuration. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennadownlinkconfig.html#cfn-groundstation-config-antennadownlinkconfig-spectrumconfig UpdateType: Mutable Type: SpectrumConfig .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigAntennaDownlinkConfig])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] $SpectrumConfig ) Process { $obj = [GroundStationConfigAntennaDownlinkConfig]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigAntennaDownlinkConfig' function Add-VSGroundStationConfigAntennaDownlinkDemodDecodeConfig { <# .SYNOPSIS Adds an AWS::GroundStation::Config.AntennaDownlinkDemodDecodeConfig resource property to the template. Provides information about how AWS Ground Station should configure an antenna for downlink during a contact. Use an antenna downlink demod decode config in a mission profile to receive the downlink data that has been demodulated and decoded. .DESCRIPTION Adds an AWS::GroundStation::Config.AntennaDownlinkDemodDecodeConfig resource property to the template. Provides information about how AWS Ground Station should configure an antenna for downlink during a contact. Use an antenna downlink demod decode config in a mission profile to receive the downlink data that has been demodulated and decoded. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennadownlinkdemoddecodeconfig.html .PARAMETER SpectrumConfig Defines the spectrum configuration. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennadownlinkdemoddecodeconfig.html#cfn-groundstation-config-antennadownlinkdemoddecodeconfig-spectrumconfig UpdateType: Mutable Type: SpectrumConfig .PARAMETER DemodulationConfig Defines how the RF signal will be demodulated. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennadownlinkdemoddecodeconfig.html#cfn-groundstation-config-antennadownlinkdemoddecodeconfig-demodulationconfig UpdateType: Mutable Type: DemodulationConfig .PARAMETER DecodeConfig Defines how the RF signal will be decoded. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennadownlinkdemoddecodeconfig.html#cfn-groundstation-config-antennadownlinkdemoddecodeconfig-decodeconfig UpdateType: Mutable Type: DecodeConfig .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigAntennaDownlinkDemodDecodeConfig])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] $SpectrumConfig, [parameter(Mandatory = $false)] $DemodulationConfig, [parameter(Mandatory = $false)] $DecodeConfig ) Process { $obj = [GroundStationConfigAntennaDownlinkDemodDecodeConfig]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigAntennaDownlinkDemodDecodeConfig' function Add-VSGroundStationConfigAntennaUplinkConfig { <# .SYNOPSIS Adds an AWS::GroundStation::Config.AntennaUplinkConfig resource property to the template. Provides information about how AWS Ground Station should configure an antenna for uplink during a contact. .DESCRIPTION Adds an AWS::GroundStation::Config.AntennaUplinkConfig resource property to the template. Provides information about how AWS Ground Station should configure an antenna for uplink during a contact. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennauplinkconfig.html .PARAMETER SpectrumConfig Defines the spectrum configuration. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennauplinkconfig.html#cfn-groundstation-config-antennauplinkconfig-spectrumconfig UpdateType: Mutable Type: UplinkSpectrumConfig .PARAMETER TargetEirp The equivalent isotropically radiated power EIRP to use for uplink transmissions. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennauplinkconfig.html#cfn-groundstation-config-antennauplinkconfig-targeteirp UpdateType: Mutable Type: Eirp .PARAMETER TransmitDisabled Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennauplinkconfig.html#cfn-groundstation-config-antennauplinkconfig-transmitdisabled UpdateType: Mutable PrimitiveType: Boolean .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigAntennaUplinkConfig])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] $SpectrumConfig, [parameter(Mandatory = $false)] $TargetEirp, [parameter(Mandatory = $false)] [object] $TransmitDisabled ) Process { $obj = [GroundStationConfigAntennaUplinkConfig]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigAntennaUplinkConfig' function Add-VSGroundStationConfigConfigData { <# .SYNOPSIS Adds an AWS::GroundStation::Config.ConfigData resource property to the template. Config objects provide information to Ground Station about how to configure the antenna and how data flows during a contact. .DESCRIPTION Adds an AWS::GroundStation::Config.ConfigData resource property to the template. Config objects provide information to Ground Station about how to configure the antenna and how data flows during a contact. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html .PARAMETER AntennaDownlinkConfig Provides information for an antenna downlink config object. Antenna downlink config objects are used to provide parameters for downlinks where no demodulation or decoding is performed by Ground Station RF over IP downlinks. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-antennadownlinkconfig UpdateType: Mutable Type: AntennaDownlinkConfig .PARAMETER TrackingConfig Provides information for a tracking config object. Tracking config objects are used to provide parameters about how to track the satellite through the sky during a contact. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-trackingconfig UpdateType: Mutable Type: TrackingConfig .PARAMETER DataflowEndpointConfig Provides information for a dataflow endpoint config object. Dataflow endpoint config objects are used to provide parameters about which IP endpoints to use during a contact. Dataflow endpoints are where Ground Station sends data during a downlink contact and where Ground Station receives data to send to the satellite during an uplink contact. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-dataflowendpointconfig UpdateType: Mutable Type: DataflowEndpointConfig .PARAMETER AntennaDownlinkDemodDecodeConfig Provides information for a downlink demod decode config object. Downlink demod decode config objects are used to provide parameters for downlinks where the Ground Station service will demodulate and decode the downlinked data. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-antennadownlinkdemoddecodeconfig UpdateType: Mutable Type: AntennaDownlinkDemodDecodeConfig .PARAMETER AntennaUplinkConfig Provides information for an uplink config object. Uplink config objects are used to provide parameters for uplink contacts. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-antennauplinkconfig UpdateType: Mutable Type: AntennaUplinkConfig .PARAMETER UplinkEchoConfig Provides information for an uplink echo config object. Uplink echo config objects are used to provide parameters for uplink echo during uplink contacts. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-uplinkechoconfig UpdateType: Mutable Type: UplinkEchoConfig .PARAMETER S3RecordingConfig Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-s3recordingconfig UpdateType: Mutable Type: S3RecordingConfig .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigConfigData])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] $AntennaDownlinkConfig, [parameter(Mandatory = $false)] $TrackingConfig, [parameter(Mandatory = $false)] $DataflowEndpointConfig, [parameter(Mandatory = $false)] $AntennaDownlinkDemodDecodeConfig, [parameter(Mandatory = $false)] $AntennaUplinkConfig, [parameter(Mandatory = $false)] $UplinkEchoConfig, [parameter(Mandatory = $false)] $S3RecordingConfig ) Process { $obj = [GroundStationConfigConfigData]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigConfigData' function Add-VSGroundStationConfigDataflowEndpointConfig { <# .SYNOPSIS Adds an AWS::GroundStation::Config.DataflowEndpointConfig resource property to the template. Provides information to AWS Ground Station about which IP endpoints to use during a contact. .DESCRIPTION Adds an AWS::GroundStation::Config.DataflowEndpointConfig resource property to the template. Provides information to AWS Ground Station about which IP endpoints to use during a contact. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-dataflowendpointconfig.html .PARAMETER DataflowEndpointName The name of the dataflow endpoint to use during contacts. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-dataflowendpointconfig.html#cfn-groundstation-config-dataflowendpointconfig-dataflowendpointname UpdateType: Mutable PrimitiveType: String .PARAMETER DataflowEndpointRegion The region of the dataflow endpoint to use during contacts. When omitted, Ground Station will use the region of the contact. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-dataflowendpointconfig.html#cfn-groundstation-config-dataflowendpointconfig-dataflowendpointregion UpdateType: Mutable PrimitiveType: String .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigDataflowEndpointConfig])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] [object] $DataflowEndpointName, [parameter(Mandatory = $false)] [object] $DataflowEndpointRegion ) Process { $obj = [GroundStationConfigDataflowEndpointConfig]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigDataflowEndpointConfig' function Add-VSGroundStationConfigDecodeConfig { <# .SYNOPSIS Adds an AWS::GroundStation::Config.DecodeConfig resource property to the template. Defines decoding settings. .DESCRIPTION Adds an AWS::GroundStation::Config.DecodeConfig resource property to the template. Defines decoding settings. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-decodeconfig.html .PARAMETER UnvalidatedJson The decoding settings are in JSON format and define a set of steps to perform to decode the data. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-decodeconfig.html#cfn-groundstation-config-decodeconfig-unvalidatedjson UpdateType: Mutable PrimitiveType: String .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigDecodeConfig])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] [object] $UnvalidatedJson ) Process { $obj = [GroundStationConfigDecodeConfig]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigDecodeConfig' function Add-VSGroundStationConfigDemodulationConfig { <# .SYNOPSIS Adds an AWS::GroundStation::Config.DemodulationConfig resource property to the template. Defines demodulation settings. .DESCRIPTION Adds an AWS::GroundStation::Config.DemodulationConfig resource property to the template. Defines demodulation settings. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-demodulationconfig.html .PARAMETER UnvalidatedJson The demodulation settings are in JSON format and define parameters for demodulation, for example which modulation scheme e.g. PSK, QPSK, etc. and matched filter to use. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-demodulationconfig.html#cfn-groundstation-config-demodulationconfig-unvalidatedjson UpdateType: Mutable PrimitiveType: String .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigDemodulationConfig])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] [object] $UnvalidatedJson ) Process { $obj = [GroundStationConfigDemodulationConfig]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigDemodulationConfig' function Add-VSGroundStationConfigEirp { <# .SYNOPSIS Adds an AWS::GroundStation::Config.Eirp resource property to the template. Defines an equivalent isotropically radiated power (EIRP. .DESCRIPTION Adds an AWS::GroundStation::Config.Eirp resource property to the template. Defines an equivalent isotropically radiated power (EIRP. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-eirp.html .PARAMETER Value The value of the EIRP. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-eirp.html#cfn-groundstation-config-eirp-value UpdateType: Mutable PrimitiveType: Double .PARAMETER Units The units of the EIRP. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-eirp.html#cfn-groundstation-config-eirp-units UpdateType: Mutable PrimitiveType: String .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigEirp])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] [object] $Value, [parameter(Mandatory = $false)] [object] $Units ) Process { $obj = [GroundStationConfigEirp]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigEirp' function Add-VSGroundStationConfigFrequency { <# .SYNOPSIS Adds an AWS::GroundStation::Config.Frequency resource property to the template. Defines a frequency. .DESCRIPTION Adds an AWS::GroundStation::Config.Frequency resource property to the template. Defines a frequency. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-frequency.html .PARAMETER Value The value of the frequency. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-frequency.html#cfn-groundstation-config-frequency-value UpdateType: Mutable PrimitiveType: Double .PARAMETER Units The units of the frequency. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-frequency.html#cfn-groundstation-config-frequency-units UpdateType: Mutable PrimitiveType: String .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigFrequency])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] [object] $Value, [parameter(Mandatory = $false)] [object] $Units ) Process { $obj = [GroundStationConfigFrequency]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigFrequency' function Add-VSGroundStationConfigFrequencyBandwidth { <# .SYNOPSIS Adds an AWS::GroundStation::Config.FrequencyBandwidth resource property to the template. .DESCRIPTION Adds an AWS::GroundStation::Config.FrequencyBandwidth resource property to the template. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-frequencybandwidth.html .PARAMETER Value Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-frequencybandwidth.html#cfn-groundstation-config-frequencybandwidth-value UpdateType: Mutable PrimitiveType: Double .PARAMETER Units Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-frequencybandwidth.html#cfn-groundstation-config-frequencybandwidth-units UpdateType: Mutable PrimitiveType: String .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigFrequencyBandwidth])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] [object] $Value, [parameter(Mandatory = $false)] [object] $Units ) Process { $obj = [GroundStationConfigFrequencyBandwidth]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigFrequencyBandwidth' function Add-VSGroundStationConfigS3RecordingConfig { <# .SYNOPSIS Adds an AWS::GroundStation::Config.S3RecordingConfig resource property to the template. .DESCRIPTION Adds an AWS::GroundStation::Config.S3RecordingConfig resource property to the template. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-s3recordingconfig.html .PARAMETER BucketArn Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-s3recordingconfig.html#cfn-groundstation-config-s3recordingconfig-bucketarn UpdateType: Mutable PrimitiveType: String .PARAMETER RoleArn Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-s3recordingconfig.html#cfn-groundstation-config-s3recordingconfig-rolearn UpdateType: Mutable PrimitiveType: String .PARAMETER Prefix Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-s3recordingconfig.html#cfn-groundstation-config-s3recordingconfig-prefix UpdateType: Mutable PrimitiveType: String .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigS3RecordingConfig])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] [object] $BucketArn, [parameter(Mandatory = $false)] [object] $RoleArn, [parameter(Mandatory = $false)] [object] $Prefix ) Process { $obj = [GroundStationConfigS3RecordingConfig]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigS3RecordingConfig' function Add-VSGroundStationConfigSpectrumConfig { <# .SYNOPSIS Adds an AWS::GroundStation::Config.SpectrumConfig resource property to the template. Defines a spectrum. .DESCRIPTION Adds an AWS::GroundStation::Config.SpectrumConfig resource property to the template. Defines a spectrum. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-spectrumconfig.html .PARAMETER CenterFrequency The center frequency of the spectrum. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-spectrumconfig.html#cfn-groundstation-config-spectrumconfig-centerfrequency UpdateType: Mutable Type: Frequency .PARAMETER Bandwidth The bandwidth of the spectrum. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-spectrumconfig.html#cfn-groundstation-config-spectrumconfig-bandwidth UpdateType: Mutable Type: FrequencyBandwidth .PARAMETER Polarization The polarization of the spectrum. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-spectrumconfig.html#cfn-groundstation-config-spectrumconfig-polarization UpdateType: Mutable PrimitiveType: String .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigSpectrumConfig])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] $CenterFrequency, [parameter(Mandatory = $false)] $Bandwidth, [parameter(Mandatory = $false)] [object] $Polarization ) Process { $obj = [GroundStationConfigSpectrumConfig]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigSpectrumConfig' function Add-VSGroundStationConfigTrackingConfig { <# .SYNOPSIS Adds an AWS::GroundStation::Config.TrackingConfig resource property to the template. Provides information about how AWS Ground Station should track the satellite through the sky during a contact. .DESCRIPTION Adds an AWS::GroundStation::Config.TrackingConfig resource property to the template. Provides information about how AWS Ground Station should track the satellite through the sky during a contact. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-trackingconfig.html .PARAMETER Autotrack Specifies whether or not to use autotrack. REMOVED specifies that program track should only be used during the contact. PREFERRED specifies that autotracking is preferred during the contact but fallback to program track if the signal is lost. REQUIRED specifies that autotracking is required during the contact and not to use program track if the signal is lost. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-trackingconfig.html#cfn-groundstation-config-trackingconfig-autotrack UpdateType: Mutable PrimitiveType: String .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigTrackingConfig])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] [object] $Autotrack ) Process { $obj = [GroundStationConfigTrackingConfig]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigTrackingConfig' function Add-VSGroundStationConfigUplinkEchoConfig { <# .SYNOPSIS Adds an AWS::GroundStation::Config.UplinkEchoConfig resource property to the template. Provides information about how AWS Ground Station should echo back uplink transmissions to a dataflow endpoint. .DESCRIPTION Adds an AWS::GroundStation::Config.UplinkEchoConfig resource property to the template. Provides information about how AWS Ground Station should echo back uplink transmissions to a dataflow endpoint. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-uplinkechoconfig.html .PARAMETER Enabled Whether or not uplink echo is enabled. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-uplinkechoconfig.html#cfn-groundstation-config-uplinkechoconfig-enabled UpdateType: Mutable PrimitiveType: Boolean .PARAMETER AntennaUplinkConfigArn Defines the ARN of the uplink config to echo back to a dataflow endpoint. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-uplinkechoconfig.html#cfn-groundstation-config-uplinkechoconfig-antennauplinkconfigarn UpdateType: Mutable PrimitiveType: String .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigUplinkEchoConfig])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] [object] $Enabled, [parameter(Mandatory = $false)] [object] $AntennaUplinkConfigArn ) Process { $obj = [GroundStationConfigUplinkEchoConfig]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigUplinkEchoConfig' function Add-VSGroundStationConfigUplinkSpectrumConfig { <# .SYNOPSIS Adds an AWS::GroundStation::Config.UplinkSpectrumConfig resource property to the template. .DESCRIPTION Adds an AWS::GroundStation::Config.UplinkSpectrumConfig resource property to the template. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-uplinkspectrumconfig.html .PARAMETER CenterFrequency Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-uplinkspectrumconfig.html#cfn-groundstation-config-uplinkspectrumconfig-centerfrequency UpdateType: Mutable Type: Frequency .PARAMETER Polarization Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-uplinkspectrumconfig.html#cfn-groundstation-config-uplinkspectrumconfig-polarization UpdateType: Mutable PrimitiveType: String .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfigUplinkSpectrumConfig])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] $CenterFrequency, [parameter(Mandatory = $false)] [object] $Polarization ) Process { $obj = [GroundStationConfigUplinkSpectrumConfig]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationConfigUplinkSpectrumConfig' function Add-VSGroundStationDataflowEndpointGroupDataflowEndpoint { <# .SYNOPSIS Adds an AWS::GroundStation::DataflowEndpointGroup.DataflowEndpoint resource property to the template. Contains information such as socket address and name that defines an endpoint. .DESCRIPTION Adds an AWS::GroundStation::DataflowEndpointGroup.DataflowEndpoint resource property to the template. Contains information such as socket address and name that defines an endpoint. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-dataflowendpoint.html .PARAMETER Name The endpoint name. When listing available contacts for a satellite, Ground Station searches for a dataflow endpoint whose name matches the value specified by the dataflow endpoint config of the selected mission profile. If no matching dataflow endpoints are found then Ground Station will not display any available contacts for the satellite. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-dataflowendpoint.html#cfn-groundstation-dataflowendpointgroup-dataflowendpoint-name UpdateType: Mutable PrimitiveType: String .PARAMETER Address The address and port of an endpoint. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-dataflowendpoint.html#cfn-groundstation-dataflowendpointgroup-dataflowendpoint-address UpdateType: Mutable Type: SocketAddress .PARAMETER Mtu Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-dataflowendpoint.html#cfn-groundstation-dataflowendpointgroup-dataflowendpoint-mtu UpdateType: Mutable PrimitiveType: Integer .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationDataflowEndpointGroupDataflowEndpoint])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] [object] $Name, [parameter(Mandatory = $false)] $Address, [parameter(Mandatory = $false)] [object] $Mtu ) Process { $obj = [GroundStationDataflowEndpointGroupDataflowEndpoint]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationDataflowEndpointGroupDataflowEndpoint' function Add-VSGroundStationDataflowEndpointGroupEndpointDetails { <# .SYNOPSIS Adds an AWS::GroundStation::DataflowEndpointGroup.EndpointDetails resource property to the template. The security details and endpoint information. .DESCRIPTION Adds an AWS::GroundStation::DataflowEndpointGroup.EndpointDetails resource property to the template. The security details and endpoint information. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-endpointdetails.html .PARAMETER SecurityDetails The role ARN, and IDs for security groups and subnets. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-endpointdetails.html#cfn-groundstation-dataflowendpointgroup-endpointdetails-securitydetails UpdateType: Mutable Type: SecurityDetails .PARAMETER Endpoint Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-endpointdetails.html#cfn-groundstation-dataflowendpointgroup-endpointdetails-endpoint UpdateType: Mutable Type: DataflowEndpoint .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationDataflowEndpointGroupEndpointDetails])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] $SecurityDetails, [parameter(Mandatory = $false)] $Endpoint ) Process { $obj = [GroundStationDataflowEndpointGroupEndpointDetails]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationDataflowEndpointGroupEndpointDetails' function Add-VSGroundStationDataflowEndpointGroupSecurityDetails { <# .SYNOPSIS Adds an AWS::GroundStation::DataflowEndpointGroup.SecurityDetails resource property to the template. Information about IAM roles, subnets, and security groups needed for this DataflowEndpointGroup. .DESCRIPTION Adds an AWS::GroundStation::DataflowEndpointGroup.SecurityDetails resource property to the template. Information about IAM roles, subnets, and security groups needed for this DataflowEndpointGroup. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-securitydetails.html .PARAMETER SubnetIds The subnet Ids of the security details, such as subnet-12345678. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-securitydetails.html#cfn-groundstation-dataflowendpointgroup-securitydetails-subnetids UpdateType: Mutable Type: List PrimitiveItemType: String .PARAMETER SecurityGroupIds The security group Ids of the security role, such as sg-1234567890abcdef0. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-securitydetails.html#cfn-groundstation-dataflowendpointgroup-securitydetails-securitygroupids UpdateType: Mutable Type: List PrimitiveItemType: String .PARAMETER RoleArn The ARN of a role which Ground Station has permission to assume, such as arn:aws:iam::1234567890:role/DataDeliveryServiceRole. Ground Station will assume this role and create an ENI in your VPC on the specified subnet upon creation of a dataflow endpoint group. This ENI is used as the ingress/egress point for data streamed during a satellite contact. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-securitydetails.html#cfn-groundstation-dataflowendpointgroup-securitydetails-rolearn UpdateType: Mutable PrimitiveType: String .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationDataflowEndpointGroupSecurityDetails])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] $SubnetIds, [parameter(Mandatory = $false)] $SecurityGroupIds, [parameter(Mandatory = $false)] [object] $RoleArn ) Process { $obj = [GroundStationDataflowEndpointGroupSecurityDetails]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationDataflowEndpointGroupSecurityDetails' function Add-VSGroundStationDataflowEndpointGroupSocketAddress { <# .SYNOPSIS Adds an AWS::GroundStation::DataflowEndpointGroup.SocketAddress resource property to the template. The address of the endpoint, such as 192.168.1.1. .DESCRIPTION Adds an AWS::GroundStation::DataflowEndpointGroup.SocketAddress resource property to the template. The address of the endpoint, such as 192.168.1.1. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-socketaddress.html .PARAMETER Name The name of the endpoint, such as Endpoint 1. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-socketaddress.html#cfn-groundstation-dataflowendpointgroup-socketaddress-name UpdateType: Mutable PrimitiveType: String .PARAMETER Port The port of the endpoint, such as 55888. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-socketaddress.html#cfn-groundstation-dataflowendpointgroup-socketaddress-port UpdateType: Mutable PrimitiveType: Integer .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationDataflowEndpointGroupSocketAddress])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] [object] $Name, [parameter(Mandatory = $false)] [object] $Port ) Process { $obj = [GroundStationDataflowEndpointGroupSocketAddress]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationDataflowEndpointGroupSocketAddress' function Add-VSGroundStationMissionProfileDataflowEdge { <# .SYNOPSIS Adds an AWS::GroundStation::MissionProfile.DataflowEdge resource property to the template. A dataflow edge defines from where and to where data will flow during a contact. .DESCRIPTION Adds an AWS::GroundStation::MissionProfile.DataflowEdge resource property to the template. A dataflow edge defines from where and to where data will flow during a contact. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-missionprofile-dataflowedge.html .PARAMETER Source The ARN of the source for this dataflow edge. For example, specify the ARN of an antenna downlink config for a downlink edge or a dataflow endpoint config for an uplink edge. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-missionprofile-dataflowedge.html#cfn-groundstation-missionprofile-dataflowedge-source UpdateType: Mutable PrimitiveType: String .PARAMETER Destination The ARN of the destination for this dataflow edge. For example, specify the ARN of a dataflow endpoint config for a downlink edge or an antenna uplink config for an uplink edge. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-missionprofile-dataflowedge.html#cfn-groundstation-missionprofile-dataflowedge-destination UpdateType: Mutable PrimitiveType: String .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationMissionProfileDataflowEdge])] [cmdletbinding()] Param( [parameter(Mandatory = $false)] [object] $Source, [parameter(Mandatory = $false)] [object] $Destination ) Process { $obj = [GroundStationMissionProfileDataflowEdge]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'Add-VSGroundStationMissionProfileDataflowEdge' function New-VSGroundStationConfig { <# .SYNOPSIS Adds an AWS::GroundStation::Config resource to the template. Creates a Config with the specified parameters. .DESCRIPTION Adds an AWS::GroundStation::Config resource to the template. Creates a Config with the specified parameters. Config objects provide Ground Station with the details necessary in order to schedule and execute satellite contacts. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-config.html .PARAMETER LogicalId The logical ID must be alphanumeric (A-Za-z0-9) and unique within the template. Use the logical name to reference the resource in other parts of the template. For example, if you want to map an Amazon Elastic Block Store volume to an Amazon EC2 instance, you reference the logical IDs to associate the block stores with the instance. .PARAMETER Name The name of the config object. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-config.html#cfn-groundstation-config-name UpdateType: Mutable PrimitiveType: String .PARAMETER Tags Tags assigned to a resource. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-config.html#cfn-groundstation-config-tags UpdateType: Mutable Type: List ItemType: Tag .PARAMETER ConfigData Object containing the parameters of a config. Only one subtype may be specified per config. See the subtype definitions for a description of each config subtype. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-config.html#cfn-groundstation-config-configdata UpdateType: Mutable Type: ConfigData .PARAMETER DeletionPolicy With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted. You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default. To keep a resource when its stack is deleted, specify Retain for that resource. You can use retain for any resource. For example, you can retain a nested stack, S3 bucket, or EC2 instance so that you can continue to use or modify those resources after you delete their stacks. You must use one of the following options: "Delete","Retain","Snapshot" .PARAMETER UpdateReplacePolicy Use the UpdateReplacePolicy attribute to retain or (in some cases) backup the existing physical instance of a resource when it is replaced during a stack update operation. When you initiate a stack update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template and parameters. If you update a resource property that requires that the resource be replaced, AWS CloudFormation recreates the resource during the update. Recreating the resource generates a new physical ID. AWS CloudFormation creates the replacement resource first, and then changes references from other dependent resources to point to the replacement resource. By default, AWS CloudFormation then deletes the old resource. Using the UpdateReplacePolicy, you can specify that AWS CloudFormation retain or (in some cases) create a snapshot of the old resource. For resources that support snapshots, such as AWS::EC2::Volume, specify Snapshot to have AWS CloudFormation create a snapshot before deleting the old resource instance. You can apply the UpdateReplacePolicy attribute to any resource. UpdateReplacePolicy is only executed if you update a resource property whose update behavior is specified as Replacement, thereby causing AWS CloudFormation to replace the old resource with a new one with a new physical ID. For example, if you update the Engine property of an AWS::RDS::DBInstance resource type, AWS CloudFormation creates a new resource and replaces the current DB instance resource with the new one. The UpdateReplacePolicy attribute would then dictate whether AWS CloudFormation deleted, retained, or created a snapshot of the old DB instance. The update behavior for each property of a resource is specified in the reference topic for that resource in the AWS Resource and Property Types Reference. For more information on resource update behavior, see Update Behaviors of Stack Resources. The UpdateReplacePolicy attribute applies to stack updates you perform directly, as well as stack updates performed using change sets. Note Resources that are retained continue to exist and continue to incur applicable charges until you delete those resources. Snapshots that are created with this policy continue to exist and continue to incur applicable charges until you delete those snapshots. UpdateReplacePolicy retains the old physical resource or snapshot, but removes it from AWS CloudFormation's scope. UpdateReplacePolicy differs from the DeletionPolicy attribute in that it only applies to resources replaced during stack updates. Use DeletionPolicy for resources deleted when a stack is deleted, or when the resource definition itself is deleted from the template as part of a stack update. You must use one of the following options: "Delete","Retain","Snapshot" .PARAMETER DependsOn With the DependsOn attribute you can specify that the creation of a specific resource follows another. When you add a DependsOn attribute to a resource, that resource is created only after the creation of the resource specified in the DependsOn attribute. This parameter takes a string or list of strings representing Logical IDs of resources that must be created prior to this resource being created. .PARAMETER Metadata The Metadata attribute enables you to associate structured data with a resource. By adding a Metadata attribute to a resource, you can add data in JSON or YAML to the resource declaration. In addition, you can use intrinsic functions (such as GetAtt and Ref), parameters, and pseudo parameters within the Metadata attribute to add those interpreted values. This will be returned when describing the resource using AWS CLI. .PARAMETER UpdatePolicy Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource. AWS CloudFormation invokes one of three update policies depending on the type of change you make or whether a scheduled action is associated with the Auto Scaling group. You must use the "Add-UpdatePolicy" function or the [UpdatePolicy] class here. .PARAMETER Condition Logical ID of the condition that this resource needs to be true in order for this resource to be provisioned. .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationConfig])] [cmdletbinding()] Param( [parameter(Mandatory = $true,Position = 0)] [ValidateLogicalId()] [string] $LogicalId, [parameter(Mandatory = $true)] [object] $Name, [TransformTag()] [object] [parameter(Mandatory = $false)] $Tags, [parameter(Mandatory = $true)] $ConfigData, [parameter()] [DeletionPolicy] $DeletionPolicy, [parameter()] [UpdateReplacePolicy] $UpdateReplacePolicy, [parameter(Mandatory = $false)] [string[]] $DependsOn, [parameter(Mandatory = $false)] [VSJson] $Metadata, [parameter(Mandatory = $false)] [UpdatePolicy] $UpdatePolicy, [parameter(Mandatory = $false)] [string] $Condition ) Process { $obj = [GroundStationConfig]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'New-VSGroundStationConfig' function New-VSGroundStationDataflowEndpointGroup { <# .SYNOPSIS Adds an AWS::GroundStation::DataflowEndpointGroup resource to the template. Creates a Dataflow Endpoint Group request. .DESCRIPTION Adds an AWS::GroundStation::DataflowEndpointGroup resource to the template. Creates a Dataflow Endpoint Group request. Dataflow endpoint groups contain a list of endpoints. When the name of a dataflow endpoint group is specified in a mission profile, the Ground Station service will connect to the endpoints and flow data during a contact. For more information about dataflow endpoint groups, see Dataflow Endpoint Groups: https://docs.aws.amazon.com/ground-station/latest/ug/dataflowendpointgroups.html. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-dataflowendpointgroup.html .PARAMETER LogicalId The logical ID must be alphanumeric (A-Za-z0-9) and unique within the template. Use the logical name to reference the resource in other parts of the template. For example, if you want to map an Amazon Elastic Block Store volume to an Amazon EC2 instance, you reference the logical IDs to associate the block stores with the instance. .PARAMETER EndpointDetails Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-dataflowendpointgroup.html#cfn-groundstation-dataflowendpointgroup-endpointdetails UpdateType: Mutable Type: List ItemType: EndpointDetails .PARAMETER Tags Tags assigned to a resource. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-dataflowendpointgroup.html#cfn-groundstation-dataflowendpointgroup-tags UpdateType: Mutable Type: List ItemType: Tag .PARAMETER DeletionPolicy With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted. You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default. To keep a resource when its stack is deleted, specify Retain for that resource. You can use retain for any resource. For example, you can retain a nested stack, S3 bucket, or EC2 instance so that you can continue to use or modify those resources after you delete their stacks. You must use one of the following options: "Delete","Retain","Snapshot" .PARAMETER UpdateReplacePolicy Use the UpdateReplacePolicy attribute to retain or (in some cases) backup the existing physical instance of a resource when it is replaced during a stack update operation. When you initiate a stack update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template and parameters. If you update a resource property that requires that the resource be replaced, AWS CloudFormation recreates the resource during the update. Recreating the resource generates a new physical ID. AWS CloudFormation creates the replacement resource first, and then changes references from other dependent resources to point to the replacement resource. By default, AWS CloudFormation then deletes the old resource. Using the UpdateReplacePolicy, you can specify that AWS CloudFormation retain or (in some cases) create a snapshot of the old resource. For resources that support snapshots, such as AWS::EC2::Volume, specify Snapshot to have AWS CloudFormation create a snapshot before deleting the old resource instance. You can apply the UpdateReplacePolicy attribute to any resource. UpdateReplacePolicy is only executed if you update a resource property whose update behavior is specified as Replacement, thereby causing AWS CloudFormation to replace the old resource with a new one with a new physical ID. For example, if you update the Engine property of an AWS::RDS::DBInstance resource type, AWS CloudFormation creates a new resource and replaces the current DB instance resource with the new one. The UpdateReplacePolicy attribute would then dictate whether AWS CloudFormation deleted, retained, or created a snapshot of the old DB instance. The update behavior for each property of a resource is specified in the reference topic for that resource in the AWS Resource and Property Types Reference. For more information on resource update behavior, see Update Behaviors of Stack Resources. The UpdateReplacePolicy attribute applies to stack updates you perform directly, as well as stack updates performed using change sets. Note Resources that are retained continue to exist and continue to incur applicable charges until you delete those resources. Snapshots that are created with this policy continue to exist and continue to incur applicable charges until you delete those snapshots. UpdateReplacePolicy retains the old physical resource or snapshot, but removes it from AWS CloudFormation's scope. UpdateReplacePolicy differs from the DeletionPolicy attribute in that it only applies to resources replaced during stack updates. Use DeletionPolicy for resources deleted when a stack is deleted, or when the resource definition itself is deleted from the template as part of a stack update. You must use one of the following options: "Delete","Retain","Snapshot" .PARAMETER DependsOn With the DependsOn attribute you can specify that the creation of a specific resource follows another. When you add a DependsOn attribute to a resource, that resource is created only after the creation of the resource specified in the DependsOn attribute. This parameter takes a string or list of strings representing Logical IDs of resources that must be created prior to this resource being created. .PARAMETER Metadata The Metadata attribute enables you to associate structured data with a resource. By adding a Metadata attribute to a resource, you can add data in JSON or YAML to the resource declaration. In addition, you can use intrinsic functions (such as GetAtt and Ref), parameters, and pseudo parameters within the Metadata attribute to add those interpreted values. This will be returned when describing the resource using AWS CLI. .PARAMETER UpdatePolicy Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource. AWS CloudFormation invokes one of three update policies depending on the type of change you make or whether a scheduled action is associated with the Auto Scaling group. You must use the "Add-UpdatePolicy" function or the [UpdatePolicy] class here. .PARAMETER Condition Logical ID of the condition that this resource needs to be true in order for this resource to be provisioned. .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationDataflowEndpointGroup])] [cmdletbinding()] Param( [parameter(Mandatory = $true,Position = 0)] [ValidateLogicalId()] [string] $LogicalId, [parameter(Mandatory = $true)] [object] $EndpointDetails, [TransformTag()] [object] [parameter(Mandatory = $false)] $Tags, [parameter()] [DeletionPolicy] $DeletionPolicy, [parameter()] [UpdateReplacePolicy] $UpdateReplacePolicy, [parameter(Mandatory = $false)] [string[]] $DependsOn, [parameter(Mandatory = $false)] [VSJson] $Metadata, [parameter(Mandatory = $false)] [UpdatePolicy] $UpdatePolicy, [parameter(Mandatory = $false)] [string] $Condition ) Process { $obj = [GroundStationDataflowEndpointGroup]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'New-VSGroundStationDataflowEndpointGroup' function New-VSGroundStationMissionProfile { <# .SYNOPSIS Adds an AWS::GroundStation::MissionProfile resource to the template. Mission profiles specify parameters and provide references to config objects to define how Ground Station lists and executes contacts. .DESCRIPTION Adds an AWS::GroundStation::MissionProfile resource to the template. Mission profiles specify parameters and provide references to config objects to define how Ground Station lists and executes contacts. .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html .PARAMETER LogicalId The logical ID must be alphanumeric (A-Za-z0-9) and unique within the template. Use the logical name to reference the resource in other parts of the template. For example, if you want to map an Amazon Elastic Block Store volume to an Amazon EC2 instance, you reference the logical IDs to associate the block stores with the instance. .PARAMETER Name The name of the mission profile. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-name UpdateType: Mutable PrimitiveType: String .PARAMETER ContactPrePassDurationSeconds Amount of time in seconds prior to contact start that you'd like to receive a CloudWatch Event indicating an upcoming pass. For more information on CloudWatch Events, see the What Is CloudWatch Events?: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/WhatIsCloudWatchEvents.html Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-contactprepassdurationseconds UpdateType: Mutable PrimitiveType: Integer .PARAMETER ContactPostPassDurationSeconds Amount of time in seconds after a contact ends that you’d like to receive a CloudWatch Event indicating the pass has finished. For more information on CloudWatch Events, see the What Is CloudWatch Events?: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/WhatIsCloudWatchEvents.html Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-contactpostpassdurationseconds UpdateType: Mutable PrimitiveType: Integer .PARAMETER MinimumViableContactDurationSeconds Minimum length of a contact in seconds that Ground Station will return when listing contacts. Ground Station will not return contacts shorter than this duration. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-minimumviablecontactdurationseconds UpdateType: Mutable PrimitiveType: Integer .PARAMETER DataflowEdges A list containing lists of config ARNs. Each list of config ARNs is an edge, with a "from" config and a "to" config. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-dataflowedges UpdateType: Mutable Type: List ItemType: DataflowEdge .PARAMETER TrackingConfigArn The ARN of a tracking config objects that defines how to track the satellite through the sky during a contact. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-trackingconfigarn UpdateType: Mutable PrimitiveType: String .PARAMETER Tags Tags assigned to the mission profile. Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-tags UpdateType: Mutable Type: List ItemType: Tag .PARAMETER DeletionPolicy With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted. You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default. To keep a resource when its stack is deleted, specify Retain for that resource. You can use retain for any resource. For example, you can retain a nested stack, S3 bucket, or EC2 instance so that you can continue to use or modify those resources after you delete their stacks. You must use one of the following options: "Delete","Retain","Snapshot" .PARAMETER UpdateReplacePolicy Use the UpdateReplacePolicy attribute to retain or (in some cases) backup the existing physical instance of a resource when it is replaced during a stack update operation. When you initiate a stack update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template and parameters. If you update a resource property that requires that the resource be replaced, AWS CloudFormation recreates the resource during the update. Recreating the resource generates a new physical ID. AWS CloudFormation creates the replacement resource first, and then changes references from other dependent resources to point to the replacement resource. By default, AWS CloudFormation then deletes the old resource. Using the UpdateReplacePolicy, you can specify that AWS CloudFormation retain or (in some cases) create a snapshot of the old resource. For resources that support snapshots, such as AWS::EC2::Volume, specify Snapshot to have AWS CloudFormation create a snapshot before deleting the old resource instance. You can apply the UpdateReplacePolicy attribute to any resource. UpdateReplacePolicy is only executed if you update a resource property whose update behavior is specified as Replacement, thereby causing AWS CloudFormation to replace the old resource with a new one with a new physical ID. For example, if you update the Engine property of an AWS::RDS::DBInstance resource type, AWS CloudFormation creates a new resource and replaces the current DB instance resource with the new one. The UpdateReplacePolicy attribute would then dictate whether AWS CloudFormation deleted, retained, or created a snapshot of the old DB instance. The update behavior for each property of a resource is specified in the reference topic for that resource in the AWS Resource and Property Types Reference. For more information on resource update behavior, see Update Behaviors of Stack Resources. The UpdateReplacePolicy attribute applies to stack updates you perform directly, as well as stack updates performed using change sets. Note Resources that are retained continue to exist and continue to incur applicable charges until you delete those resources. Snapshots that are created with this policy continue to exist and continue to incur applicable charges until you delete those snapshots. UpdateReplacePolicy retains the old physical resource or snapshot, but removes it from AWS CloudFormation's scope. UpdateReplacePolicy differs from the DeletionPolicy attribute in that it only applies to resources replaced during stack updates. Use DeletionPolicy for resources deleted when a stack is deleted, or when the resource definition itself is deleted from the template as part of a stack update. You must use one of the following options: "Delete","Retain","Snapshot" .PARAMETER DependsOn With the DependsOn attribute you can specify that the creation of a specific resource follows another. When you add a DependsOn attribute to a resource, that resource is created only after the creation of the resource specified in the DependsOn attribute. This parameter takes a string or list of strings representing Logical IDs of resources that must be created prior to this resource being created. .PARAMETER Metadata The Metadata attribute enables you to associate structured data with a resource. By adding a Metadata attribute to a resource, you can add data in JSON or YAML to the resource declaration. In addition, you can use intrinsic functions (such as GetAtt and Ref), parameters, and pseudo parameters within the Metadata attribute to add those interpreted values. This will be returned when describing the resource using AWS CLI. .PARAMETER UpdatePolicy Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource. AWS CloudFormation invokes one of three update policies depending on the type of change you make or whether a scheduled action is associated with the Auto Scaling group. You must use the "Add-UpdatePolicy" function or the [UpdatePolicy] class here. .PARAMETER Condition Logical ID of the condition that this resource needs to be true in order for this resource to be provisioned. .FUNCTIONALITY Vaporshell #> [OutputType([GroundStationMissionProfile])] [cmdletbinding()] Param( [parameter(Mandatory = $true,Position = 0)] [ValidateLogicalId()] [string] $LogicalId, [parameter(Mandatory = $true)] [object] $Name, [parameter(Mandatory = $false)] [object] $ContactPrePassDurationSeconds, [parameter(Mandatory = $false)] [object] $ContactPostPassDurationSeconds, [parameter(Mandatory = $true)] [object] $MinimumViableContactDurationSeconds, [parameter(Mandatory = $true)] [object] $DataflowEdges, [parameter(Mandatory = $true)] [object] $TrackingConfigArn, [TransformTag()] [object] [parameter(Mandatory = $false)] $Tags, [parameter()] [DeletionPolicy] $DeletionPolicy, [parameter()] [UpdateReplacePolicy] $UpdateReplacePolicy, [parameter(Mandatory = $false)] [string[]] $DependsOn, [parameter(Mandatory = $false)] [VSJson] $Metadata, [parameter(Mandatory = $false)] [UpdatePolicy] $UpdatePolicy, [parameter(Mandatory = $false)] [string] $Condition ) Process { $obj = [GroundStationMissionProfile]::new($PSBoundParameters) Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)" Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)" $obj } } Export-ModuleMember -Function 'New-VSGroundStationMissionProfile' |