Builder

class Builder

Properties

Link copied to clipboard

The policy text content to add to the new policy. The text that you supply must adhere to the rules of the policy type you specify in the Type parameter.

Link copied to clipboard

An optional description to assign to the policy.

Link copied to clipboard
var name: String?

The friendly name to assign to the policy.

Link copied to clipboard
var tags: List<Tag>?

A list of tags that you want to attach to the newly created policy. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging Organizations resources in the Organizations User Guide.

Link copied to clipboard

The type of policy to create. You can specify one of the following values: