VaporShell.StepFunctions.Classes.ps1

using namespace System
using namespace System.Collections
using namespace System.Collections.Generic
using namespace System.IO
using namespace System.Management.Automation
[CmdletBinding()]
Param()

Write-Verbose "Importing class 'StepFunctionsActivityTagsEntry'"

class StepFunctionsActivityTagsEntry : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSStepFunctionsActivityTagsEntry'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-activity-tagsentry.html'

    hidden [object] $_value
    hidden [object] $_key

    [string] $Value
    [string] $Key

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Value -Value {
            $this._value
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._value = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Key -Value {
            $this._key
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._key = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    StepFunctionsActivityTagsEntry() : base() {}
    StepFunctionsActivityTagsEntry([IDictionary] $props) : base($props) {}
    StepFunctionsActivityTagsEntry([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'StepFunctionsStateMachineDefinition'"

class StepFunctionsStateMachineDefinition : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSStepFunctionsStateMachineDefinition'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-definition.html'



    hidden [void] _addAccessors() {
    }

    StepFunctionsStateMachineDefinition() : base() {}
    StepFunctionsStateMachineDefinition([IDictionary] $props) : base($props) {}
    StepFunctionsStateMachineDefinition([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'StepFunctionsStateMachineLogDestination'"

class StepFunctionsStateMachineLogDestination : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSStepFunctionsStateMachineLogDestination'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-logdestination.html'

    hidden [object] $_cloudWatchLogsLogGroup

    [StepFunctionsStateMachineCloudWatchLogsLogGroup] $CloudWatchLogsLogGroup

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name CloudWatchLogsLogGroup -Value {
            $this._cloudWatchLogsLogGroup
        } -SecondValue {
            param([ValidateType(([StepFunctionsStateMachineCloudWatchLogsLogGroup], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._cloudWatchLogsLogGroup = $value
        }
    }

    StepFunctionsStateMachineLogDestination() : base() {}
    StepFunctionsStateMachineLogDestination([IDictionary] $props) : base($props) {}
    StepFunctionsStateMachineLogDestination([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'StepFunctionsStateMachineTagsEntry'"

class StepFunctionsStateMachineTagsEntry : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSStepFunctionsStateMachineTagsEntry'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-tagsentry.html'

    hidden [object] $_key
    hidden [object] $_value

    [string] $Key
    [string] $Value

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Key -Value {
            $this._key
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._key = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Value -Value {
            $this._value
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._value = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    StepFunctionsStateMachineTagsEntry() : base() {}
    StepFunctionsStateMachineTagsEntry([IDictionary] $props) : base($props) {}
    StepFunctionsStateMachineTagsEntry([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'StepFunctionsStateMachineLoggingConfiguration'"

class StepFunctionsStateMachineLoggingConfiguration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSStepFunctionsStateMachineLoggingConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-loggingconfiguration.html'

    hidden [object] $_level
    hidden [object] $_includeExecutionData
    hidden [object] $_destinations

    [string] $Level
    [bool] $IncludeExecutionData
    [StepFunctionsStateMachineLogDestination[]] $Destinations

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Level -Value {
            $this._level
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._level = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name IncludeExecutionData -Value {
            $this._includeExecutionData
        } -SecondValue {
            param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._includeExecutionData = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Destinations -Value {
            $this._destinations
        } -SecondValue {
            param([ValidateType(([StepFunctionsStateMachineLogDestination], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this._destinations = $value
        }
    }

    StepFunctionsStateMachineLoggingConfiguration() : base() {}
    StepFunctionsStateMachineLoggingConfiguration([IDictionary] $props) : base($props) {}
    StepFunctionsStateMachineLoggingConfiguration([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'StepFunctionsStateMachineS3Location'"

class StepFunctionsStateMachineS3Location : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSStepFunctionsStateMachineS3Location'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-s3location.html'

    hidden [object] $_bucket
    hidden [object] $_key
    hidden [object] $_version

    [string] $Bucket
    [string] $Key
    [string] $Version

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Bucket -Value {
            $this._bucket
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._bucket = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Key -Value {
            $this._key
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._key = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Version -Value {
            $this._version
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._version = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    StepFunctionsStateMachineS3Location() : base() {}
    StepFunctionsStateMachineS3Location([IDictionary] $props) : base($props) {}
    StepFunctionsStateMachineS3Location([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'StepFunctionsStateMachineCloudWatchLogsLogGroup'"

class StepFunctionsStateMachineCloudWatchLogsLogGroup : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSStepFunctionsStateMachineCloudWatchLogsLogGroup'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-cloudwatchlogsloggroup.html'

    hidden [object] $_logGroupArn

    [string] $LogGroupArn

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name LogGroupArn -Value {
            $this._logGroupArn
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._logGroupArn = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    StepFunctionsStateMachineCloudWatchLogsLogGroup() : base() {}
    StepFunctionsStateMachineCloudWatchLogsLogGroup([IDictionary] $props) : base($props) {}
    StepFunctionsStateMachineCloudWatchLogsLogGroup([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'StepFunctionsStateMachineTracingConfiguration'"

class StepFunctionsStateMachineTracingConfiguration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSStepFunctionsStateMachineTracingConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-tracingconfiguration.html'

    hidden [object] $_enabled

    [bool] $Enabled

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Enabled -Value {
            $this._enabled
        } -SecondValue {
            param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._enabled = $value
        }
    }

    StepFunctionsStateMachineTracingConfiguration() : base() {}
    StepFunctionsStateMachineTracingConfiguration([IDictionary] $props) : base($props) {}
    StepFunctionsStateMachineTracingConfiguration([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'StepFunctionsStateMachine'"

class StepFunctionsStateMachine : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSStepFunctionsStateMachine'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html'

    hidden [string[]] $_attributes = @('Arn','Name')
    hidden [object] $_condition

    [string] $Type = 'AWS::StepFunctions::StateMachine'
    [string] $DefinitionString
    [string] $RoleArn
    [string] $StateMachineName
    [string] $StateMachineType
    [StepFunctionsStateMachineLoggingConfiguration] $LoggingConfiguration
    [StepFunctionsStateMachineTracingConfiguration] $TracingConfiguration
    [StepFunctionsStateMachineS3Location] $DefinitionS3Location
    [string] $DefinitionSubstitutions
    [StepFunctionsStateMachineDefinition] $Definition
    [StepFunctionsStateMachineTagsEntry[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name DefinitionString -Value {
            $this.Properties['DefinitionString']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['DefinitionString'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name RoleArn -Value {
            $this.Properties['RoleArn']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['RoleArn'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name StateMachineName -Value {
            $this.Properties['StateMachineName']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['StateMachineName'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name StateMachineType -Value {
            $this.Properties['StateMachineType']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['StateMachineType'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name LoggingConfiguration -Value {
            $this.Properties['LoggingConfiguration']
        } -SecondValue {
            param([ValidateType(([StepFunctionsStateMachineLoggingConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['LoggingConfiguration'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name TracingConfiguration -Value {
            $this.Properties['TracingConfiguration']
        } -SecondValue {
            param([ValidateType(([StepFunctionsStateMachineTracingConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['TracingConfiguration'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name DefinitionS3Location -Value {
            $this.Properties['DefinitionS3Location']
        } -SecondValue {
            param([ValidateType(([StepFunctionsStateMachineS3Location], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['DefinitionS3Location'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name DefinitionSubstitutions -Value {
            $this.Properties['DefinitionSubstitutions']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['DefinitionSubstitutions'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Definition -Value {
            $this.Properties['Definition']
        } -SecondValue {
            param([ValidateType(([StepFunctionsStateMachineDefinition], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Definition'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Tags -Value {
            $this.Properties['Tags']
        } -SecondValue {
            param([ValidateType(([StepFunctionsStateMachineTagsEntry], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this.Properties['Tags'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

    StepFunctionsStateMachine() : base() {}
    StepFunctionsStateMachine([IDictionary] $props) : base($props) {}
    StepFunctionsStateMachine([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'StepFunctionsActivity'"

class StepFunctionsActivity : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSStepFunctionsActivity'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html'

    hidden [string[]] $_attributes = @('Name')
    hidden [object] $_condition

    [string] $Type = 'AWS::StepFunctions::Activity'
    [StepFunctionsActivityTagsEntry[]] $Tags
    [string] $Name
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name Tags -Value {
            $this.Properties['Tags']
        } -SecondValue {
            param([ValidateType(([StepFunctionsActivityTagsEntry], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this.Properties['Tags'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value {
            $this.Properties['Name']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Name'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

    StepFunctionsActivity() : base() {}
    StepFunctionsActivity([IDictionary] $props) : base($props) {}
    StepFunctionsActivity([psobject] $props) : base($props) {}
}