pub struct CreateSecurityGroupRequest {
pub description: String,
pub dry_run: Option<bool>,
pub group_name: String,
pub tag_specifications: Option<Vec<TagSpecification>>,
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 ._-:/()#,@[]+=&;{}!$*
tag_specifications: Option<Vec<TagSpecification>>
The tags to assign to the security group.
vpc_id: Option<String>
[EC2-VPC] The ID of the VPC. Required for EC2-VPC.
Trait Implementations§
Source§impl Clone for CreateSecurityGroupRequest
impl Clone for CreateSecurityGroupRequest
Source§fn clone(&self) -> CreateSecurityGroupRequest
fn clone(&self) -> CreateSecurityGroupRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more