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

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]

[src]

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

impl Debug for CreateSecurityGroupRequest
[src]

[src]

Formats the value using the given formatter.

impl Clone for CreateSecurityGroupRequest
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more