Skip to main content

AlbSchema

AlbSchema is the schema of the Alb resource: an Application Load Balancer, which spreads HTTP requests across its targets. Terraform provisions it as aws_lb.

@group

Resources/Alb

@overrideProperty

parents - This resource has parents.

@overrideProperty

resourceId - The resource id is of format alb-<region-id>-<alb-name>

Hierarchy

  • BaseResourceSchema
    • AlbSchema

Index

Properties

inheritedlocalResourceId

localResourceId: string

The ID the resource was created with, unique within its scope.

inheritedparents

parents: IResourceReference[]

The resources this one is built on top of.

properties

properties: { awsAccountId: string; awsRegionId: string; IpAddressType: ipv4; Name: string; Scheme: internet-facing; Type: application }

Input properties.

  • properties.awsAccountId - The AWS account id.
  • properties.awsRegionId - The AWS region id.
  • properties.IpAddressType - The IP address type. Possible values are ipv4.
  • properties.Name - The name of the ALB.
  • properties.Scheme - The scheme of the ALB. Possible values are internet-facing.
  • properties.Type - The type of the ALB. Possible values are application.

Type declaration

  • awsAccountId: string
  • awsRegionId: string
  • IpAddressType: ipv4
  • Name: string
  • Scheme: internet-facing
  • Type: application

inheritedresourceId

resourceId: string

The ID of the resource, unique across the infrastructure: its localResourceId, followed by a hash of its scope when it has one.

response

response: { DNSName?: string; LoadBalancerArn?: string } = { DNSName: 'mock-alb-0000000000.us-east-1.elb.amazonaws.com', LoadBalancerArn: 'arn:aws:elasticloadbalancing:us-east-1:000000000000:loadbalancer/app/mock-alb/0123456789abcdef', }

Saved response.

  • response.DNSName - The DNS name of the ALB.
  • response.LoadBalancerArn - The ARN of the ALB.

Type declaration

  • optionalDNSName?: string
  • optionalLoadBalancerArn?: string

inheritedscope

scope: string[]

The contexts of the models the resource is placed under, derived from where the node creating it sits in the model graph. Octo sets it; a resource created outside a model action has none.

inheritedtags

tags: {}

The tags applied to the resource.


Type declaration

  • [key string]: string