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
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]
fn default() -> CreateSecurityGroupRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for CreateSecurityGroupRequest
[src]
impl Clone for CreateSecurityGroupRequest
[src]
fn clone(&self) -> CreateSecurityGroupRequest
[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