CreateSecurityGroupRequest

public struct CreateSecurityGroupRequest : AWSShape

Undocumented

  • Declaration

    Swift

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

    Declaration

    Swift

    public let description: String
  • 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.

    Declaration

    Swift

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

    Declaration

    Swift

    public let groupName: String
  • The tags to assign to the security group.

    Declaration

    Swift

    public let tagSpecifications: [TagSpecification]?
  • [EC2-VPC] The ID of the VPC. Required for EC2-VPC.

    Declaration

    Swift

    public let vpcId: String?
  • Undocumented

    Declaration

    Swift

    public init(description: String, dryRun: Bool? = nil, groupName: String, tagSpecifications: [TagSpecification]? = nil, vpcId: String? = nil)