Struct rusoto_organizations::CreatePolicyRequest [] [src]

pub struct CreatePolicyRequest {
    pub content: String,
    pub description: String,
    pub name: String,
    pub type_: String,
}

Fields

The policy content to add to the new policy. For example, if you create a service control policy (SCP), this string must be JSON text that specifies the permissions that admins in attached accounts can delegate to their users, groups, and roles. For more information about the SCP syntax, see Service Control Policy Syntax in the AWS Organizations User Guide.

An optional description to assign to the policy.

The friendly name to assign to the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

The type of policy to create.

In the current release, the only type of policy that you can create is a service control policy (SCP).

Trait Implementations

impl Default for CreatePolicyRequest
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for CreatePolicyRequest
[src]

[src]

Formats the value using the given formatter.

impl Clone for CreatePolicyRequest
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more