Struct rusoto_organizations::CreatePolicyRequest
[−]
[src]
pub struct CreatePolicyRequest { pub content: String, pub description: String, pub name: String, pub type_: String, }
Fields
content: String
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.
description: String
An optional description to assign to the policy.
name: String
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.
type_: String
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]
fn default() -> CreatePolicyRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for CreatePolicyRequest
[src]
impl Clone for CreatePolicyRequest
[src]
fn clone(&self) -> CreatePolicyRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more