Add-FnBase64

Add-FnBase64

SYNOPSIS

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

SYNTAX

Add-FnBase64 [-ValueToEncode] <Object>

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

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