Skip to main content

@quadnix/octo-aws-cdk

Index

Anchors/AwsAccount

Anchors/AwsEcs

Anchors/AwsEfs

Anchors/AwsIam

Anchors/AwsRegion

Anchors/AwsS3StorageService

Anchors/AwsSecurityGroup

Anchors/AwsSubnet

Modules/Account/AwsCredentialsAccount

Modules/Account/AwsIniAccount

Modules/Account/AwsLocalstackAccount

Modules/Account/AwsMotoAccount

Modules/App/SimpleApp

Modules/Deployment/AwsEcsDeployment

Modules/Environment/AwsEcsEnvironment

Modules/Execution/AwsEcsExecution

Modules/Filesystem/AwsEfsFilesystem

Modules/Image/AwsEcrImage

Modules/Region/AwsMultiAzRegion

Modules/Region/AwsSingleAzRegion

Modules/Server/AwsEcsServer

Modules/Service/AwsEcsAlbService

Modules/Service/AwsS3StaticWebsiteService

Modules/Service/AwsS3StorageService

Modules/Subnet/AwsSimpleSubnet

Resources/Alb

Resources/AlbListener

Resources/AlbTargetGroup

Resources/Ecr

Resources/EcsCluster

Resources/EcsService

Resources/EcsTaskDefinition

Resources/Efs

Resources/EfsMountTarget

Resources/IamRole

Resources/IamUser

Resources/InternetGateway

Resources/NatGateway

Resources/NetworkAcl

Resources/RouteTable

Resources/S3Storage

Resources/S3Website

Resources/SecurityGroup

Resources/Subnet

Resources/Vpc

Resources/AlbListener

IAlbListenerActionTypes

IAlbListenerActionTypes:

Defines the types of actions on the ALB Listener. Possible values are fixed-response, forward, or redirect. These values are mapped from the official ALB Listener Action Types document. Please refer to the AWS documentation for more information.

@group

Resources/AlbListener

fixed-response

Sends a fixed HTTP response to the client.

forward

Forwards requests to one or more target groups.

redirect

Redirects requests from one path to another.

IAlbListenerRuleTypes

IAlbListenerRuleTypes:

When the ALB receives an HTTP request, the ALB Listener evaluates rules to determine what to do with the request. This defines the types of rules on the ALB Listener. Possible values are host-header, http-header, http-request-method, path-pattern, query-string, or source-ip. These values are mapped from the official ALB Listener Rules document. Please refer to the AWS documentation for more information.

The official documentation also imposes some restrictions on rules. It is important to review those restrictions, or else resource creation might fail and get into a dirty state.

@group

Resources/AlbListener

host-header

Matches requests based on the value of the host header in the HTTP request.

http-header

Matches requests based on the value of a specified HTTP header in the HTTP request.

http-request-method

Matches requests based on the HTTP method in the HTTP request.

path-pattern

Matches requests based on the value of the path in the HTTP request.

query-string

Matches requests based on the value of the query string in the HTTP request.

source-ip

Matches requests based on the source IP address.

Resources/IamRole

IIamRoleAssumeRolePolicy

IIamRoleAssumeRolePolicy: ecs-tasks.amazonaws.com

List of IAM entities regarding roles, policies, and permissions. Possible values are,

  • ecs-tasks.amazonaws.com: This is an AWS service principal for ECS tasks. It is used in IAM trust policies to allow ECS tasks to assume a role. You must add this to the set of policies if you are running ECS tasks in your cluster.
@group

Resources/IamRole

IIamRolePolicyTypes

IIamRolePolicyTypes:

Defines the types of policies that can be attached to this IAM role.

@group

Resources/IamRole

assume-role-policy

assume-role-policy: IIamRoleAssumeRolePolicy

You can provide a policy that allows the role to assume another role, or establish trust relationships. See IIamRoleAssumeRolePolicy for options.

aws-policy

aws-policy: string

You can provide a policy that allows the role to perform actions on AWS resources. This can be a predefined AWS managed policy ARN or custom policy ARN that you create.

s3-storage-access-policy

s3-storage-access-policy: IIamRoleS3BucketPolicy

You can provide options to create a policy for accessing a S3 bucket.

Resources/IamUser

IIamUserPolicyTypes

IIamUserPolicyTypes:

Defines the types of policies that can be attached to this IAM user.

@group

Resources/IamUser

s3-storage-access-policy

s3-storage-access-policy: IIamUserS3BucketPolicy

You can provide options to create a policy for accessing a S3 bucket.