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]
impl Default for CreatePolicyRequest
fn default() -> CreatePolicyRequest
[src]
fn default() -> CreatePolicyRequest
Returns the "default value" for a type. Read more
impl Debug for CreatePolicyRequest
[src]
impl Debug for CreatePolicyRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CreatePolicyRequest
[src]
impl Clone for CreatePolicyRequest
fn clone(&self) -> CreatePolicyRequest
[src]
fn clone(&self) -> CreatePolicyRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for CreatePolicyRequest
[src]
impl PartialEq for CreatePolicyRequest
fn eq(&self, other: &CreatePolicyRequest) -> bool
[src]
fn eq(&self, other: &CreatePolicyRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreatePolicyRequest) -> bool
[src]
fn ne(&self, other: &CreatePolicyRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CreatePolicyRequest
impl Send for CreatePolicyRequest
impl Sync for CreatePolicyRequest
impl Sync for CreatePolicyRequest