Here is the code to create a Redshift Cluster using Python boto3 library.
import boto3
obj = boto3.resource('redshift')
obj.create_cluster(
cluster_identifier='redshiftdemo',
node_type='dc2.large',
master_username='priyaj',
master_user_password='password123',
db_name='dev',
cluster_type='single-node',
cluster_security_groups='Priyaj SG',
vpc_security_group_ids='Priyaj SG',
cluster_subnet_group_name='priyajclustersubnet',
availability_zone='us-east-1a',
preferred_maintenance_window='None',
cluster_parameter_group_name='None',
automated_snapshot_retention_period='None',
port=5439,
cluster_version='None',
allow_version_upgrade='None',
number_of_nodes=1,
publicly_accessible='None',
encrypted='None')
Hope this helps.