IIAMCreatePolicyRequest
Interface in AWS.IAM
Interface for CreatePolicy requests.
Ancestors
Properties
Description
property Description: string
Optionally, specify a description for the policy.
Path
property Path: string
Optionally, specify the path for the policy.
Must begin and end with a slash (/). If not specified, a default path prefix of / is used.
PolicyDocument
property PolicyDocument: string
Specify the JSON policy document for the policy.
The policy document must be provided in JSON format in IAM. <seealso href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_grammar.html"> Grammar of the IAM JSON policy language. )
PolicyName
property PolicyName: string
Specify a name for the policy.
Tags
property Tags: TList<IIAMTag>
Type: IIAMTag
Optionally, specify a list of tags to associated with the IAM policy.
Methods
AddTag
function AddTag(const AKey, AValue: string): NativeInt;
Add a key/value pair to Tags.
Parameters
| Name | Description |
|---|---|
AKey | Specify the key for the tag to add to Tags. |
AValue | Specify the value for the tag to add to Tags. |
Returns
Returns the index of the tag added to Tags.