# ProServe::Organizations::Policy Policies in AWS Organizations ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "Type" : "ProServe::Organizations::Policy",
    "Properties" : {
        "PolicyName" : String,
        "PolicyType" : String,
        "PolicyDocument" : Map,
        "PolicyUrl" : String,
        "Description" : String,
    }
}
### YAML
Type: ProServe::Organizations::Policy
Properties:
    PolicyName: String
    PolicyType: String
    PolicyDocument: Map
    PolicyUrl: String
    Description: String
## Properties #### PolicyName Name of the Policy _Required_: No _Type_: String _Minimum_: 5 _Maximum_: 64 _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### PolicyType The type of policy to create. You can specify one of the following values: AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY, TAG_POLICY _Required_: No _Type_: String _Allowed Values_: SERVICE_CONTROL_POLICY | AISERVICES_OPT_OUT_POLICY | BACKUP_POLICY | TAG_POLICY _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### PolicyDocument The Policy Document _Required_: No _Type_: Map _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### PolicyUrl s3 URL to the location of the Policy json file _Required_: No _Type_: String _Pattern_: ^s3://[a-z0-9-]+/[a-z0-9-/]+ _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Description Human readable description of the policy _Required_: No _Type_: String _Minimum_: 5 _Maximum_: 250 _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) ## Return Values ### Ref When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the PolicyId. ### Fn::GetAtt The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values. For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html). #### PolicyId Id of the Policy #### Arn ARN of the Policy