# Functions
AddTagsToResource adds the tags to the given taggable AWS resource such as EC2, AMI or VPC.
AddTagsToResourceE adds the tags to the given taggable AWS resource such as EC2, AMI or VPC.
AssertS3BucketExists checks if the given S3 bucket exists in the given region and fail the test if it does not.
AssertS3BucketExistsE checks if the given S3 bucket exists in the given region and return an error if it does not.
AssertS3BucketPolicyExists checks if the given S3 bucket has a resource policy attached and returns an error if it does not.
AssertS3BucketPolicyExistsE checks if the given S3 bucket has a resource policy attached and returns an error if it does not.
AssertS3BucketVersioningExists checks if the given S3 bucket has a versioning configuration enabled and returns an error if it does not.
AssertS3BucketVersioningExistsE checks if the given S3 bucket has a versioning configuration enabled and returns an error if it does not.
CheckSsmCommand checks that you can run the given command on the given instance through AWS SSM.
CheckSsmCommandE checks that you can run the given command on the given instance through AWS SSM.
CheckSSMCommandWithClientE checks that you can run the given command on the given instance through AWS SSM with the ability to provide the SSM client.
CheckSSMCommandWithClientWithDocumentE checks that you can run the given command on the given instance through AWS SSM with the ability to provide the SSM client with specified Command Doc type.
CheckSsmCommandWithDocument checks that you can run the given command on the given instance through AWS SSM with specified Command Doc type.
CheckSsmCommandWithDocumentE checks that you can run the given command on the given instance through AWS SSM with specified Command Doc type.
CreateAndImportEC2KeyPair generates a public/private KeyPair and import it into EC2 in the given region under the given name.
CreateAndImportEC2KeyPairE generates a public/private KeyPair and import it into EC2 in the given region under the given name.
CreateAwsSessionWithCreds creates a new AWS Config using explicit credentials.
CreateAwsSessionWithMfa creates a new AWS Config authenticated using an MFA token retrieved using the given STS client and MFA Device.
CreateECRRepo creates a new ECR Repository.
CreateECRRepoE creates a new ECR Repository.
CreateEcsCluster creates ECS cluster in the given region under the given name.
CreateEcsClusterE creates ECS cluster in the given region under the given name.
CreateMfaDevice creates an MFA device using the given IAM client.
CreateMfaDeviceE creates an MFA device using the given IAM client.
CreateRandomFifoQueue creates a new FIFO SQS queue with a random name that starts with the given prefix and return the queue URL.
CreateRandomFifoQueueE creates a new FIFO SQS queue with a random name that starts with the given prefix and return the queue URL.
CreateRandomQueue creates a new SQS queue with a random name that starts with the given prefix and return the queue URL.
CreateRandomQueueE creates a new SQS queue with a random name that starts with the given prefix and return the queue URL.
CreateS3Bucket creates an S3 bucket in the given region with the given name.
CreateS3BucketE creates an S3 bucket in the given region with the given name.
CreateSecretStringWithDefaultKey creates a new secret in Secrets Manager using the default "aws/secretsmanager" KMS key and returns the secret ARN.
CreateSecretStringWithDefaultKeyE creates a new secret in Secrets Manager using the default "aws/secretsmanager" KMS key and returns the secret ARN.
CreateSnsTopic creates an SNS Topic and return the ARN.
CreateSnsTopicE creates an SNS Topic and return the ARN.
DeleteAmi deletes the given AMI in the given region.
DeleteAmiAndAllSnapshots will delete the given AMI along with all EBS snapshots that backed that AMI.
DeleteAmiAndAllSnapshotsE will delete the given AMI along with all EBS snapshots that backed that AMI.
DeleteAmiE deletes the given AMI in the given region.
DeleteEbsSnapshot deletes the given EBS snapshot.
DeleteEbsSnapshotE deletes the given EBS snapshot.
DeleteEC2KeyPair deletes an EC2 key pair.
DeleteEC2KeyPairE deletes an EC2 key pair.
DeleteECRRepo will force delete the ECR repo by deleting all images prior to deleting the ECR repository.
DeleteECRRepoE will force delete the ECR repo by deleting all images prior to deleting the ECR repository.
DeleteEcsClusterE deletes existing ECS cluster in the given region.
DeleteMessageFromQueue deletes the message with the given receipt from the SQS queue with the given URL.
DeleteMessageFromQueueE deletes the message with the given receipt from the SQS queue with the given URL.
DeleteParameter deletes all versions of SSM Parameter at keyName.
DeleteParameterE deletes all versions of SSM Parameter at keyName.
DeleteParameterWithClientE deletes all versions of SSM Parameter at keyName with the ability to provide the SSM client.
DeleteQueue deletes the SQS queue with the given URL.
DeleteQueueE deletes the SQS queue with the given URL.
DeleteS3Bucket destroys the S3 bucket in the given region with the given name.
DeleteS3BucketE destroys the S3 bucket in the given region with the given name.
DeleteSecret deletes a secret.
DeleteSecretE deletes a secret.
DeleteSNSTopic deletes an SNS Topic.
DeleteSNSTopicE deletes an SNS Topic.
EmptyS3Bucket removes the contents of an S3 bucket in the given region with the given name.
EmptyS3BucketE removes the contents of an S3 bucket in the given region with the given name.
EnableMfaDevice enables a newly created MFA Device by supplying the first two one-time passwords, so that it can be used for future logins by the given IAM User.
EnableMfaDeviceE enables a newly created MFA Device by supplying the first two one-time passwords, so that it can be used for future logins by the given IAM User.
FetchContentsOfFileFromAsg looks up the EC2 Instances in the given ASG, looks up the public IPs of those EC2 Instances, connects to each Instance via SSH using the given username and Key Pair, fetches the contents of the file at the given path (using sudo if useSudo is true), and returns a map from Instance ID to the contents of that file as a string.
FetchContentsOfFileFromAsgE looks up the EC2 Instances in the given ASG, looks up the public IPs of those EC2 Instances, connects to each Instance via SSH using the given username and Key Pair, fetches the contents of the file at the given path (using sudo if useSudo is true), and returns a map from Instance ID to the contents of that file as a string.
FetchContentsOfFileFromInstance looks up the public IP address of the EC2 Instance with the given ID, connects to the Instance via SSH using the given username and Key Pair, fetches the contents of the file at the given path (using sudo if useSudo is true), and returns the contents of that file as a string.
FetchContentsOfFileFromInstanceE looks up the public IP address of the EC2 Instance with the given ID, connects to the Instance via SSH using the given username and Key Pair, fetches the contents of the file at the given path (using sudo if useSudo is true), and returns the contents of that file as a string.
FetchContentsOfFilesFromAsg looks up the EC2 Instances in the given ASG, looks up the public IPs of those EC2 Instances, connects to each Instance via SSH using the given username and Key Pair, fetches the contents of the files at the given paths (using sudo if useSudo is true), and returns a map from Instance ID to a map of file path to the contents of that file as a string.
FetchContentsOfFilesFromAsgE looks up the EC2 Instances in the given ASG, looks up the public IPs of those EC2 Instances, connects to each Instance via SSH using the given username and Key Pair, fetches the contents of the files at the given paths (using sudo if useSudo is true), and returns a map from Instance ID to a map of file path to the contents of that file as a string.
FetchContentsOfFilesFromInstance looks up the public IP address of the EC2 Instance with the given ID, connects to the Instance via SSH using the given username and Key Pair, fetches the contents of the files at the given paths (using sudo if useSudo is true), and returns a map from file path to the contents of that file as a string.
FetchContentsOfFilesFromInstanceE looks up the public IP address of the EC2 Instance with the given ID, connects to the Instance via SSH using the given username and Key Pair, fetches the contents of the files at the given paths (using sudo if useSudo is true), and returns a map from file path to the contents of that file as a string.
FetchFilesFromAsgs looks up the EC2 Instances in all the ASGs given in the RemoteFileSpecification, looks up the public IPs of those EC2 Instances, connects to each Instance via SSH using the given username and Key Pair, downloads the files matching filenameFilters at the given remoteDirectory (using sudo if useSudo is true), and stores the files locally at localDirectory/<publicip>/<remoteFolderName>.
FetchFilesFromAsgsE looks up the EC2 Instances in all the ASGs given in the RemoteFileSpecification, looks up the public IPs of those EC2 Instances, connects to each Instance via SSH using the given username and Key Pair, downloads the files matching filenameFilters at the given remoteDirectory (using sudo if useSudo is true), and stores the files locally at localDirectory/<publicip>/<remoteFolderName>.
FetchFilesFromInstance looks up the EC2 Instances in the given ASG, looks up the public IPs of those EC2 Instances, connects to each Instance via SSH using the given username and Key Pair, downloads the files matching filenameFilters at the given remoteDirectory (using sudo if useSudo is true), and stores the files locally at localDirectory/<publicip>/<remoteFolderName>.
FetchFilesFromInstanceE looks up the EC2 Instances in the given ASG, looks up the public IPs of those EC2 Instances, connects to each Instance via SSH using the given username and Key Pair, downloads the files matching filenameFilters at the given remoteDirectory (using sudo if useSudo is true), and stores the files locally at localDirectory/<publicip>/<remoteFolderName>.
FindS3BucketWithTag finds the name of the S3 bucket in the given region with the given tag key=value.
FindS3BucketWithTagE finds the name of the S3 bucket in the given region with the given tag key=value.
FindVpcName extracts the VPC name from its tags (if any).
GetAccountId gets the Account ID for the currently logged in IAM User.
GetAccountIdE gets the Account ID for the currently logged in IAM User.
GetAccountsWithLaunchPermissionsForAmi returns list of accounts that the AMI is shared with.
GetAccountsWithLaunchPermissionsForAmiE returns list of accounts that the AMI is shared with.
GetAcmCertificateArn gets the ACM certificate for the given domain name in the given region.
GetAcmCertificateArnE gets the ACM certificate for the given domain name in the given region.
GetAddressOfRdsInstance gets the address of the given RDS Instance in the given region.
GetAddressOfRdsInstanceE gets the address of the given RDS Instance in the given region.
GetAllAwsRegions gets the list of AWS regions available in this account.
GetAllAwsRegionsE gets the list of AWS regions available in this account.
GetAllParametersOfRdsInstance gets all the parameters defined in the parameter group for the RDS instance in the given region.
GetAllParametersOfRdsInstanceE gets all the parameters defined in the parameter group for the RDS instance in the given region.
GetAmazonLinuxAmi returns an Amazon Linux AMI HVM, SSD Volume Type public AMI for the given region.
GetAmazonLinuxAmiE returns an Amazon Linux AMI HVM, SSD Volume Type public AMI for the given region.
GetAmiPubliclyAccessible returns whether the AMI is publicly accessible or not.
GetAmiPubliclyAccessibleE returns whether the AMI is publicly accessible or not.
GetAvailabilityZones gets the Availability Zones for a given AWS region.
GetAvailabilityZonesE gets the Availability Zones for a given AWS region.
GetAzDefaultSubnetsForVpc gets the default az subnets in the specified VPC.
GetCapacityInfoForAsg returns the capacity info for the queried asg as a struct, AsgCapacityInfo.
GetCapacityInfoForAsgE returns the capacity info for the queried asg as a struct, AsgCapacityInfo.
GetCentos7Ami returns a CentOS 7 public AMI from the given region.
GetCentos7AmiE returns a CentOS 7 public AMI from the given region.
GetCloudWatchLogEntries returns the CloudWatch log messages in the given region for the given log stream and log group.
GetCloudWatchLogEntriesE returns the CloudWatch log messages in the given region for the given log stream and log group.
GetCmkArn gets the ARN of a KMS Customer Master Key (CMK) in the given region with the given ID.
GetCmkArnE gets the ARN of a KMS Customer Master Key (CMK) in the given region with the given ID.
GetDefaultEcsCluster fetches information about default ECS cluster.
GetDefaultEcsClusterE fetches information about default ECS cluster.
GetDefaultSubnetIDsForVpc gets the ids of the subnets that are the default subnet for the AvailabilityZone.
GetDefaultSubnetIDsForVpcE gets the ids of the subnets that are the default subnet for the AvailabilityZone.
GetDefaultVpc fetches information about the default VPC in the given region.
GetDefaultVpcE fetches information about the default VPC in the given region.
GetDynamoDBTable fetches information about the specified dynamoDB table.
GetDynamoDBTableE fetches information about the specified dynamoDB table.
GetDynamoDbTableTags fetches resource tags of a specified dynamoDB table.
GetDynamoDbTableTagsE fetches resource tags of a specified dynamoDB table.
GetDynamoDBTableTimeToLive fetches information about the TTL configuration of a specified dynamoDB table.
GetDynamoDBTableTimeToLiveE fetches information about the TTL configuration of a specified dynamoDB table.
GetEbsSnapshotsForAmi retrieves the EBS snapshots which back the given AMI.
GetEbsSnapshotsForAmiE retrieves the EBS snapshots which back the given AMI.
GetEc2InstanceIdsByFilters returns all the IDs of EC2 instances in the given region which match to EC2 filter list as per https://docs.aws.amazon.com/sdk-for-go/api/service/ec2/#DescribeInstancesInput.
GetEc2InstanceIdsByFiltersE returns all the IDs of EC2 instances in the given region which match to EC2 filter list as per https://docs.aws.amazon.com/sdk-for-go/api/service/ec2/#DescribeInstancesInput.
GetEc2InstanceIdsByTag returns all the IDs of EC2 instances in the given region with the given tag.
GetEc2InstanceIdsByTagE returns all the IDs of EC2 instances in the given region with the given tag.
GetECRRepo gets an ECR repository by name.
GetECRRepoE gets an ECR Repository by name.
GetECRRepoLifecyclePolicy gets the policies for the given ECR repository.
GetECRRepoLifecyclePolicyE gets the policies for the given ECR repository.
GetEcsCluster fetches information about specified ECS cluster.
GetEcsClusterE fetches information about specified ECS cluster.
GetEcsClusterWithInclude fetches extended information about specified ECS cluster.
GetEcsClusterWithIncludeE fetches extended information about specified ECS cluster.
GetEcsOptimizedAmazonLinuxAmi returns an Amazon ECS-Optimized Amazon Linux AMI for the given region.
GetEcsOptimizedAmazonLinuxAmiE returns an Amazon ECS-Optimized Amazon Linux AMI for the given region.
GetEcsService fetches information about specified ECS service.
GetEcsServiceE fetches information about specified ECS service.
GetEcsTaskDefinition fetches information about specified ECS task definition.
GetEcsTaskDefinitionE fetches information about specified ECS task definition.
GetFirstTwoOctets gets the first two octets from a CIDR block.
GetIamCurrentUserArn gets the ARN for the current IAM user.
GetIamCurrentUserArnE gets the ARN for the current IAM user.
GetIamCurrentUserName gets the username for the current IAM user.
GetIamCurrentUserNameE gets the username for the current IAM user.
GetIamPolicyDocument gets the most recent policy (JSON) document for an IAM policy.
GetIamPolicyDocumentE gets the most recent policy (JSON) document for an IAM policy.
GetInstanceIdsForAsg gets the IDs of EC2 Instances in the given ASG.
GetInstanceIdsForAsgE gets the IDs of EC2 Instances in the given ASG.
GetLaunchPermissionsForAmiE returns launchPermissions as configured in AWS.
GetMostRecentAmiId gets the ID of the most recent AMI in the given region that has the given owner and matches the given filters.
GetMostRecentAmiIdE gets the ID of the most recent AMI in the given region that has the given owner and matches the given filters.
GetOptionGroupNameOfRdsInstance gets the name of the option group associated with the RDS instance.
GetOptionGroupNameOfRdsInstanceE gets the name of the option group associated with the RDS instance.
GetOptionSettingForOfRdsInstance gets the value of the option name in the option group specified for the RDS instance in the given region.
GetOptionSettingForOfRdsInstanceE gets the value of the option name in the option group specified for the RDS instance in the given region.
GetOptionsOfOptionGroup gets the options of the option group specified.
GetOptionsOfOptionGroupE gets the options of the option group specified.
GetParameter retrieves the latest version of SSM Parameter at keyName with decryption.
GetParameterE retrieves the latest version of SSM Parameter at keyName with decryption.
GetParameterValueForParameterOfRdsInstance gets the value of the parameter name specified for the RDS instance in the given region.
GetParameterValueForParameterOfRdsInstanceE gets the value of the parameter name specified for the RDS instance in the given region.
GetParameterWithClientE retrieves the latest version of SSM Parameter at keyName with decryption with the ability to provide the SSM client.
GetPortOfRdsInstance gets the address of the given RDS Instance in the given region.
GetPortOfRdsInstanceE gets the address of the given RDS Instance in the given region.
GetPrivateHostnameOfEc2Instance gets the private IP address of the given EC2 Instance in the given region.
GetPrivateHostnameOfEc2InstanceE gets the private IP address of the given EC2 Instance in the given region.
GetPrivateHostnamesOfEc2Instances gets the private IP address of the given EC2 Instance in the given region.
GetPrivateHostnamesOfEc2InstancesE gets the private IP address of the given EC2 Instance in the given region.
GetPrivateIpOfEc2Instance gets the private IP address of the given EC2 Instance in the given region.
GetPrivateIpOfEc2InstanceE gets the private IP address of the given EC2 Instance in the given region.
GetPrivateIpsOfEc2Instances gets the private IP address of the given EC2 Instance in the given region.
GetPrivateIpsOfEc2InstancesE gets the private IP address of the given EC2 Instance in the given region.
GetPublicIpOfEc2Instance gets the public IP address of the given EC2 Instance in the given region.
GetPublicIpOfEc2InstanceE gets the public IP address of the given EC2 Instance in the given region.
GetPublicIpsOfEc2Instances gets the public IP address of the given EC2 Instance in the given region.
GetPublicIpsOfEc2InstancesE gets the public IP address of the given EC2 Instance in the given region.
GetRandomPrivateCidrBlock gets a random CIDR block from the range of acceptable private IP addresses per RFC 1918 (https://tools.ietf.org/html/rfc1918#section-3) The routingPrefix refers to the "/28" in 1.2.3.4/28.
GetRandomRegion gets a randomly chosen AWS region.
GetRandomRegionE gets a randomly chosen AWS region.
GetRandomRegionForService retrieves a list of AWS regions in which a service is available Then returns one region randomly from the list.
GetRandomStableRegion gets a randomly chosen AWS region that is considered stable.
GetRdsInstanceDetailsE gets the details of a single DB instance whose identifier is passed.
GetRecommendedInstanceType takes in a list of EC2 instance types (e.g., "t2.micro", "t3.micro") and returns the first instance type in the list that is available in all Availability Zones (AZs) in the given region.
GetRecommendedInstanceTypeE takes in a list of EC2 instance types (e.g., "t2.micro", "t3.micro") and returns the first instance type in the list that is available in all Availability Zones (AZs) in the given region.
GetRecommendedInstanceTypeWithClientE takes in a list of EC2 instance types (e.g., "t2.micro", "t3.micro") and returns the first instance type in the list that is available in all Availability Zones (AZs) in the given region.
GetRecommendedRdsInstanceType takes in a list of RDS instance types (e.g., "db.t2.micro", "db.t3.micro") and returns the first instance type in the list that is available in the given region and for the given database engine type.
GetRecommendedRdsInstanceTypeE takes in a list of RDS instance types (e.g., "db.t2.micro", "db.t3.micro") and returns the first instance type in the list that is available in the given region and for the given database engine type.
GetRecommendedRdsInstanceTypeWithClientE takes in a list of RDS instance types (e.g., "db.t2.micro", "db.t3.micro") and returns the first instance type in the list that is available in the given region and for the given database engine type.
GetRegionsForService gets all AWS regions in which a service is available.
GetRegionsForServiceE gets all AWS regions in which a service is available and returns errors.
GetRoute53Record returns a Route 53 Record.
GetRoute53RecordE returns a Route 53 Record.
GetS3BucketLoggingTarget fetches the given bucket's logging target bucket and returns it as a string.
GetS3BucketLoggingTargetE fetches the given bucket's logging target bucket and returns it as the following string: `TargetBucket` of the `LoggingEnabled` property for an S3 bucket.
GetS3BucketLoggingTargetPrefix fetches the given bucket's logging object prefix and returns it as a string.
GetS3BucketLoggingTargetPrefixE fetches the given bucket's logging object prefix and returns it as the following string: `TargetPrefix` of the `LoggingEnabled` property for an S3 bucket.
GetS3BucketPolicy fetches the given bucket's resource policy and returns it as a string.
GetS3BucketPolicyE fetches the given bucket's resource policy and returns it as a string.
GetS3BucketTags fetches the given bucket's tags and returns them as a string map of strings.
GetS3BucketTagsE fetches the given bucket's tags and returns them as a string map of strings.
GetS3BucketVersioning fetches the given bucket's versioning configuration status and returns it as a string.
GetS3BucketVersioningE fetches the given bucket's versioning configuration status and returns it as a string.
GetS3ObjectContents fetches the contents of the object in the given bucket with the given key and return it as a string.
GetS3ObjectContentsE fetches the contents of the object in the given bucket with the given key and return it as a string.
GetSecretValue takes the friendly name or ARN of a secret and returns the plaintext value.
GetSecretValueE takes the friendly name or ARN of a secret and returns the plaintext value.
GetSubnetsForVpc gets the subnets in the specified VPC.
GetSubnetsForVpcE gets the subnets in the specified VPC.
GetSyslogForInstance (Deprecated) See the FetchContentsOfFileFromInstance method for a more powerful solution.
GetSyslogForInstanceE (Deprecated) See the FetchContentsOfFileFromInstanceE method for a more powerful solution.
GetSyslogForInstancesInAsg (Deprecated) See the FetchContentsOfFilesFromAsg method for a more powerful solution.
GetSyslogForInstancesInAsgE (Deprecated) See the FetchContentsOfFilesFromAsgE method for a more powerful solution.
GetTagsForEc2Instance returns all the tags for the given EC2 Instance.
GetTagsForEc2InstanceE returns all the tags for the given EC2 Instance.
GetTagsForSubnet gets the tags for the specified subnet.
GetTagsForSubnetE gets the tags for the specified subnet.
GetTagsForVpc gets the tags for the specified VPC.
GetTagsForVpcE gets the tags for the specified VPC.
GetTimeBasedOneTimePassword gets a One-Time Password from the given mfaDevice.
GetUbuntu1404Ami gets the ID of the most recent Ubuntu 14.04 HVM x86_64 EBS GP2 AMI in the given region.
GetUbuntu1404AmiE gets the ID of the most recent Ubuntu 14.04 HVM x86_64 EBS GP2 AMI in the given region.
GetUbuntu1604Ami gets the ID of the most recent Ubuntu 16.04 HVM x86_64 EBS GP2 AMI in the given region.
GetUbuntu1604AmiE gets the ID of the most recent Ubuntu 16.04 HVM x86_64 EBS GP2 AMI in the given region.
GetUbuntu2004Ami gets the ID of the most recent Ubuntu 20.04 HVM x86_64 EBS GP2 AMI in the given region.
GetUbuntu2004AmiE gets the ID of the most recent Ubuntu 20.04 HVM x86_64 EBS GP2 AMI in the given region.
GetUbuntu2204Ami gets the ID of the most recent Ubuntu 22.04 HVM x86_64 EBS GP2 AMI in the given region.
GetUbuntu2204AmiE gets the ID of the most recent Ubuntu 22.04 HVM x86_64 EBS GP2 AMI in the given region.
GetValidEngineVersion returns a string containing a valid RDS engine version for the provided region and engine type.
GetValidEngineVersionE returns a string containing a valid RDS engine version or an error if no valid version is found.
GetVpcById fetches information about a VPC with given ID in the given region.
GetVpcByIdE fetches information about a VPC with given ID in the given region.
GetVpcsE fetches information about VPCs from given regions limited by filters.
GetWhetherSchemaExistsInRdsMySqlInstance checks whether the specified schema/table name exists in the RDS instance.
GetWhetherSchemaExistsInRdsMySqlInstanceE checks whether the specified schema/table name exists in the RDS instance.
GetWhetherSchemaExistsInRdsPostgresInstance checks whether the specified schema/table name exists in the RDS instance.
GetWhetherSchemaExistsInRdsPostgresInstanceE checks whether the specified schema/table name exists in the RDS instance.
ImportEC2KeyPair creates a Key Pair in EC2 by importing an existing public key.
ImportEC2KeyPairE creates a Key Pair in EC2 by importing an existing public key.
InvokeFunction invokes a lambda function.
InvokeFunctionE invokes a lambda function.
InvokeFunctionWithParams invokes a lambda function using parameters supplied in the LambdaOptions struct and returns values in a LambdaOutput struct.
InvokeFunctionWithParamsE invokes a lambda function using parameters supplied in the LambdaOptions struct.
IsPublicSubnet returns True if the subnet identified by the given id in the provided region is public.
IsPublicSubnetE returns True if the subnet identified by the given id in the provided region is public.
NewAcmClient create a new ACM client.
NewAcmClientE creates a new ACM client.
NewAsgClient creates an Auto Scaling Group client.
NewAsgClientE creates an Auto Scaling Group client.
NewAuthenticatedSession creates an AWS Config following to standard AWS authentication workflow.
NewAuthenticatedSessionFromDefaultCredentials gets an AWS Config, checking that the user has credentials properly configured in their environment.
NewAuthenticatedSessionFromRole returns a new AWS Config after assuming the role whose ARN is provided in roleARN.
NewCloudWatchLogsClient creates a new CloudWatch Logs client.
NewCloudWatchLogsClientE creates a new CloudWatch Logs client.
NewDynamoDBClient creates a DynamoDB client.
NewDynamoDBClientE creates a DynamoDB client.
NewEc2Client creates an EC2 client.
NewEc2ClientE creates an EC2 client.
NewECRClient returns a client for the Elastic Container Registry.
NewECRClientE returns a client for the Elastic Container Registry.
NewEcsClient creates en ECS client.
NewEcsClientE creates an ECS client.
NewIamClient creates a new IAM client.
NewIamClientE creates a new IAM client.
NewKmsClient creates a KMS client.
NewKmsClientE creates a KMS client.
NewLambdaClient creates a new Lambda client.
NewLambdaClientE creates a new Lambda client.
NewRdsClient creates an RDS client.
NewRdsClientE creates an RDS client.
NewRoute53Client creates a route 53 client.
NewRoute53ClientE creates a route 53 client.
NewS3Client creates an S3 client.
NewS3ClientE creates an S3 client.
NewS3Uploader creates an S3 Uploader.
NewS3UploaderE creates an S3 Uploader.
NewSecretsManagerClient creates a new SecretsManager client.
NewSecretsManagerClientE creates a new SecretsManager client.
NewSnsClient creates a new SNS client.
NewSnsClientE creates a new SNS client.
NewSqsClient creates a new SQS client.
NewSqsClientE creates a new SQS client.
NewSsmClient creates an SSM client.
NewSsmClientE creates an SSM client.
NewStsClientE creates a new STS client.
PutECRRepoLifecyclePolicy puts the given policy for the given ECR repository.
PutECRRepoLifecyclePolicyE puts the given policy for the given ECR repository.
PutParameter creates new version of SSM Parameter at keyName with keyValue as SecureString.
PutParameterE creates new version of SSM Parameter at keyName with keyValue as SecureString.
PutParameterWithClientE creates new version of SSM Parameter at keyName with keyValue as SecureString with the ability to provide the SSM client.
PutS3BucketPolicy applies an IAM resource policy to a given S3 bucket to create its bucket policy.
PutS3BucketPolicyE applies an IAM resource policy to a given S3 bucket to create its bucket policy.
PutS3BucketVersioning creates an S3 bucket versioning configuration in the given region against the given bucket name, WITHOUT requiring MFA to remove versioning.
PutS3BucketVersioningE creates an S3 bucket versioning configuration in the given region against the given bucket name, WITHOUT requiring MFA to remove versioning.
PutSecretString updates a secret in Secrets Manager to a new string value.
PutSecretStringE updates a secret in Secrets Manager to a new string value.
ReadPasswordPolicyMinPasswordLength returns the minimal password length.
SendMessageFifoToQueue sends the given message to the FIFO SQS queue with the given URL.
SendMessageToFifoQueueE sends the given message to the FIFO SQS queue with the given URL.
SendMessageToQueue sends the given message to the SQS queue with the given URL.
SendMessageToQueueE sends the given message to the SQS queue with the given URL.
TerminateInstance terminates the EC2 instance with the given ID in the given region.
TerminateInstanceE terminates the EC2 instance with the given ID in the given region.
WaitForCapacity waits for the currently set desired capacity to be reached on the ASG.
WaitForCapacityE waits for the currently set desired capacity to be reached on the ASG.
WaitForQueueMessage waits to receive a message from on the queueURL.
WaitForSsmInstance waits until the instance get registered to the SSM inventory.
WaitForSsmInstanceE waits until the instance get registered to the SSM inventory.
WaitForSsmInstanceWithClientE waits until the instance get registered to the SSM inventory with the ability to provide the SSM client.
# Constants
These are commonly used AMI account IDs.
OS environment variable name through which Assume Role ARN may be passed for authentication.
These are commonly used AMI account IDs.
These are commonly used AMI account IDs.
# Structs
AsgCapacityNotMetError is returned when the ASG capacity is not yet at the desired capacity.
BucketVersioningNotEnabledError is returned when an S3 bucket that should have versioning does not have it applied.
CommandOutput contains the result of the SSM command.
CredentialsError is an error that occurs because AWS credentials can't be found.
Ec2Keypair is an EC2 key pair.
HostnameForEc2InstanceNotFound is an error that occurs when the IP for an EC2 instance is not found.
IpForEc2InstanceNotFound is an error that occurs when the IP for an EC2 instance is not found.
LambdaOptions contains additional parameters for InvokeFunctionWithParams().
LambdaOutput contains the output from InvokeFunctionWithParams().
NoBucketPolicyError is returned when an S3 bucket that should have a policy applied does not.
NoImagesFound is an error that occurs if no images were found.
NoInstanceTypeError is returned when none of the given instance type options are available in all AZs in a region.
NoRdsInstanceTypeError is returned when none of the given instance types are avaiable for the region, database engine, and database engine combination given.
NotFoundError is returned when an expected object is not found.
OptionGroupOptionSettingForDbInstanceNotFound is an error that occurs when the option setting specified is not found in the option group of the DB instance.
ParameterForDbInstanceNotFound is an error that occurs when the parameter group specified is not found for the DB instance.
QueueMessageResponse contains a queue message.
ReceiveMessageTimeout is an error that occurs if receiving a message times out.
RemoteFileSpecification describes which files you want to copy from your instances.
S3AccessLoggingNotEnabledErr is a custom error that occurs when acess logging hasn't been enabled on the S3 Bucket.
Subnet is a subnet in an availability zone.
Vpc is an Amazon Virtual Private Cloud.