examples package

Submodules

examples.ApiGateway module

examples.ApplicationAutoScalingSample module

examples.ApplicationELB module

examples.ApplicationELB.AddAMI(template)[source]
examples.ApplicationELB.main()[source]

examples.ApplicationLB_FixedActions module

examples.ApplicationLB_FixedActions.main()[source]

examples.AuroraServerlessRDS_SecretsManager module

examples.Autoscaling module

examples.AutoscalingHTTPRequests module

examples.Backup module

examples.Batch module

Batch.

Create the AWS Batch Compute environment and roles.

examples.CertificateManagerSample module

examples.ClassExtensions module

class examples.ClassExtensions.FrontendInstance(title: str | None, template: Template | None = None, validation: bool = True, **kwargs: Any)[source]

Bases: TrustyInstance

InstanceType = 't1.micro'
SecurityGroups = ['frontend']
class examples.ClassExtensions.ProcessingInstance(title: str | None, template: Template | None = None, validation: bool = True, **kwargs: Any)[source]

Bases: TrustyInstance

InstanceType = 'm3.large'
SecurityGroups = ['processing']
class examples.ClassExtensions.TrustyInstance(title: str | None, template: Template | None = None, validation: bool = True, **kwargs: Any)[source]

Bases: Instance

ImageId = 'ami-xxxx'
Monitoring = True

examples.CloudFormation_Init_ConfigSet module

examples.CloudFront_Distribution_S3 module

examples.CloudFront_StreamingDistribution_S3 module

examples.CloudTrail module

examples.CloudWatchEventsSample module

examples.CodeBuild module

examples.CodeDeploy module

examples.CodePipeline module

examples.CustomResource module

class examples.CustomResource.CustomPlacementGroup(title: str | None, template: Template | None = None, validation: bool = True, **kwargs: Any)[source]

Bases: AWSCustomObject

props: ClassVar[Dict[str, Tuple[Tuple[type, ...] | type | Callable[[Any], Any], bool]]] = {'PlacementGroupName': (<class 'str'>, True), 'ServiceToken': (<class 'str'>, True)}
resource_type: str | None = 'Custom::PlacementGroup'

examples.Dlm module

examples.DynamoDB_Table module

examples.DynamoDB_Table_With_GSI_And_NonKeyAttributes_Projection module

examples.DynamoDB_Table_With_GlobalSecondaryIndex module

examples.DynamoDB_Table_With_KinesisStreamSpecification module

examples.DynamoDB_Tables_OnDemand module

examples.EC2Conditions module

examples.EC2InstanceSample module

examples.EC2_Remove_Ephemeral_Drive module

examples.ECRSample module

examples.ECSCluster module

examples.ECSFargate module

examples.EFS module

examples.ELBSample module

examples.ELBSample.AddAMI(template)[source]
examples.ELBSample.main()[source]

examples.EMR_Cluster module

examples.EMR_Cluster.generate_rules(rules_name)[source]

examples.ElastiCacheRedis module

Converted from ElastiCache_Redis.template located at: http://aws.amazon.com/cloudformation/aws-cloudformation-templates/

In addition to troposphere, this script requires awacs (Amazon Web Access Control Subsystem)

examples.ElastiCacheRedis.main()[source]

Create a ElastiCache Redis Node and EC2 Instance

examples.ElasticBeanstalk_Nodejs_Sample module

examples.ElasticsearchDomain module

examples.Firehose_with_Redshift module

examples.IAM_Policies_SNS_Publish_To_SQS module

examples.IAM_Roles_and_InstanceProfiles module

examples.IAM_Users_Groups_and_Policies module

examples.IAM_Users_snippet module

examples.IoTAnalytics module

examples.IoTSample module

examples.Kinesis_Stream module

examples.Lambda module

examples.Mediapackage module

examples.Metadata module

examples.MskCluster module

examples.NatGateway module

examples.NetworkLB module

examples.NetworkLB.AddAMI(template)[source]
examples.NetworkLB.main()[source]

examples.OpenStack_AutoScaling module

examples.OpenStack_Server module

examples.OpsWorksSnippet module

examples.RDS_Snapshot_On_Delete module

examples.RDS_VPC module

examples.RDS_with_DBParameterGroup module

examples.Redshift module

examples.RedshiftClusterInVpc module

examples.Route53_A module

examples.Route53_CNAME module

examples.Route53_RoundRobin module

examples.S3_Bucket module

examples.S3_Bucket_With_AccelerateConfiguration module

examples.S3_Bucket_With_Versioning_And_Lifecycle_Rules module

examples.S3_Website_Bucket_With_Retain_On_Delete module

examples.SQSDLQ module

examples.SQSEncrypt module

examples.SQS_With_CloudWatch_Alarms module

examples.SSMExample module

examples.Secretsmanager module

examples.Secretsmanager_Rds module

examples.Serverless_Api_Backend module

examples.Serverless_Deployment_Preference module

examples.Serverless_S3_Processor module

examples.VPC_EC2_Instance_With_Multiple_Dynamic_IPAddresses module

examples.VPC_With_VPN_Connection module

examples.VPC_single_instance_in_subnet module

examples.VpnEndpoint module

examples.WAF_Common_Attacks_Sample module

examples.WAF_Regional_Common_Attacks_Sample module

examples.WaitObject module

Module contents