[][src]Struct rusoto_ec2::CreateSecurityGroupRequest

pub struct CreateSecurityGroupRequest {
    pub description: String,
    pub dry_run: Option<bool>,
    pub group_name: String,
    pub vpc_id: Option<String>,
}

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 Clone for CreateSecurityGroupRequest[src]

impl Default for CreateSecurityGroupRequest[src]

impl PartialEq<CreateSecurityGroupRequest> for CreateSecurityGroupRequest[src]

impl Debug for CreateSecurityGroupRequest[src]

impl StructuralPartialEq for CreateSecurityGroupRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self