Documentation ¶
Index ¶
- type GetListenerArgs
- type GetListenerResult
- type GetLoadBalancerArgs
- type GetLoadBalancerResult
- type GetTargetGroupArgs
- type GetTargetGroupResult
- type Listener
- func (r *Listener) Arn() *pulumi.StringOutput
- func (r *Listener) CertificateArn() *pulumi.StringOutput
- func (r *Listener) DefaultAction() *pulumi.Output
- func (r *Listener) ID() *pulumi.IDOutput
- func (r *Listener) LoadBalancerArn() *pulumi.StringOutput
- func (r *Listener) Port() *pulumi.IntOutput
- func (r *Listener) Protocol() *pulumi.StringOutput
- func (r *Listener) SslPolicy() *pulumi.StringOutput
- func (r *Listener) URN() *pulumi.URNOutput
- type ListenerArgs
- type ListenerCertificate
- type ListenerCertificateArgs
- type ListenerCertificateState
- type ListenerRule
- func (r *ListenerRule) Actions() *pulumi.ArrayOutput
- func (r *ListenerRule) Arn() *pulumi.StringOutput
- func (r *ListenerRule) Conditions() *pulumi.ArrayOutput
- func (r *ListenerRule) ID() *pulumi.IDOutput
- func (r *ListenerRule) ListenerArn() *pulumi.StringOutput
- func (r *ListenerRule) Priority() *pulumi.IntOutput
- func (r *ListenerRule) URN() *pulumi.URNOutput
- type ListenerRuleArgs
- type ListenerRuleState
- type ListenerState
- type LoadBalancer
- func (r *LoadBalancer) AccessLogs() *pulumi.Output
- func (r *LoadBalancer) Arn() *pulumi.StringOutput
- func (r *LoadBalancer) ArnSuffix() *pulumi.StringOutput
- func (r *LoadBalancer) DnsName() *pulumi.StringOutput
- func (r *LoadBalancer) EnableCrossZoneLoadBalancing() *pulumi.BoolOutput
- func (r *LoadBalancer) EnableDeletionProtection() *pulumi.BoolOutput
- func (r *LoadBalancer) EnableHttp2() *pulumi.BoolOutput
- func (r *LoadBalancer) ID() *pulumi.IDOutput
- func (r *LoadBalancer) IdleTimeout() *pulumi.IntOutput
- func (r *LoadBalancer) Internal() *pulumi.BoolOutput
- func (r *LoadBalancer) IpAddressType() *pulumi.StringOutput
- func (r *LoadBalancer) LoadBalancerType() *pulumi.StringOutput
- func (r *LoadBalancer) Name() *pulumi.StringOutput
- func (r *LoadBalancer) NamePrefix() *pulumi.StringOutput
- func (r *LoadBalancer) SecurityGroups() *pulumi.ArrayOutput
- func (r *LoadBalancer) SubnetMappings() *pulumi.ArrayOutput
- func (r *LoadBalancer) Subnets() *pulumi.ArrayOutput
- func (r *LoadBalancer) Tags() *pulumi.MapOutput
- func (r *LoadBalancer) URN() *pulumi.URNOutput
- func (r *LoadBalancer) VpcId() *pulumi.StringOutput
- func (r *LoadBalancer) ZoneId() *pulumi.StringOutput
- type LoadBalancerArgs
- type LoadBalancerState
- type TargetGroup
- func (r *TargetGroup) Arn() *pulumi.StringOutput
- func (r *TargetGroup) ArnSuffix() *pulumi.StringOutput
- func (r *TargetGroup) DeregistrationDelay() *pulumi.IntOutput
- func (r *TargetGroup) HealthCheck() *pulumi.Output
- func (r *TargetGroup) ID() *pulumi.IDOutput
- func (r *TargetGroup) Name() *pulumi.StringOutput
- func (r *TargetGroup) NamePrefix() *pulumi.StringOutput
- func (r *TargetGroup) Port() *pulumi.IntOutput
- func (r *TargetGroup) Protocol() *pulumi.StringOutput
- func (r *TargetGroup) ProxyProtocolV2() *pulumi.BoolOutput
- func (r *TargetGroup) SlowStart() *pulumi.IntOutput
- func (r *TargetGroup) Stickiness() *pulumi.Output
- func (r *TargetGroup) Tags() *pulumi.MapOutput
- func (r *TargetGroup) TargetType() *pulumi.StringOutput
- func (r *TargetGroup) URN() *pulumi.URNOutput
- func (r *TargetGroup) VpcId() *pulumi.StringOutput
- type TargetGroupArgs
- type TargetGroupAttachment
- func (r *TargetGroupAttachment) AvailabilityZone() *pulumi.StringOutput
- func (r *TargetGroupAttachment) ID() *pulumi.IDOutput
- func (r *TargetGroupAttachment) Port() *pulumi.IntOutput
- func (r *TargetGroupAttachment) TargetGroupArn() *pulumi.StringOutput
- func (r *TargetGroupAttachment) TargetId() *pulumi.StringOutput
- func (r *TargetGroupAttachment) URN() *pulumi.URNOutput
- type TargetGroupAttachmentArgs
- type TargetGroupAttachmentState
- type TargetGroupState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetListenerArgs ¶
type GetListenerArgs struct { // The arn of the listener. Required if `load_balancer_arn` and `port` is not set. Arn interface{} // The arn of the load balander. Required if `arn` is not set. LoadBalancerArn interface{} // The port of the listener. Required if `arn` is not set. Port interface{} }
A collection of arguments for invoking getListener.
type GetListenerResult ¶
type GetListenerResult struct { Arn interface{} CertificateArn interface{} DefaultActions interface{} LoadBalancerArn interface{} Port interface{} Protocol interface{} SslPolicy interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getListener.
func LookupListener ¶
func LookupListener(ctx *pulumi.Context, args *GetListenerArgs) (*GetListenerResult, error)
~> **Note:** `aws_alb_listener` is known as `aws_lb_listener`. The functionality is identical.
Provides information about a Load Balancer Listener.
This data source can prove useful when a module accepts an LB Listener as an input variable and needs to know the LB it is attached to, or other information specific to the listener in question.
type GetLoadBalancerArgs ¶
type GetLoadBalancerArgs struct { // The full ARN of the load balancer. Arn interface{} // The unique name of the load balancer. Name interface{} Tags interface{} }
A collection of arguments for invoking getLoadBalancer.
type GetLoadBalancerResult ¶
type GetLoadBalancerResult struct { AccessLogs interface{} Arn interface{} ArnSuffix interface{} DnsName interface{} EnableDeletionProtection interface{} IdleTimeout interface{} Internal interface{} LoadBalancerType interface{} Name interface{} SecurityGroups interface{} SubnetMappings interface{} Subnets interface{} Tags interface{} VpcId interface{} ZoneId interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getLoadBalancer.
func LookupLoadBalancer ¶
func LookupLoadBalancer(ctx *pulumi.Context, args *GetLoadBalancerArgs) (*GetLoadBalancerResult, error)
~> **Note:** `aws_alb` is known as `aws_lb`. The functionality is identical.
Provides information about a Load Balancer.
This data source can prove useful when a module accepts an LB as an input variable and needs to, for example, determine the security groups associated with it, etc.
type GetTargetGroupArgs ¶
type GetTargetGroupArgs struct { // The full ARN of the target group. Arn interface{} // The unique name of the target group. Name interface{} Tags interface{} }
A collection of arguments for invoking getTargetGroup.
type GetTargetGroupResult ¶
type GetTargetGroupResult struct { Arn interface{} ArnSuffix interface{} DeregistrationDelay interface{} HealthCheck interface{} Name interface{} Port interface{} Protocol interface{} SlowStart interface{} Stickiness interface{} Tags interface{} VpcId interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getTargetGroup.
func LookupTargetGroup ¶
func LookupTargetGroup(ctx *pulumi.Context, args *GetTargetGroupArgs) (*GetTargetGroupResult, error)
~> **Note:** `aws_alb_target_group` is known as `aws_lb_target_group`. The functionality is identical.
Provides information about a Load Balancer Target Group.
This data source can prove useful when a module accepts an LB Target Group as an input variable and needs to know its attributes. It can also be used to get the ARN of an LB Target Group for use in other resources, given LB Target Group name.
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
Provides a Load Balancer Listener resource.
~> **Note:** `aws_alb_listener` is known as `aws_lb_listener`. The functionality is identical.
func GetListener ¶
func GetListener(ctx *pulumi.Context, name string, id pulumi.ID, state *ListenerState, opts ...pulumi.ResourceOpt) (*Listener, error)
GetListener gets an existing Listener resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewListener ¶
func NewListener(ctx *pulumi.Context, name string, args *ListenerArgs, opts ...pulumi.ResourceOpt) (*Listener, error)
NewListener registers a new resource with the given unique name, arguments, and options.
func (*Listener) Arn ¶
func (r *Listener) Arn() *pulumi.StringOutput
The ARN of the listener (matches `id`)
func (*Listener) CertificateArn ¶
func (r *Listener) CertificateArn() *pulumi.StringOutput
The ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the [`aws_lb_listener_certificate` resource](https://www.terraform.io/docs/providers/aws/r/lb_listener_certificate.html).
func (*Listener) DefaultAction ¶ added in v0.16.0
An Action block. Action blocks are documented below.
func (*Listener) LoadBalancerArn ¶
func (r *Listener) LoadBalancerArn() *pulumi.StringOutput
The ARN of the load balancer.
func (*Listener) Port ¶
The port. Specify a value from `1` to `65535` or `#{port}`. Defaults to `#{port}`.
func (*Listener) Protocol ¶
func (r *Listener) Protocol() *pulumi.StringOutput
The protocol. Valid values are `HTTP`, `HTTPS`, or `#{protocol}`. Defaults to `#{protocol}`.
func (*Listener) SslPolicy ¶
func (r *Listener) SslPolicy() *pulumi.StringOutput
The name of the SSL Policy for the listener. Required if `protocol` is `HTTPS`.
type ListenerArgs ¶
type ListenerArgs struct { // The ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the [`aws_lb_listener_certificate` resource](https://www.terraform.io/docs/providers/aws/r/lb_listener_certificate.html). CertificateArn interface{} // An Action block. Action blocks are documented below. DefaultAction interface{} // The ARN of the load balancer. LoadBalancerArn interface{} // The port. Specify a value from `1` to `65535` or `#{port}`. Defaults to `#{port}`. Port interface{} // The protocol. Valid values are `HTTP`, `HTTPS`, or `#{protocol}`. Defaults to `#{protocol}`. Protocol interface{} // The name of the SSL Policy for the listener. Required if `protocol` is `HTTPS`. SslPolicy interface{} }
The set of arguments for constructing a Listener resource.
type ListenerCertificate ¶
type ListenerCertificate struct {
// contains filtered or unexported fields
}
Provides a Load Balancer Listener Certificate resource.
This resource is for additional certificates and does not replace the default certificate on the listener.
~> **Note:** `aws_alb_listener_certificate` is known as `aws_lb_listener_certificate`. The functionality is identical.
func GetListenerCertificate ¶
func GetListenerCertificate(ctx *pulumi.Context, name string, id pulumi.ID, state *ListenerCertificateState, opts ...pulumi.ResourceOpt) (*ListenerCertificate, error)
GetListenerCertificate gets an existing ListenerCertificate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewListenerCertificate ¶
func NewListenerCertificate(ctx *pulumi.Context, name string, args *ListenerCertificateArgs, opts ...pulumi.ResourceOpt) (*ListenerCertificate, error)
NewListenerCertificate registers a new resource with the given unique name, arguments, and options.
func (*ListenerCertificate) CertificateArn ¶
func (r *ListenerCertificate) CertificateArn() *pulumi.StringOutput
The ARN of the certificate to attach to the listener.
func (*ListenerCertificate) ID ¶
func (r *ListenerCertificate) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ListenerCertificate) ListenerArn ¶
func (r *ListenerCertificate) ListenerArn() *pulumi.StringOutput
The ARN of the listener to which to attach the certificate.
func (*ListenerCertificate) URN ¶
func (r *ListenerCertificate) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ListenerCertificateArgs ¶
type ListenerCertificateArgs struct { // The ARN of the certificate to attach to the listener. CertificateArn interface{} // The ARN of the listener to which to attach the certificate. ListenerArn interface{} }
The set of arguments for constructing a ListenerCertificate resource.
type ListenerCertificateState ¶
type ListenerCertificateState struct { // The ARN of the certificate to attach to the listener. CertificateArn interface{} // The ARN of the listener to which to attach the certificate. ListenerArn interface{} }
Input properties used for looking up and filtering ListenerCertificate resources.
type ListenerRule ¶
type ListenerRule struct {
// contains filtered or unexported fields
}
Provides a Load Balancer Listener Rule resource.
~> **Note:** `aws_alb_listener_rule` is known as `aws_lb_listener_rule`. The functionality is identical.
func GetListenerRule ¶
func GetListenerRule(ctx *pulumi.Context, name string, id pulumi.ID, state *ListenerRuleState, opts ...pulumi.ResourceOpt) (*ListenerRule, error)
GetListenerRule gets an existing ListenerRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewListenerRule ¶
func NewListenerRule(ctx *pulumi.Context, name string, args *ListenerRuleArgs, opts ...pulumi.ResourceOpt) (*ListenerRule, error)
NewListenerRule registers a new resource with the given unique name, arguments, and options.
func (*ListenerRule) Actions ¶
func (r *ListenerRule) Actions() *pulumi.ArrayOutput
An Action block. Action blocks are documented below.
func (*ListenerRule) Arn ¶
func (r *ListenerRule) Arn() *pulumi.StringOutput
The ARN of the rule (matches `id`)
func (*ListenerRule) Conditions ¶
func (r *ListenerRule) Conditions() *pulumi.ArrayOutput
A Condition block. Condition blocks are documented below.
func (*ListenerRule) ID ¶
func (r *ListenerRule) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ListenerRule) ListenerArn ¶
func (r *ListenerRule) ListenerArn() *pulumi.StringOutput
The ARN of the listener to which to attach the rule.
func (*ListenerRule) Priority ¶
func (r *ListenerRule) Priority() *pulumi.IntOutput
The priority for the rule between `1` and `50000`. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority.
func (*ListenerRule) URN ¶
func (r *ListenerRule) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ListenerRuleArgs ¶
type ListenerRuleArgs struct { // An Action block. Action blocks are documented below. Actions interface{} // A Condition block. Condition blocks are documented below. Conditions interface{} // The ARN of the listener to which to attach the rule. ListenerArn interface{} // The priority for the rule between `1` and `50000`. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority. Priority interface{} }
The set of arguments for constructing a ListenerRule resource.
type ListenerRuleState ¶
type ListenerRuleState struct { // An Action block. Action blocks are documented below. Actions interface{} // The ARN of the rule (matches `id`) Arn interface{} // A Condition block. Condition blocks are documented below. Conditions interface{} // The ARN of the listener to which to attach the rule. ListenerArn interface{} // The priority for the rule between `1` and `50000`. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority. Priority interface{} }
Input properties used for looking up and filtering ListenerRule resources.
type ListenerState ¶
type ListenerState struct { // The ARN of the listener (matches `id`) Arn interface{} // The ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the [`aws_lb_listener_certificate` resource](https://www.terraform.io/docs/providers/aws/r/lb_listener_certificate.html). CertificateArn interface{} // An Action block. Action blocks are documented below. DefaultAction interface{} // The ARN of the load balancer. LoadBalancerArn interface{} // The port. Specify a value from `1` to `65535` or `#{port}`. Defaults to `#{port}`. Port interface{} // The protocol. Valid values are `HTTP`, `HTTPS`, or `#{protocol}`. Defaults to `#{protocol}`. Protocol interface{} // The name of the SSL Policy for the listener. Required if `protocol` is `HTTPS`. SslPolicy interface{} }
Input properties used for looking up and filtering Listener resources.
type LoadBalancer ¶
type LoadBalancer struct {
// contains filtered or unexported fields
}
Provides a Load Balancer resource.
~> **Note:** `aws_alb` is known as `aws_lb`. The functionality is identical.
func GetLoadBalancer ¶
func GetLoadBalancer(ctx *pulumi.Context, name string, id pulumi.ID, state *LoadBalancerState, opts ...pulumi.ResourceOpt) (*LoadBalancer, error)
GetLoadBalancer gets an existing LoadBalancer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLoadBalancer ¶
func NewLoadBalancer(ctx *pulumi.Context, name string, args *LoadBalancerArgs, opts ...pulumi.ResourceOpt) (*LoadBalancer, error)
NewLoadBalancer registers a new resource with the given unique name, arguments, and options.
func (*LoadBalancer) AccessLogs ¶
func (r *LoadBalancer) AccessLogs() *pulumi.Output
An Access Logs block. Access Logs documented below. Only valid for Load Balancers of type `application`.
func (*LoadBalancer) Arn ¶
func (r *LoadBalancer) Arn() *pulumi.StringOutput
The ARN of the load balancer (matches `id`).
func (*LoadBalancer) ArnSuffix ¶
func (r *LoadBalancer) ArnSuffix() *pulumi.StringOutput
The ARN suffix for use with CloudWatch Metrics.
func (*LoadBalancer) DnsName ¶
func (r *LoadBalancer) DnsName() *pulumi.StringOutput
The DNS name of the load balancer.
func (*LoadBalancer) EnableCrossZoneLoadBalancing ¶
func (r *LoadBalancer) EnableCrossZoneLoadBalancing() *pulumi.BoolOutput
If true, cross-zone load balancing of the load balancer will be enabled. This is a `network` load balancer feature. Defaults to `false`.
func (*LoadBalancer) EnableDeletionProtection ¶
func (r *LoadBalancer) EnableDeletionProtection() *pulumi.BoolOutput
If true, deletion of the load balancer will be disabled via the AWS API. This will prevent Terraform from deleting the load balancer. Defaults to `false`.
func (*LoadBalancer) EnableHttp2 ¶
func (r *LoadBalancer) EnableHttp2() *pulumi.BoolOutput
Indicates whether HTTP/2 is enabled in `application` load balancers. Defaults to `true`.
func (*LoadBalancer) ID ¶
func (r *LoadBalancer) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*LoadBalancer) IdleTimeout ¶
func (r *LoadBalancer) IdleTimeout() *pulumi.IntOutput
The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60.
func (*LoadBalancer) Internal ¶
func (r *LoadBalancer) Internal() *pulumi.BoolOutput
If true, the LB will be internal.
func (*LoadBalancer) IpAddressType ¶
func (r *LoadBalancer) IpAddressType() *pulumi.StringOutput
The type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`
func (*LoadBalancer) LoadBalancerType ¶
func (r *LoadBalancer) LoadBalancerType() *pulumi.StringOutput
The type of load balancer to create. Possible values are `application` or `network`. The default value is `application`.
func (*LoadBalancer) Name ¶
func (r *LoadBalancer) Name() *pulumi.StringOutput
The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, Terraform will autogenerate a name beginning with `tf-lb`.
func (*LoadBalancer) NamePrefix ¶
func (r *LoadBalancer) NamePrefix() *pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`.
func (*LoadBalancer) SecurityGroups ¶
func (r *LoadBalancer) SecurityGroups() *pulumi.ArrayOutput
A list of security group IDs to assign to the LB. Only valid for Load Balancers of type `application`.
func (*LoadBalancer) SubnetMappings ¶
func (r *LoadBalancer) SubnetMappings() *pulumi.ArrayOutput
A subnet mapping block as documented below.
func (*LoadBalancer) Subnets ¶
func (r *LoadBalancer) Subnets() *pulumi.ArrayOutput
A list of subnet IDs to attach to the LB. Subnets cannot be updated for Load Balancers of type `network`. Changing this value for load balancers of type `network` will force a recreation of the resource.
func (*LoadBalancer) Tags ¶
func (r *LoadBalancer) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*LoadBalancer) URN ¶
func (r *LoadBalancer) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*LoadBalancer) VpcId ¶
func (r *LoadBalancer) VpcId() *pulumi.StringOutput
func (*LoadBalancer) ZoneId ¶
func (r *LoadBalancer) ZoneId() *pulumi.StringOutput
The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).
type LoadBalancerArgs ¶
type LoadBalancerArgs struct { // An Access Logs block. Access Logs documented below. Only valid for Load Balancers of type `application`. AccessLogs interface{} // If true, cross-zone load balancing of the load balancer will be enabled. // This is a `network` load balancer feature. Defaults to `false`. EnableCrossZoneLoadBalancing interface{} // If true, deletion of the load balancer will be disabled via // the AWS API. This will prevent Terraform from deleting the load balancer. Defaults to `false`. EnableDeletionProtection interface{} // Indicates whether HTTP/2 is enabled in `application` load balancers. Defaults to `true`. EnableHttp2 interface{} // The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60. IdleTimeout interface{} // If true, the LB will be internal. Internal interface{} // The type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack` IpAddressType interface{} // The type of load balancer to create. Possible values are `application` or `network`. The default value is `application`. LoadBalancerType interface{} // The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, // must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, // Terraform will autogenerate a name beginning with `tf-lb`. Name interface{} // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix interface{} // A list of security group IDs to assign to the LB. Only valid for Load Balancers of type `application`. SecurityGroups interface{} // A subnet mapping block as documented below. SubnetMappings interface{} // A list of subnet IDs to attach to the LB. Subnets // cannot be updated for Load Balancers of type `network`. Changing this value // for load balancers of type `network` will force a recreation of the resource. Subnets interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a LoadBalancer resource.
type LoadBalancerState ¶
type LoadBalancerState struct { // An Access Logs block. Access Logs documented below. Only valid for Load Balancers of type `application`. AccessLogs interface{} // The ARN of the load balancer (matches `id`). Arn interface{} // The ARN suffix for use with CloudWatch Metrics. ArnSuffix interface{} // The DNS name of the load balancer. DnsName interface{} // If true, cross-zone load balancing of the load balancer will be enabled. // This is a `network` load balancer feature. Defaults to `false`. EnableCrossZoneLoadBalancing interface{} // If true, deletion of the load balancer will be disabled via // the AWS API. This will prevent Terraform from deleting the load balancer. Defaults to `false`. EnableDeletionProtection interface{} // Indicates whether HTTP/2 is enabled in `application` load balancers. Defaults to `true`. EnableHttp2 interface{} // The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60. IdleTimeout interface{} // If true, the LB will be internal. Internal interface{} // The type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack` IpAddressType interface{} // The type of load balancer to create. Possible values are `application` or `network`. The default value is `application`. LoadBalancerType interface{} // The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, // must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, // Terraform will autogenerate a name beginning with `tf-lb`. Name interface{} // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix interface{} // A list of security group IDs to assign to the LB. Only valid for Load Balancers of type `application`. SecurityGroups interface{} // A subnet mapping block as documented below. SubnetMappings interface{} // A list of subnet IDs to attach to the LB. Subnets // cannot be updated for Load Balancers of type `network`. Changing this value // for load balancers of type `network` will force a recreation of the resource. Subnets interface{} // A mapping of tags to assign to the resource. Tags interface{} VpcId interface{} // The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record). ZoneId interface{} }
Input properties used for looking up and filtering LoadBalancer resources.
type TargetGroup ¶
type TargetGroup struct {
// contains filtered or unexported fields
}
Provides a Target Group resource for use with Load Balancer resources.
~> **Note:** `aws_alb_target_group` is known as `aws_lb_target_group`. The functionality is identical.
func GetTargetGroup ¶
func GetTargetGroup(ctx *pulumi.Context, name string, id pulumi.ID, state *TargetGroupState, opts ...pulumi.ResourceOpt) (*TargetGroup, error)
GetTargetGroup gets an existing TargetGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTargetGroup ¶
func NewTargetGroup(ctx *pulumi.Context, name string, args *TargetGroupArgs, opts ...pulumi.ResourceOpt) (*TargetGroup, error)
NewTargetGroup registers a new resource with the given unique name, arguments, and options.
func (*TargetGroup) Arn ¶
func (r *TargetGroup) Arn() *pulumi.StringOutput
The ARN of the Target Group (matches `id`)
func (*TargetGroup) ArnSuffix ¶
func (r *TargetGroup) ArnSuffix() *pulumi.StringOutput
The ARN suffix for use with CloudWatch Metrics.
func (*TargetGroup) DeregistrationDelay ¶
func (r *TargetGroup) DeregistrationDelay() *pulumi.IntOutput
The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds.
func (*TargetGroup) HealthCheck ¶
func (r *TargetGroup) HealthCheck() *pulumi.Output
A Health Check block. Health Check blocks are documented below.
func (*TargetGroup) ID ¶
func (r *TargetGroup) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*TargetGroup) Name ¶
func (r *TargetGroup) Name() *pulumi.StringOutput
The name of the target group. If omitted, Terraform will assign a random, unique name.
func (*TargetGroup) NamePrefix ¶
func (r *TargetGroup) NamePrefix() *pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`. Cannot be longer than 6 characters.
func (*TargetGroup) Port ¶
func (r *TargetGroup) Port() *pulumi.IntOutput
The port to use to connect with the target. Valid values are either ports 1-65536, or `traffic-port`. Defaults to `traffic-port`.
func (*TargetGroup) Protocol ¶
func (r *TargetGroup) Protocol() *pulumi.StringOutput
The protocol to use to connect with the target. Defaults to `HTTP`.
func (*TargetGroup) ProxyProtocolV2 ¶
func (r *TargetGroup) ProxyProtocolV2() *pulumi.BoolOutput
Boolean to enable / disable support for proxy protocol v2 on Network Load Balancers. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#proxy-protocol) for more information.
func (*TargetGroup) SlowStart ¶
func (r *TargetGroup) SlowStart() *pulumi.IntOutput
The amount time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is 0 seconds.
func (*TargetGroup) Stickiness ¶
func (r *TargetGroup) Stickiness() *pulumi.Output
A Stickiness block. Stickiness blocks are documented below. `stickiness` is only valid if used with Load Balancers of type `Application`
func (*TargetGroup) Tags ¶
func (r *TargetGroup) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*TargetGroup) TargetType ¶
func (r *TargetGroup) TargetType() *pulumi.StringOutput
The type of target that you must specify when registering targets with this target group. The possible values are `instance` (targets are specified by instance ID) or `ip` (targets are specified by IP address). The default is `instance`. Note that you can't specify targets for a target group using both instance IDs and IP addresses. If the target type is `ip`, specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses.
func (*TargetGroup) URN ¶
func (r *TargetGroup) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*TargetGroup) VpcId ¶
func (r *TargetGroup) VpcId() *pulumi.StringOutput
The identifier of the VPC in which to create the target group.
type TargetGroupArgs ¶
type TargetGroupArgs struct { // The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds. DeregistrationDelay interface{} // A Health Check block. Health Check blocks are documented below. HealthCheck interface{} // The name of the target group. If omitted, Terraform will assign a random, unique name. Name interface{} // Creates a unique name beginning with the specified prefix. Conflicts with `name`. Cannot be longer than 6 characters. NamePrefix interface{} // The port to use to connect with the target. Valid values are either ports 1-65536, or `traffic-port`. Defaults to `traffic-port`. Port interface{} // The protocol to use to connect with the target. Defaults to `HTTP`. Protocol interface{} // Boolean to enable / disable support for proxy protocol v2 on Network Load Balancers. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#proxy-protocol) for more information. ProxyProtocolV2 interface{} // The amount time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is 0 seconds. SlowStart interface{} // A Stickiness block. Stickiness blocks are documented below. `stickiness` is only valid if used with Load Balancers of type `Application` Stickiness interface{} // A mapping of tags to assign to the resource. Tags interface{} // The type of target that you must specify when registering targets with this target group. // The possible values are `instance` (targets are specified by instance ID) or `ip` (targets are specified by IP address). // The default is `instance`. Note that you can't specify targets for a target group using both instance IDs and IP addresses. // If the target type is `ip`, specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, // the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). // You can't specify publicly routable IP addresses. TargetType interface{} // The identifier of the VPC in which to create the target group. VpcId interface{} }
The set of arguments for constructing a TargetGroup resource.
type TargetGroupAttachment ¶
type TargetGroupAttachment struct {
// contains filtered or unexported fields
}
Provides the ability to register instances and containers with an Application Load Balancer (ALB) or Network Load Balancer (NLB) target group. For attaching resources with Elastic Load Balancer (ELB), see the [`aws_elb_attachment` resource](https://www.terraform.io/docs/providers/aws/r/elb_attachment.html).
~> **Note:** `aws_alb_target_group_attachment` is known as `aws_lb_target_group_attachment`. The functionality is identical.
func GetTargetGroupAttachment ¶
func GetTargetGroupAttachment(ctx *pulumi.Context, name string, id pulumi.ID, state *TargetGroupAttachmentState, opts ...pulumi.ResourceOpt) (*TargetGroupAttachment, error)
GetTargetGroupAttachment gets an existing TargetGroupAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTargetGroupAttachment ¶
func NewTargetGroupAttachment(ctx *pulumi.Context, name string, args *TargetGroupAttachmentArgs, opts ...pulumi.ResourceOpt) (*TargetGroupAttachment, error)
NewTargetGroupAttachment registers a new resource with the given unique name, arguments, and options.
func (*TargetGroupAttachment) AvailabilityZone ¶
func (r *TargetGroupAttachment) AvailabilityZone() *pulumi.StringOutput
The Availability Zone where the IP address of the target is to be registered.
func (*TargetGroupAttachment) ID ¶
func (r *TargetGroupAttachment) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*TargetGroupAttachment) Port ¶
func (r *TargetGroupAttachment) Port() *pulumi.IntOutput
The port on which targets receive traffic.
func (*TargetGroupAttachment) TargetGroupArn ¶
func (r *TargetGroupAttachment) TargetGroupArn() *pulumi.StringOutput
The ARN of the target group with which to register targets
func (*TargetGroupAttachment) TargetId ¶
func (r *TargetGroupAttachment) TargetId() *pulumi.StringOutput
The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address.
func (*TargetGroupAttachment) URN ¶
func (r *TargetGroupAttachment) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type TargetGroupAttachmentArgs ¶
type TargetGroupAttachmentArgs struct { // The Availability Zone where the IP address of the target is to be registered. AvailabilityZone interface{} // The port on which targets receive traffic. Port interface{} // The ARN of the target group with which to register targets TargetGroupArn interface{} // The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address. TargetId interface{} }
The set of arguments for constructing a TargetGroupAttachment resource.
type TargetGroupAttachmentState ¶
type TargetGroupAttachmentState struct { // The Availability Zone where the IP address of the target is to be registered. AvailabilityZone interface{} // The port on which targets receive traffic. Port interface{} // The ARN of the target group with which to register targets TargetGroupArn interface{} // The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address. TargetId interface{} }
Input properties used for looking up and filtering TargetGroupAttachment resources.
type TargetGroupState ¶
type TargetGroupState struct { // The ARN of the Target Group (matches `id`) Arn interface{} // The ARN suffix for use with CloudWatch Metrics. ArnSuffix interface{} // The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds. DeregistrationDelay interface{} // A Health Check block. Health Check blocks are documented below. HealthCheck interface{} // The name of the target group. If omitted, Terraform will assign a random, unique name. Name interface{} // Creates a unique name beginning with the specified prefix. Conflicts with `name`. Cannot be longer than 6 characters. NamePrefix interface{} // The port to use to connect with the target. Valid values are either ports 1-65536, or `traffic-port`. Defaults to `traffic-port`. Port interface{} // The protocol to use to connect with the target. Defaults to `HTTP`. Protocol interface{} // Boolean to enable / disable support for proxy protocol v2 on Network Load Balancers. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#proxy-protocol) for more information. ProxyProtocolV2 interface{} // The amount time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is 0 seconds. SlowStart interface{} // A Stickiness block. Stickiness blocks are documented below. `stickiness` is only valid if used with Load Balancers of type `Application` Stickiness interface{} // A mapping of tags to assign to the resource. Tags interface{} // The type of target that you must specify when registering targets with this target group. // The possible values are `instance` (targets are specified by instance ID) or `ip` (targets are specified by IP address). // The default is `instance`. Note that you can't specify targets for a target group using both instance IDs and IP addresses. // If the target type is `ip`, specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, // the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). // You can't specify publicly routable IP addresses. TargetType interface{} // The identifier of the VPC in which to create the target group. VpcId interface{} }
Input properties used for looking up and filtering TargetGroup resources.