aws.redshift package¶
Submodules¶
aws.redshift.helpers module¶
-
aws.redshift.helpers.
redshift_cluster_security_group_is_open_to_all_ips
(security_group)[source]¶ Returns True if the security group grants access to all IPs.
Does not check EC2 Security groups.
>>> redshift_cluster_security_group_is_open_to_all_ips({'IPRanges': [{'CIDRIP': '0.0.0.0/0'}]}) True >>> redshift_cluster_security_group_is_open_to_all_ips({'IPRanges': [{'CIDRIP': '::/0'}]}) True
>>> redshift_cluster_security_group_is_open_to_all_ips({'IPRanges': [{'CIDRIP': '192.168.1.1'}]}) False >>> redshift_cluster_security_group_is_open_to_all_ips({'IPRanges': []}) False >>> redshift_cluster_security_group_is_open_to_all_ips({}) False
aws.redshift.resources module¶
-
aws.redshift.resources.
redshift_clusters
()[source]¶ botocore.readthedocs.io/en/latest/reference/services/redshift.html#Redshift.Client.describe_clusters