Add-ConEquals

Add-ConEquals

SYNOPSIS

Adds the condition function “Fn::Equals” to a resource property

SYNTAX

Add-ConEquals [-FirstValue] <Object> [-SecondValue] <Object> [<CommonParameters>]

DESCRIPTION

Compares if two values are equal. Returns true if the two values are equal or false if they aren’t.

PARAMETERS

-FirstValue

A value of any type that you want to compare against the SecondValue

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SecondValue

A value of any type that you want to compare against the FirstValue

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

Vaporshell.Condition.Equals

NOTES

You can use the following functions in this condition statement: Fn::FindInMap Ref Other condition functions

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-equals