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

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 ._-:/()#,@[]+=&;{}!$*

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.

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 ._-:/()#,@[]+=&;{}!$*

[EC2-VPC] The ID of the VPC. Required for EC2-VPC.

Trait Implementations

impl Default for CreateSecurityGroupRequest
[src]

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

impl Debug for CreateSecurityGroupRequest
[src]

Formats the value using the given formatter. Read more

impl Clone for CreateSecurityGroupRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for CreateSecurityGroupRequest
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations