Add-VSIAMRolePolicy

Add-VSIAMRolePolicy

SYNOPSIS

Adds an AWS::IAM::Role.Policy resource property to the template

SYNTAX

Add-VSIAMRolePolicy [-PolicyDocument] <Object> [-PolicyName] <Object> [<CommonParameters>]

DESCRIPTION

Adds an AWS::IAM::Role.Policy resource property to the template

PARAMETERS

-PolicyDocument

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html#cfn-iam-policies-policydocument
PrimitiveType: Json
Required: True
UpdateType: Mutable

Type: Object
Parameter Sets: (All)
Aliases:

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

-PolicyName

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html#cfn-iam-policies-policyname
PrimitiveType: String
Required: True
UpdateType: Mutable

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.Resource.IAM.Role.Policy

NOTES

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html