Add-FnBase64

Add-FnBase64

SYNOPSIS

Adds the intrinsic function “Fn::Base64” to a resource property

SYNTAX

Add-FnBase64 [-ValueToEncode] <Object> [<CommonParameters>]

DESCRIPTION

The intrinsic function Fn::Base64 returns the Base64 representation of the input string. This function is typically used to pass encoded data to Amazon EC2 instances by way of the UserData property.

PARAMETERS

-ValueToEncode

The string value you want to convert to Base64.

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
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.Function.Base64

NOTES

You can use any function that returns a string inside the Fn::Base64 function.

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