Struct rusoto_ec2::CreateSecurityGroupRequest [−][src]
pub struct CreateSecurityGroupRequest { pub description: String, pub dry_run: Option<bool>, pub group_name: String, pub vpc_id: Option<String>, }
Contains the parameters for CreateSecurityGroup.
Fields
description: String
A description for the security group. This is informational only.
Constraints: Up to 255 characters in length
Constraints for EC2-Classic: ASCII characters
Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
group_name: String
The name of the security group.
Constraints: Up to 255 characters in length. Cannot start with sg-
.
Constraints for EC2-Classic: ASCII characters
Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
vpc_id: Option<String>
[EC2-VPC] The ID of the VPC. Required for EC2-VPC.
Trait Implementations
impl Default for CreateSecurityGroupRequest
[src]
impl Default for CreateSecurityGroupRequest
fn default() -> CreateSecurityGroupRequest
[src]
fn default() -> CreateSecurityGroupRequest
Returns the "default value" for a type. Read more
impl Debug for CreateSecurityGroupRequest
[src]
impl Debug for CreateSecurityGroupRequest
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 CreateSecurityGroupRequest
[src]
impl Clone for CreateSecurityGroupRequest
fn clone(&self) -> CreateSecurityGroupRequest
[src]
fn clone(&self) -> CreateSecurityGroupRequest
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 CreateSecurityGroupRequest
[src]
impl PartialEq for CreateSecurityGroupRequest
fn eq(&self, other: &CreateSecurityGroupRequest) -> bool
[src]
fn eq(&self, other: &CreateSecurityGroupRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateSecurityGroupRequest) -> bool
[src]
fn ne(&self, other: &CreateSecurityGroupRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateSecurityGroupRequest
impl Send for CreateSecurityGroupRequest
impl Sync for CreateSecurityGroupRequest
impl Sync for CreateSecurityGroupRequest