CmdID

CmdID / aws / aws redshift

aws redshift create-cluster-security-group

Creates a new Amazon Redshift security group. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a cluster security group

The following create-cluster-security-group example creates a new cluster security group. By default, the output is in JSON format.

aws redshift create-cluster-security-group --cluster-security-group-name mysecuritygroup --description "This is my cluster security group"Identify
--cluster-security-group-nameThe name for the security group.
--descriptionA description for the security group.
Its output
{
    "ClusterSecurityGroup": {
        "ClusterSecurityGroupName": "mysecuritygroup",
        "Description": "This is my cluster security group",
        "EC2SecurityGroups": [],
        "IPRanges": [],
        "Tags": []
    }
}

You can also obtain the same information in text format using the --output text option.

aws redshift create-cluster-security-group --cluster-security-group-name mysecuritygroup --description "This is my cluster security group" --output textIdentify
--cluster-security-group-nameThe name for the security group.
--descriptionA description for the security group.
--outputThe formatting style for command output.
Its output
This is my cluster security group   123456789012    mysecuritygroup

For more information, see Infrastructure security in Amazon Redshift in the Amazon Redshift Management Guide.

Options

3 in the AWS CLI reference
--cluster-security-group-nameThe name for the security group.
--descriptionA description for the security group.
--tagsA list of tag instances.