Documentation ¶
Index ¶
- type AppCookieStickinessPolicydeprecated
- type AppCookieStickinessPolicyArgs
- type AppCookieStickinessPolicyArray
- func (AppCookieStickinessPolicyArray) ElementType() reflect.Type
- func (i AppCookieStickinessPolicyArray) ToAppCookieStickinessPolicyArrayOutput() AppCookieStickinessPolicyArrayOutput
- func (i AppCookieStickinessPolicyArray) ToAppCookieStickinessPolicyArrayOutputWithContext(ctx context.Context) AppCookieStickinessPolicyArrayOutput
- type AppCookieStickinessPolicyArrayInput
- type AppCookieStickinessPolicyArrayOutput
- func (AppCookieStickinessPolicyArrayOutput) ElementType() reflect.Type
- func (o AppCookieStickinessPolicyArrayOutput) Index(i pulumi.IntInput) AppCookieStickinessPolicyOutput
- func (o AppCookieStickinessPolicyArrayOutput) ToAppCookieStickinessPolicyArrayOutput() AppCookieStickinessPolicyArrayOutput
- func (o AppCookieStickinessPolicyArrayOutput) ToAppCookieStickinessPolicyArrayOutputWithContext(ctx context.Context) AppCookieStickinessPolicyArrayOutput
- type AppCookieStickinessPolicyInput
- type AppCookieStickinessPolicyMap
- func (AppCookieStickinessPolicyMap) ElementType() reflect.Type
- func (i AppCookieStickinessPolicyMap) ToAppCookieStickinessPolicyMapOutput() AppCookieStickinessPolicyMapOutput
- func (i AppCookieStickinessPolicyMap) ToAppCookieStickinessPolicyMapOutputWithContext(ctx context.Context) AppCookieStickinessPolicyMapOutput
- type AppCookieStickinessPolicyMapInput
- type AppCookieStickinessPolicyMapOutput
- func (AppCookieStickinessPolicyMapOutput) ElementType() reflect.Type
- func (o AppCookieStickinessPolicyMapOutput) MapIndex(k pulumi.StringInput) AppCookieStickinessPolicyOutput
- func (o AppCookieStickinessPolicyMapOutput) ToAppCookieStickinessPolicyMapOutput() AppCookieStickinessPolicyMapOutput
- func (o AppCookieStickinessPolicyMapOutput) ToAppCookieStickinessPolicyMapOutputWithContext(ctx context.Context) AppCookieStickinessPolicyMapOutput
- type AppCookieStickinessPolicyOutput
- func (AppCookieStickinessPolicyOutput) ElementType() reflect.Type
- func (o AppCookieStickinessPolicyOutput) ToAppCookieStickinessPolicyOutput() AppCookieStickinessPolicyOutput
- func (o AppCookieStickinessPolicyOutput) ToAppCookieStickinessPolicyOutputWithContext(ctx context.Context) AppCookieStickinessPolicyOutput
- type AppCookieStickinessPolicyState
- type Attachmentdeprecated
- type AttachmentArgs
- type AttachmentArray
- type AttachmentArrayInput
- type AttachmentArrayOutput
- func (AttachmentArrayOutput) ElementType() reflect.Type
- func (o AttachmentArrayOutput) Index(i pulumi.IntInput) AttachmentOutput
- func (o AttachmentArrayOutput) ToAttachmentArrayOutput() AttachmentArrayOutput
- func (o AttachmentArrayOutput) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput
- type AttachmentInput
- type AttachmentMap
- type AttachmentMapInput
- type AttachmentMapOutput
- func (AttachmentMapOutput) ElementType() reflect.Type
- func (o AttachmentMapOutput) MapIndex(k pulumi.StringInput) AttachmentOutput
- func (o AttachmentMapOutput) ToAttachmentMapOutput() AttachmentMapOutput
- func (o AttachmentMapOutput) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput
- type AttachmentOutput
- type AttachmentState
- type GetHostedZoneIdArgs
- type GetHostedZoneIdOutputArgs
- type GetHostedZoneIdResult
- type GetHostedZoneIdResultOutput
- func (GetHostedZoneIdResultOutput) ElementType() reflect.Type
- func (o GetHostedZoneIdResultOutput) Id() pulumi.StringOutput
- func (o GetHostedZoneIdResultOutput) Region() pulumi.StringPtrOutput
- func (o GetHostedZoneIdResultOutput) ToGetHostedZoneIdResultOutput() GetHostedZoneIdResultOutput
- func (o GetHostedZoneIdResultOutput) ToGetHostedZoneIdResultOutputWithContext(ctx context.Context) GetHostedZoneIdResultOutput
- type GetLoadBalancerAccessLogs
- type GetLoadBalancerAccessLogsArgs
- func (GetLoadBalancerAccessLogsArgs) ElementType() reflect.Type
- func (i GetLoadBalancerAccessLogsArgs) ToGetLoadBalancerAccessLogsOutput() GetLoadBalancerAccessLogsOutput
- func (i GetLoadBalancerAccessLogsArgs) ToGetLoadBalancerAccessLogsOutputWithContext(ctx context.Context) GetLoadBalancerAccessLogsOutput
- type GetLoadBalancerAccessLogsInput
- type GetLoadBalancerAccessLogsOutput
- func (o GetLoadBalancerAccessLogsOutput) Bucket() pulumi.StringOutput
- func (o GetLoadBalancerAccessLogsOutput) BucketPrefix() pulumi.StringOutput
- func (GetLoadBalancerAccessLogsOutput) ElementType() reflect.Type
- func (o GetLoadBalancerAccessLogsOutput) Enabled() pulumi.BoolOutput
- func (o GetLoadBalancerAccessLogsOutput) Interval() pulumi.IntOutput
- func (o GetLoadBalancerAccessLogsOutput) ToGetLoadBalancerAccessLogsOutput() GetLoadBalancerAccessLogsOutput
- func (o GetLoadBalancerAccessLogsOutput) ToGetLoadBalancerAccessLogsOutputWithContext(ctx context.Context) GetLoadBalancerAccessLogsOutput
- type GetLoadBalancerHealthCheck
- type GetLoadBalancerHealthCheckArgs
- func (GetLoadBalancerHealthCheckArgs) ElementType() reflect.Type
- func (i GetLoadBalancerHealthCheckArgs) ToGetLoadBalancerHealthCheckOutput() GetLoadBalancerHealthCheckOutput
- func (i GetLoadBalancerHealthCheckArgs) ToGetLoadBalancerHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancerHealthCheckOutput
- type GetLoadBalancerHealthCheckInput
- type GetLoadBalancerHealthCheckOutput
- func (GetLoadBalancerHealthCheckOutput) ElementType() reflect.Type
- func (o GetLoadBalancerHealthCheckOutput) HealthyThreshold() pulumi.IntOutput
- func (o GetLoadBalancerHealthCheckOutput) Interval() pulumi.IntOutput
- func (o GetLoadBalancerHealthCheckOutput) Target() pulumi.StringOutput
- func (o GetLoadBalancerHealthCheckOutput) Timeout() pulumi.IntOutput
- func (o GetLoadBalancerHealthCheckOutput) ToGetLoadBalancerHealthCheckOutput() GetLoadBalancerHealthCheckOutput
- func (o GetLoadBalancerHealthCheckOutput) ToGetLoadBalancerHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancerHealthCheckOutput
- func (o GetLoadBalancerHealthCheckOutput) UnhealthyThreshold() pulumi.IntOutput
- type GetLoadBalancerListener
- type GetLoadBalancerListenerArgs
- type GetLoadBalancerListenerArray
- func (GetLoadBalancerListenerArray) ElementType() reflect.Type
- func (i GetLoadBalancerListenerArray) ToGetLoadBalancerListenerArrayOutput() GetLoadBalancerListenerArrayOutput
- func (i GetLoadBalancerListenerArray) ToGetLoadBalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadBalancerListenerArrayOutput
- type GetLoadBalancerListenerArrayInput
- type GetLoadBalancerListenerArrayOutput
- func (GetLoadBalancerListenerArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancerListenerArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerListenerOutput
- func (o GetLoadBalancerListenerArrayOutput) ToGetLoadBalancerListenerArrayOutput() GetLoadBalancerListenerArrayOutput
- func (o GetLoadBalancerListenerArrayOutput) ToGetLoadBalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadBalancerListenerArrayOutput
- type GetLoadBalancerListenerInput
- type GetLoadBalancerListenerOutput
- func (GetLoadBalancerListenerOutput) ElementType() reflect.Type
- func (o GetLoadBalancerListenerOutput) InstancePort() pulumi.IntOutput
- func (o GetLoadBalancerListenerOutput) InstanceProtocol() pulumi.StringOutput
- func (o GetLoadBalancerListenerOutput) LbPort() pulumi.IntOutput
- func (o GetLoadBalancerListenerOutput) LbProtocol() pulumi.StringOutput
- func (o GetLoadBalancerListenerOutput) SslCertificateId() pulumi.StringOutput
- func (o GetLoadBalancerListenerOutput) ToGetLoadBalancerListenerOutput() GetLoadBalancerListenerOutput
- func (o GetLoadBalancerListenerOutput) ToGetLoadBalancerListenerOutputWithContext(ctx context.Context) GetLoadBalancerListenerOutput
- type GetServiceAccountArgs
- type GetServiceAccountOutputArgs
- type GetServiceAccountResult
- type GetServiceAccountResultOutput
- func (o GetServiceAccountResultOutput) Arn() pulumi.StringOutput
- func (GetServiceAccountResultOutput) ElementType() reflect.Type
- func (o GetServiceAccountResultOutput) Id() pulumi.StringOutput
- func (o GetServiceAccountResultOutput) Region() pulumi.StringPtrOutput
- func (o GetServiceAccountResultOutput) ToGetServiceAccountResultOutput() GetServiceAccountResultOutput
- func (o GetServiceAccountResultOutput) ToGetServiceAccountResultOutputWithContext(ctx context.Context) GetServiceAccountResultOutput
- type ListenerPolicydeprecated
- type ListenerPolicyArgs
- type ListenerPolicyArray
- type ListenerPolicyArrayInput
- type ListenerPolicyArrayOutput
- func (ListenerPolicyArrayOutput) ElementType() reflect.Type
- func (o ListenerPolicyArrayOutput) Index(i pulumi.IntInput) ListenerPolicyOutput
- func (o ListenerPolicyArrayOutput) ToListenerPolicyArrayOutput() ListenerPolicyArrayOutput
- func (o ListenerPolicyArrayOutput) ToListenerPolicyArrayOutputWithContext(ctx context.Context) ListenerPolicyArrayOutput
- type ListenerPolicyInput
- type ListenerPolicyMap
- type ListenerPolicyMapInput
- type ListenerPolicyMapOutput
- func (ListenerPolicyMapOutput) ElementType() reflect.Type
- func (o ListenerPolicyMapOutput) MapIndex(k pulumi.StringInput) ListenerPolicyOutput
- func (o ListenerPolicyMapOutput) ToListenerPolicyMapOutput() ListenerPolicyMapOutput
- func (o ListenerPolicyMapOutput) ToListenerPolicyMapOutputWithContext(ctx context.Context) ListenerPolicyMapOutput
- type ListenerPolicyOutput
- type ListenerPolicyState
- type LoadBalancerdeprecated
- type LoadBalancerAccessLogs
- type LoadBalancerAccessLogsArgs
- func (LoadBalancerAccessLogsArgs) ElementType() reflect.Type
- func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsOutput() LoadBalancerAccessLogsOutput
- func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsOutputWithContext(ctx context.Context) LoadBalancerAccessLogsOutput
- func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput
- func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsPtrOutputWithContext(ctx context.Context) LoadBalancerAccessLogsPtrOutput
- type LoadBalancerAccessLogsInput
- type LoadBalancerAccessLogsOutput
- func (o LoadBalancerAccessLogsOutput) Bucket() pulumi.StringOutput
- func (o LoadBalancerAccessLogsOutput) BucketPrefix() pulumi.StringPtrOutput
- func (LoadBalancerAccessLogsOutput) ElementType() reflect.Type
- func (o LoadBalancerAccessLogsOutput) Enabled() pulumi.BoolPtrOutput
- func (o LoadBalancerAccessLogsOutput) Interval() pulumi.IntPtrOutput
- func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsOutput() LoadBalancerAccessLogsOutput
- func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsOutputWithContext(ctx context.Context) LoadBalancerAccessLogsOutput
- func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput
- func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsPtrOutputWithContext(ctx context.Context) LoadBalancerAccessLogsPtrOutput
- type LoadBalancerAccessLogsPtrInput
- type LoadBalancerAccessLogsPtrOutput
- func (o LoadBalancerAccessLogsPtrOutput) Bucket() pulumi.StringPtrOutput
- func (o LoadBalancerAccessLogsPtrOutput) BucketPrefix() pulumi.StringPtrOutput
- func (o LoadBalancerAccessLogsPtrOutput) Elem() LoadBalancerAccessLogsOutput
- func (LoadBalancerAccessLogsPtrOutput) ElementType() reflect.Type
- func (o LoadBalancerAccessLogsPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o LoadBalancerAccessLogsPtrOutput) Interval() pulumi.IntPtrOutput
- func (o LoadBalancerAccessLogsPtrOutput) ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput
- func (o LoadBalancerAccessLogsPtrOutput) ToLoadBalancerAccessLogsPtrOutputWithContext(ctx context.Context) LoadBalancerAccessLogsPtrOutput
- type LoadBalancerArgs
- type LoadBalancerArray
- type LoadBalancerArrayInput
- type LoadBalancerArrayOutput
- func (LoadBalancerArrayOutput) ElementType() reflect.Type
- func (o LoadBalancerArrayOutput) Index(i pulumi.IntInput) LoadBalancerOutput
- func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput
- func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput
- type LoadBalancerBackendServerPolicydeprecated
- func GetLoadBalancerBackendServerPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*LoadBalancerBackendServerPolicy, error)
- func NewLoadBalancerBackendServerPolicy(ctx *pulumi.Context, name string, args *LoadBalancerBackendServerPolicyArgs, ...) (*LoadBalancerBackendServerPolicy, error)
- func (*LoadBalancerBackendServerPolicy) ElementType() reflect.Type
- func (i *LoadBalancerBackendServerPolicy) ToLoadBalancerBackendServerPolicyOutput() LoadBalancerBackendServerPolicyOutput
- func (i *LoadBalancerBackendServerPolicy) ToLoadBalancerBackendServerPolicyOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyOutput
- type LoadBalancerBackendServerPolicyArgs
- type LoadBalancerBackendServerPolicyArray
- func (LoadBalancerBackendServerPolicyArray) ElementType() reflect.Type
- func (i LoadBalancerBackendServerPolicyArray) ToLoadBalancerBackendServerPolicyArrayOutput() LoadBalancerBackendServerPolicyArrayOutput
- func (i LoadBalancerBackendServerPolicyArray) ToLoadBalancerBackendServerPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyArrayOutput
- type LoadBalancerBackendServerPolicyArrayInput
- type LoadBalancerBackendServerPolicyArrayOutput
- func (LoadBalancerBackendServerPolicyArrayOutput) ElementType() reflect.Type
- func (o LoadBalancerBackendServerPolicyArrayOutput) Index(i pulumi.IntInput) LoadBalancerBackendServerPolicyOutput
- func (o LoadBalancerBackendServerPolicyArrayOutput) ToLoadBalancerBackendServerPolicyArrayOutput() LoadBalancerBackendServerPolicyArrayOutput
- func (o LoadBalancerBackendServerPolicyArrayOutput) ToLoadBalancerBackendServerPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyArrayOutput
- type LoadBalancerBackendServerPolicyInput
- type LoadBalancerBackendServerPolicyMap
- func (LoadBalancerBackendServerPolicyMap) ElementType() reflect.Type
- func (i LoadBalancerBackendServerPolicyMap) ToLoadBalancerBackendServerPolicyMapOutput() LoadBalancerBackendServerPolicyMapOutput
- func (i LoadBalancerBackendServerPolicyMap) ToLoadBalancerBackendServerPolicyMapOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyMapOutput
- type LoadBalancerBackendServerPolicyMapInput
- type LoadBalancerBackendServerPolicyMapOutput
- func (LoadBalancerBackendServerPolicyMapOutput) ElementType() reflect.Type
- func (o LoadBalancerBackendServerPolicyMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerBackendServerPolicyOutput
- func (o LoadBalancerBackendServerPolicyMapOutput) ToLoadBalancerBackendServerPolicyMapOutput() LoadBalancerBackendServerPolicyMapOutput
- func (o LoadBalancerBackendServerPolicyMapOutput) ToLoadBalancerBackendServerPolicyMapOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyMapOutput
- type LoadBalancerBackendServerPolicyOutput
- func (LoadBalancerBackendServerPolicyOutput) ElementType() reflect.Type
- func (o LoadBalancerBackendServerPolicyOutput) ToLoadBalancerBackendServerPolicyOutput() LoadBalancerBackendServerPolicyOutput
- func (o LoadBalancerBackendServerPolicyOutput) ToLoadBalancerBackendServerPolicyOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyOutput
- type LoadBalancerBackendServerPolicyState
- type LoadBalancerCookieStickinessPolicydeprecated
- func GetLoadBalancerCookieStickinessPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*LoadBalancerCookieStickinessPolicy, error)
- func NewLoadBalancerCookieStickinessPolicy(ctx *pulumi.Context, name string, args *LoadBalancerCookieStickinessPolicyArgs, ...) (*LoadBalancerCookieStickinessPolicy, error)
- func (*LoadBalancerCookieStickinessPolicy) ElementType() reflect.Type
- func (i *LoadBalancerCookieStickinessPolicy) ToLoadBalancerCookieStickinessPolicyOutput() LoadBalancerCookieStickinessPolicyOutput
- func (i *LoadBalancerCookieStickinessPolicy) ToLoadBalancerCookieStickinessPolicyOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyOutput
- type LoadBalancerCookieStickinessPolicyArgs
- type LoadBalancerCookieStickinessPolicyArray
- func (LoadBalancerCookieStickinessPolicyArray) ElementType() reflect.Type
- func (i LoadBalancerCookieStickinessPolicyArray) ToLoadBalancerCookieStickinessPolicyArrayOutput() LoadBalancerCookieStickinessPolicyArrayOutput
- func (i LoadBalancerCookieStickinessPolicyArray) ToLoadBalancerCookieStickinessPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyArrayOutput
- type LoadBalancerCookieStickinessPolicyArrayInput
- type LoadBalancerCookieStickinessPolicyArrayOutput
- func (LoadBalancerCookieStickinessPolicyArrayOutput) ElementType() reflect.Type
- func (o LoadBalancerCookieStickinessPolicyArrayOutput) Index(i pulumi.IntInput) LoadBalancerCookieStickinessPolicyOutput
- func (o LoadBalancerCookieStickinessPolicyArrayOutput) ToLoadBalancerCookieStickinessPolicyArrayOutput() LoadBalancerCookieStickinessPolicyArrayOutput
- func (o LoadBalancerCookieStickinessPolicyArrayOutput) ToLoadBalancerCookieStickinessPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyArrayOutput
- type LoadBalancerCookieStickinessPolicyInput
- type LoadBalancerCookieStickinessPolicyMap
- func (LoadBalancerCookieStickinessPolicyMap) ElementType() reflect.Type
- func (i LoadBalancerCookieStickinessPolicyMap) ToLoadBalancerCookieStickinessPolicyMapOutput() LoadBalancerCookieStickinessPolicyMapOutput
- func (i LoadBalancerCookieStickinessPolicyMap) ToLoadBalancerCookieStickinessPolicyMapOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyMapOutput
- type LoadBalancerCookieStickinessPolicyMapInput
- type LoadBalancerCookieStickinessPolicyMapOutput
- func (LoadBalancerCookieStickinessPolicyMapOutput) ElementType() reflect.Type
- func (o LoadBalancerCookieStickinessPolicyMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerCookieStickinessPolicyOutput
- func (o LoadBalancerCookieStickinessPolicyMapOutput) ToLoadBalancerCookieStickinessPolicyMapOutput() LoadBalancerCookieStickinessPolicyMapOutput
- func (o LoadBalancerCookieStickinessPolicyMapOutput) ToLoadBalancerCookieStickinessPolicyMapOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyMapOutput
- type LoadBalancerCookieStickinessPolicyOutput
- func (LoadBalancerCookieStickinessPolicyOutput) ElementType() reflect.Type
- func (o LoadBalancerCookieStickinessPolicyOutput) ToLoadBalancerCookieStickinessPolicyOutput() LoadBalancerCookieStickinessPolicyOutput
- func (o LoadBalancerCookieStickinessPolicyOutput) ToLoadBalancerCookieStickinessPolicyOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyOutput
- type LoadBalancerCookieStickinessPolicyState
- type LoadBalancerHealthCheck
- type LoadBalancerHealthCheckArgs
- func (LoadBalancerHealthCheckArgs) ElementType() reflect.Type
- func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput
- func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutputWithContext(ctx context.Context) LoadBalancerHealthCheckOutput
- func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput
- func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthCheckPtrOutput
- type LoadBalancerHealthCheckInput
- type LoadBalancerHealthCheckOutput
- func (LoadBalancerHealthCheckOutput) ElementType() reflect.Type
- func (o LoadBalancerHealthCheckOutput) HealthyThreshold() pulumi.IntOutput
- func (o LoadBalancerHealthCheckOutput) Interval() pulumi.IntOutput
- func (o LoadBalancerHealthCheckOutput) Target() pulumi.StringOutput
- func (o LoadBalancerHealthCheckOutput) Timeout() pulumi.IntOutput
- func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput
- func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutputWithContext(ctx context.Context) LoadBalancerHealthCheckOutput
- func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput
- func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthCheckPtrOutput
- func (o LoadBalancerHealthCheckOutput) UnhealthyThreshold() pulumi.IntOutput
- type LoadBalancerHealthCheckPtrInput
- type LoadBalancerHealthCheckPtrOutput
- func (o LoadBalancerHealthCheckPtrOutput) Elem() LoadBalancerHealthCheckOutput
- func (LoadBalancerHealthCheckPtrOutput) ElementType() reflect.Type
- func (o LoadBalancerHealthCheckPtrOutput) HealthyThreshold() pulumi.IntPtrOutput
- func (o LoadBalancerHealthCheckPtrOutput) Interval() pulumi.IntPtrOutput
- func (o LoadBalancerHealthCheckPtrOutput) Target() pulumi.StringPtrOutput
- func (o LoadBalancerHealthCheckPtrOutput) Timeout() pulumi.IntPtrOutput
- func (o LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput
- func (o LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthCheckPtrOutput
- func (o LoadBalancerHealthCheckPtrOutput) UnhealthyThreshold() pulumi.IntPtrOutput
- type LoadBalancerInput
- type LoadBalancerListener
- type LoadBalancerListenerArgs
- type LoadBalancerListenerArray
- type LoadBalancerListenerArrayInput
- type LoadBalancerListenerArrayOutput
- func (LoadBalancerListenerArrayOutput) ElementType() reflect.Type
- func (o LoadBalancerListenerArrayOutput) Index(i pulumi.IntInput) LoadBalancerListenerOutput
- func (o LoadBalancerListenerArrayOutput) ToLoadBalancerListenerArrayOutput() LoadBalancerListenerArrayOutput
- func (o LoadBalancerListenerArrayOutput) ToLoadBalancerListenerArrayOutputWithContext(ctx context.Context) LoadBalancerListenerArrayOutput
- type LoadBalancerListenerInput
- type LoadBalancerListenerOutput
- func (LoadBalancerListenerOutput) ElementType() reflect.Type
- func (o LoadBalancerListenerOutput) InstancePort() pulumi.IntOutput
- func (o LoadBalancerListenerOutput) InstanceProtocol() pulumi.StringOutput
- func (o LoadBalancerListenerOutput) LbPort() pulumi.IntOutput
- func (o LoadBalancerListenerOutput) LbProtocol() pulumi.StringOutput
- func (o LoadBalancerListenerOutput) SslCertificateId() pulumi.StringPtrOutput
- func (o LoadBalancerListenerOutput) ToLoadBalancerListenerOutput() LoadBalancerListenerOutput
- func (o LoadBalancerListenerOutput) ToLoadBalancerListenerOutputWithContext(ctx context.Context) LoadBalancerListenerOutput
- type LoadBalancerMap
- type LoadBalancerMapInput
- type LoadBalancerMapOutput
- func (LoadBalancerMapOutput) ElementType() reflect.Type
- func (o LoadBalancerMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerOutput
- func (o LoadBalancerMapOutput) ToLoadBalancerMapOutput() LoadBalancerMapOutput
- func (o LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput
- type LoadBalancerOutput
- type LoadBalancerPolicydeprecated
- type LoadBalancerPolicyArgs
- type LoadBalancerPolicyArray
- type LoadBalancerPolicyArrayInput
- type LoadBalancerPolicyArrayOutput
- func (LoadBalancerPolicyArrayOutput) ElementType() reflect.Type
- func (o LoadBalancerPolicyArrayOutput) Index(i pulumi.IntInput) LoadBalancerPolicyOutput
- func (o LoadBalancerPolicyArrayOutput) ToLoadBalancerPolicyArrayOutput() LoadBalancerPolicyArrayOutput
- func (o LoadBalancerPolicyArrayOutput) ToLoadBalancerPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyArrayOutput
- type LoadBalancerPolicyInput
- type LoadBalancerPolicyMap
- type LoadBalancerPolicyMapInput
- type LoadBalancerPolicyMapOutput
- func (LoadBalancerPolicyMapOutput) ElementType() reflect.Type
- func (o LoadBalancerPolicyMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerPolicyOutput
- func (o LoadBalancerPolicyMapOutput) ToLoadBalancerPolicyMapOutput() LoadBalancerPolicyMapOutput
- func (o LoadBalancerPolicyMapOutput) ToLoadBalancerPolicyMapOutputWithContext(ctx context.Context) LoadBalancerPolicyMapOutput
- type LoadBalancerPolicyOutput
- type LoadBalancerPolicyPolicyAttribute
- type LoadBalancerPolicyPolicyAttributeArgs
- func (LoadBalancerPolicyPolicyAttributeArgs) ElementType() reflect.Type
- func (i LoadBalancerPolicyPolicyAttributeArgs) ToLoadBalancerPolicyPolicyAttributeOutput() LoadBalancerPolicyPolicyAttributeOutput
- func (i LoadBalancerPolicyPolicyAttributeArgs) ToLoadBalancerPolicyPolicyAttributeOutputWithContext(ctx context.Context) LoadBalancerPolicyPolicyAttributeOutput
- type LoadBalancerPolicyPolicyAttributeArray
- func (LoadBalancerPolicyPolicyAttributeArray) ElementType() reflect.Type
- func (i LoadBalancerPolicyPolicyAttributeArray) ToLoadBalancerPolicyPolicyAttributeArrayOutput() LoadBalancerPolicyPolicyAttributeArrayOutput
- func (i LoadBalancerPolicyPolicyAttributeArray) ToLoadBalancerPolicyPolicyAttributeArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyPolicyAttributeArrayOutput
- type LoadBalancerPolicyPolicyAttributeArrayInput
- type LoadBalancerPolicyPolicyAttributeArrayOutput
- func (LoadBalancerPolicyPolicyAttributeArrayOutput) ElementType() reflect.Type
- func (o LoadBalancerPolicyPolicyAttributeArrayOutput) Index(i pulumi.IntInput) LoadBalancerPolicyPolicyAttributeOutput
- func (o LoadBalancerPolicyPolicyAttributeArrayOutput) ToLoadBalancerPolicyPolicyAttributeArrayOutput() LoadBalancerPolicyPolicyAttributeArrayOutput
- func (o LoadBalancerPolicyPolicyAttributeArrayOutput) ToLoadBalancerPolicyPolicyAttributeArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyPolicyAttributeArrayOutput
- type LoadBalancerPolicyPolicyAttributeInput
- type LoadBalancerPolicyPolicyAttributeOutput
- func (LoadBalancerPolicyPolicyAttributeOutput) ElementType() reflect.Type
- func (o LoadBalancerPolicyPolicyAttributeOutput) Name() pulumi.StringPtrOutput
- func (o LoadBalancerPolicyPolicyAttributeOutput) ToLoadBalancerPolicyPolicyAttributeOutput() LoadBalancerPolicyPolicyAttributeOutput
- func (o LoadBalancerPolicyPolicyAttributeOutput) ToLoadBalancerPolicyPolicyAttributeOutputWithContext(ctx context.Context) LoadBalancerPolicyPolicyAttributeOutput
- func (o LoadBalancerPolicyPolicyAttributeOutput) Value() pulumi.StringPtrOutput
- type LoadBalancerPolicyState
- type LoadBalancerState
- type LookupLoadBalancerArgs
- type LookupLoadBalancerOutputArgs
- type LookupLoadBalancerResult
- type LookupLoadBalancerResultOutput
- func (o LookupLoadBalancerResultOutput) AccessLogs() GetLoadBalancerAccessLogsOutput
- func (o LookupLoadBalancerResultOutput) Arn() pulumi.StringOutput
- func (o LookupLoadBalancerResultOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o LookupLoadBalancerResultOutput) ConnectionDraining() pulumi.BoolOutput
- func (o LookupLoadBalancerResultOutput) ConnectionDrainingTimeout() pulumi.IntOutput
- func (o LookupLoadBalancerResultOutput) CrossZoneLoadBalancing() pulumi.BoolOutput
- func (o LookupLoadBalancerResultOutput) DesyncMitigationMode() pulumi.StringOutput
- func (o LookupLoadBalancerResultOutput) DnsName() pulumi.StringOutput
- func (LookupLoadBalancerResultOutput) ElementType() reflect.Type
- func (o LookupLoadBalancerResultOutput) HealthCheck() GetLoadBalancerHealthCheckOutput
- func (o LookupLoadBalancerResultOutput) Id() pulumi.StringOutput
- func (o LookupLoadBalancerResultOutput) IdleTimeout() pulumi.IntOutput
- func (o LookupLoadBalancerResultOutput) Instances() pulumi.StringArrayOutput
- func (o LookupLoadBalancerResultOutput) Internal() pulumi.BoolOutput
- func (o LookupLoadBalancerResultOutput) Listeners() GetLoadBalancerListenerArrayOutput
- func (o LookupLoadBalancerResultOutput) Name() pulumi.StringOutput
- func (o LookupLoadBalancerResultOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o LookupLoadBalancerResultOutput) SourceSecurityGroup() pulumi.StringOutput
- func (o LookupLoadBalancerResultOutput) SourceSecurityGroupId() pulumi.StringOutput
- func (o LookupLoadBalancerResultOutput) Subnets() pulumi.StringArrayOutput
- func (o LookupLoadBalancerResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutput() LookupLoadBalancerResultOutput
- func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutputWithContext(ctx context.Context) LookupLoadBalancerResultOutput
- func (o LookupLoadBalancerResultOutput) ZoneId() pulumi.StringOutput
- type SslNegotiationPolicydeprecated
- type SslNegotiationPolicyArgs
- type SslNegotiationPolicyArray
- type SslNegotiationPolicyArrayInput
- type SslNegotiationPolicyArrayOutput
- func (SslNegotiationPolicyArrayOutput) ElementType() reflect.Type
- func (o SslNegotiationPolicyArrayOutput) Index(i pulumi.IntInput) SslNegotiationPolicyOutput
- func (o SslNegotiationPolicyArrayOutput) ToSslNegotiationPolicyArrayOutput() SslNegotiationPolicyArrayOutput
- func (o SslNegotiationPolicyArrayOutput) ToSslNegotiationPolicyArrayOutputWithContext(ctx context.Context) SslNegotiationPolicyArrayOutput
- type SslNegotiationPolicyAttribute
- type SslNegotiationPolicyAttributeArgs
- func (SslNegotiationPolicyAttributeArgs) ElementType() reflect.Type
- func (i SslNegotiationPolicyAttributeArgs) ToSslNegotiationPolicyAttributeOutput() SslNegotiationPolicyAttributeOutput
- func (i SslNegotiationPolicyAttributeArgs) ToSslNegotiationPolicyAttributeOutputWithContext(ctx context.Context) SslNegotiationPolicyAttributeOutput
- type SslNegotiationPolicyAttributeArray
- func (SslNegotiationPolicyAttributeArray) ElementType() reflect.Type
- func (i SslNegotiationPolicyAttributeArray) ToSslNegotiationPolicyAttributeArrayOutput() SslNegotiationPolicyAttributeArrayOutput
- func (i SslNegotiationPolicyAttributeArray) ToSslNegotiationPolicyAttributeArrayOutputWithContext(ctx context.Context) SslNegotiationPolicyAttributeArrayOutput
- type SslNegotiationPolicyAttributeArrayInput
- type SslNegotiationPolicyAttributeArrayOutput
- func (SslNegotiationPolicyAttributeArrayOutput) ElementType() reflect.Type
- func (o SslNegotiationPolicyAttributeArrayOutput) Index(i pulumi.IntInput) SslNegotiationPolicyAttributeOutput
- func (o SslNegotiationPolicyAttributeArrayOutput) ToSslNegotiationPolicyAttributeArrayOutput() SslNegotiationPolicyAttributeArrayOutput
- func (o SslNegotiationPolicyAttributeArrayOutput) ToSslNegotiationPolicyAttributeArrayOutputWithContext(ctx context.Context) SslNegotiationPolicyAttributeArrayOutput
- type SslNegotiationPolicyAttributeInput
- type SslNegotiationPolicyAttributeOutput
- func (SslNegotiationPolicyAttributeOutput) ElementType() reflect.Type
- func (o SslNegotiationPolicyAttributeOutput) Name() pulumi.StringOutput
- func (o SslNegotiationPolicyAttributeOutput) ToSslNegotiationPolicyAttributeOutput() SslNegotiationPolicyAttributeOutput
- func (o SslNegotiationPolicyAttributeOutput) ToSslNegotiationPolicyAttributeOutputWithContext(ctx context.Context) SslNegotiationPolicyAttributeOutput
- func (o SslNegotiationPolicyAttributeOutput) Value() pulumi.StringOutput
- type SslNegotiationPolicyInput
- type SslNegotiationPolicyMap
- type SslNegotiationPolicyMapInput
- type SslNegotiationPolicyMapOutput
- func (SslNegotiationPolicyMapOutput) ElementType() reflect.Type
- func (o SslNegotiationPolicyMapOutput) MapIndex(k pulumi.StringInput) SslNegotiationPolicyOutput
- func (o SslNegotiationPolicyMapOutput) ToSslNegotiationPolicyMapOutput() SslNegotiationPolicyMapOutput
- func (o SslNegotiationPolicyMapOutput) ToSslNegotiationPolicyMapOutputWithContext(ctx context.Context) SslNegotiationPolicyMapOutput
- type SslNegotiationPolicyOutput
- type SslNegotiationPolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppCookieStickinessPolicy
deprecated
type AppCookieStickinessPolicy struct { pulumi.CustomResourceState // The application cookie whose lifetime the ELB's cookie should follow. CookieName pulumi.StringOutput `pulumi:"cookieName"` // The load balancer port to which the policy // should be applied. This must be an active listener on the load // balancer. LbPort pulumi.IntOutput `pulumi:"lbPort"` // The name of load balancer to which the policy // should be attached. LoadBalancer pulumi.StringOutput `pulumi:"loadBalancer"` // The name of the stickiness policy. Name pulumi.StringOutput `pulumi:"name"` }
Provides an application cookie stickiness policy, which allows an ELB to wed its sticky cookie's expiration to a cookie generated by your application.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/elb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { lb, err := elb.NewLoadBalancer(ctx, "lb", &elb.LoadBalancerArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-east-1a"), }, Listeners: elb.LoadBalancerListenerArray{ &elb.LoadBalancerListenerArgs{ InstancePort: pulumi.Int(8000), InstanceProtocol: pulumi.String("http"), LbPort: pulumi.Int(80), LbProtocol: pulumi.String("http"), }, }, }) if err != nil { return err } _, err = elb.NewAppCookieStickinessPolicy(ctx, "foo", &elb.AppCookieStickinessPolicyArgs{ LoadBalancer: lb.Name, LbPort: pulumi.Int(80), CookieName: pulumi.String("MyAppCookie"), }) if err != nil { return err } return nil }) }
```
## Import
Application cookie stickiness policies can be imported using the ELB name, port, and policy name separated by colons (`:`), e.g.,
```sh
$ pulumi import aws:elasticloadbalancing/appCookieStickinessPolicy:AppCookieStickinessPolicy example my-elb:80:my-policy
```
Deprecated: aws.elasticloadbalancing.AppCookieStickinessPolicy has been deprecated in favor of aws.elb.AppCookieStickinessPolicy
func GetAppCookieStickinessPolicy ¶
func GetAppCookieStickinessPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AppCookieStickinessPolicyState, opts ...pulumi.ResourceOption) (*AppCookieStickinessPolicy, error)
GetAppCookieStickinessPolicy gets an existing AppCookieStickinessPolicy 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 NewAppCookieStickinessPolicy ¶
func NewAppCookieStickinessPolicy(ctx *pulumi.Context, name string, args *AppCookieStickinessPolicyArgs, opts ...pulumi.ResourceOption) (*AppCookieStickinessPolicy, error)
NewAppCookieStickinessPolicy registers a new resource with the given unique name, arguments, and options.
func (*AppCookieStickinessPolicy) ElementType ¶
func (*AppCookieStickinessPolicy) ElementType() reflect.Type
func (*AppCookieStickinessPolicy) ToAppCookieStickinessPolicyOutput ¶
func (i *AppCookieStickinessPolicy) ToAppCookieStickinessPolicyOutput() AppCookieStickinessPolicyOutput
func (*AppCookieStickinessPolicy) ToAppCookieStickinessPolicyOutputWithContext ¶
func (i *AppCookieStickinessPolicy) ToAppCookieStickinessPolicyOutputWithContext(ctx context.Context) AppCookieStickinessPolicyOutput
type AppCookieStickinessPolicyArgs ¶
type AppCookieStickinessPolicyArgs struct { // The application cookie whose lifetime the ELB's cookie should follow. CookieName pulumi.StringInput // The load balancer port to which the policy // should be applied. This must be an active listener on the load // balancer. LbPort pulumi.IntInput // The name of load balancer to which the policy // should be attached. LoadBalancer pulumi.StringInput // The name of the stickiness policy. Name pulumi.StringPtrInput }
The set of arguments for constructing a AppCookieStickinessPolicy resource.
func (AppCookieStickinessPolicyArgs) ElementType ¶
func (AppCookieStickinessPolicyArgs) ElementType() reflect.Type
type AppCookieStickinessPolicyArray ¶
type AppCookieStickinessPolicyArray []AppCookieStickinessPolicyInput
func (AppCookieStickinessPolicyArray) ElementType ¶
func (AppCookieStickinessPolicyArray) ElementType() reflect.Type
func (AppCookieStickinessPolicyArray) ToAppCookieStickinessPolicyArrayOutput ¶
func (i AppCookieStickinessPolicyArray) ToAppCookieStickinessPolicyArrayOutput() AppCookieStickinessPolicyArrayOutput
func (AppCookieStickinessPolicyArray) ToAppCookieStickinessPolicyArrayOutputWithContext ¶
func (i AppCookieStickinessPolicyArray) ToAppCookieStickinessPolicyArrayOutputWithContext(ctx context.Context) AppCookieStickinessPolicyArrayOutput
type AppCookieStickinessPolicyArrayInput ¶
type AppCookieStickinessPolicyArrayInput interface { pulumi.Input ToAppCookieStickinessPolicyArrayOutput() AppCookieStickinessPolicyArrayOutput ToAppCookieStickinessPolicyArrayOutputWithContext(context.Context) AppCookieStickinessPolicyArrayOutput }
AppCookieStickinessPolicyArrayInput is an input type that accepts AppCookieStickinessPolicyArray and AppCookieStickinessPolicyArrayOutput values. You can construct a concrete instance of `AppCookieStickinessPolicyArrayInput` via:
AppCookieStickinessPolicyArray{ AppCookieStickinessPolicyArgs{...} }
type AppCookieStickinessPolicyArrayOutput ¶
type AppCookieStickinessPolicyArrayOutput struct{ *pulumi.OutputState }
func (AppCookieStickinessPolicyArrayOutput) ElementType ¶
func (AppCookieStickinessPolicyArrayOutput) ElementType() reflect.Type
func (AppCookieStickinessPolicyArrayOutput) Index ¶
func (o AppCookieStickinessPolicyArrayOutput) Index(i pulumi.IntInput) AppCookieStickinessPolicyOutput
func (AppCookieStickinessPolicyArrayOutput) ToAppCookieStickinessPolicyArrayOutput ¶
func (o AppCookieStickinessPolicyArrayOutput) ToAppCookieStickinessPolicyArrayOutput() AppCookieStickinessPolicyArrayOutput
func (AppCookieStickinessPolicyArrayOutput) ToAppCookieStickinessPolicyArrayOutputWithContext ¶
func (o AppCookieStickinessPolicyArrayOutput) ToAppCookieStickinessPolicyArrayOutputWithContext(ctx context.Context) AppCookieStickinessPolicyArrayOutput
type AppCookieStickinessPolicyInput ¶
type AppCookieStickinessPolicyInput interface { pulumi.Input ToAppCookieStickinessPolicyOutput() AppCookieStickinessPolicyOutput ToAppCookieStickinessPolicyOutputWithContext(ctx context.Context) AppCookieStickinessPolicyOutput }
type AppCookieStickinessPolicyMap ¶
type AppCookieStickinessPolicyMap map[string]AppCookieStickinessPolicyInput
func (AppCookieStickinessPolicyMap) ElementType ¶
func (AppCookieStickinessPolicyMap) ElementType() reflect.Type
func (AppCookieStickinessPolicyMap) ToAppCookieStickinessPolicyMapOutput ¶
func (i AppCookieStickinessPolicyMap) ToAppCookieStickinessPolicyMapOutput() AppCookieStickinessPolicyMapOutput
func (AppCookieStickinessPolicyMap) ToAppCookieStickinessPolicyMapOutputWithContext ¶
func (i AppCookieStickinessPolicyMap) ToAppCookieStickinessPolicyMapOutputWithContext(ctx context.Context) AppCookieStickinessPolicyMapOutput
type AppCookieStickinessPolicyMapInput ¶
type AppCookieStickinessPolicyMapInput interface { pulumi.Input ToAppCookieStickinessPolicyMapOutput() AppCookieStickinessPolicyMapOutput ToAppCookieStickinessPolicyMapOutputWithContext(context.Context) AppCookieStickinessPolicyMapOutput }
AppCookieStickinessPolicyMapInput is an input type that accepts AppCookieStickinessPolicyMap and AppCookieStickinessPolicyMapOutput values. You can construct a concrete instance of `AppCookieStickinessPolicyMapInput` via:
AppCookieStickinessPolicyMap{ "key": AppCookieStickinessPolicyArgs{...} }
type AppCookieStickinessPolicyMapOutput ¶
type AppCookieStickinessPolicyMapOutput struct{ *pulumi.OutputState }
func (AppCookieStickinessPolicyMapOutput) ElementType ¶
func (AppCookieStickinessPolicyMapOutput) ElementType() reflect.Type
func (AppCookieStickinessPolicyMapOutput) MapIndex ¶
func (o AppCookieStickinessPolicyMapOutput) MapIndex(k pulumi.StringInput) AppCookieStickinessPolicyOutput
func (AppCookieStickinessPolicyMapOutput) ToAppCookieStickinessPolicyMapOutput ¶
func (o AppCookieStickinessPolicyMapOutput) ToAppCookieStickinessPolicyMapOutput() AppCookieStickinessPolicyMapOutput
func (AppCookieStickinessPolicyMapOutput) ToAppCookieStickinessPolicyMapOutputWithContext ¶
func (o AppCookieStickinessPolicyMapOutput) ToAppCookieStickinessPolicyMapOutputWithContext(ctx context.Context) AppCookieStickinessPolicyMapOutput
type AppCookieStickinessPolicyOutput ¶
type AppCookieStickinessPolicyOutput struct{ *pulumi.OutputState }
func (AppCookieStickinessPolicyOutput) ElementType ¶
func (AppCookieStickinessPolicyOutput) ElementType() reflect.Type
func (AppCookieStickinessPolicyOutput) ToAppCookieStickinessPolicyOutput ¶
func (o AppCookieStickinessPolicyOutput) ToAppCookieStickinessPolicyOutput() AppCookieStickinessPolicyOutput
func (AppCookieStickinessPolicyOutput) ToAppCookieStickinessPolicyOutputWithContext ¶
func (o AppCookieStickinessPolicyOutput) ToAppCookieStickinessPolicyOutputWithContext(ctx context.Context) AppCookieStickinessPolicyOutput
type AppCookieStickinessPolicyState ¶
type AppCookieStickinessPolicyState struct { // The application cookie whose lifetime the ELB's cookie should follow. CookieName pulumi.StringPtrInput // The load balancer port to which the policy // should be applied. This must be an active listener on the load // balancer. LbPort pulumi.IntPtrInput // The name of load balancer to which the policy // should be attached. LoadBalancer pulumi.StringPtrInput // The name of the stickiness policy. Name pulumi.StringPtrInput }
func (AppCookieStickinessPolicyState) ElementType ¶
func (AppCookieStickinessPolicyState) ElementType() reflect.Type
type Attachment
deprecated
type Attachment struct { pulumi.CustomResourceState // The name of the ELB. Elb pulumi.StringOutput `pulumi:"elb"` // Instance ID to place in the ELB pool. Instance pulumi.StringOutput `pulumi:"instance"` }
Attaches an EC2 instance to an Elastic Load Balancer (ELB). For attaching resources with Application Load Balancer (ALB) or Network Load Balancer (NLB), see the `lb.TargetGroupAttachment` resource.
> **NOTE on ELB Instances and ELB Attachments:** This provider currently provides both a standalone ELB Attachment resource (describing an instance attached to an ELB), and an Elastic Load Balancer resource with `instances` defined in-line. At this time you cannot use an ELB with in-line instances in conjunction with an ELB Attachment resource. Doing so will cause a conflict and will overwrite attachments.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/elb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := elb.NewAttachment(ctx, "baz", &elb.AttachmentArgs{ Elb: pulumi.Any(aws_elb.Bar.Id), Instance: pulumi.Any(aws_instance.Foo.Id), }) if err != nil { return err } return nil }) }
```
Deprecated: aws.elasticloadbalancing.Attachment has been deprecated in favor of aws.elb.Attachment
func GetAttachment ¶
func GetAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AttachmentState, opts ...pulumi.ResourceOption) (*Attachment, error)
GetAttachment gets an existing Attachment 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 NewAttachment ¶
func NewAttachment(ctx *pulumi.Context, name string, args *AttachmentArgs, opts ...pulumi.ResourceOption) (*Attachment, error)
NewAttachment registers a new resource with the given unique name, arguments, and options.
func (*Attachment) ElementType ¶
func (*Attachment) ElementType() reflect.Type
func (*Attachment) ToAttachmentOutput ¶
func (i *Attachment) ToAttachmentOutput() AttachmentOutput
func (*Attachment) ToAttachmentOutputWithContext ¶
func (i *Attachment) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput
type AttachmentArgs ¶
type AttachmentArgs struct { // The name of the ELB. Elb pulumi.StringInput // Instance ID to place in the ELB pool. Instance pulumi.StringInput }
The set of arguments for constructing a Attachment resource.
func (AttachmentArgs) ElementType ¶
func (AttachmentArgs) ElementType() reflect.Type
type AttachmentArray ¶
type AttachmentArray []AttachmentInput
func (AttachmentArray) ElementType ¶
func (AttachmentArray) ElementType() reflect.Type
func (AttachmentArray) ToAttachmentArrayOutput ¶
func (i AttachmentArray) ToAttachmentArrayOutput() AttachmentArrayOutput
func (AttachmentArray) ToAttachmentArrayOutputWithContext ¶
func (i AttachmentArray) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput
type AttachmentArrayInput ¶
type AttachmentArrayInput interface { pulumi.Input ToAttachmentArrayOutput() AttachmentArrayOutput ToAttachmentArrayOutputWithContext(context.Context) AttachmentArrayOutput }
AttachmentArrayInput is an input type that accepts AttachmentArray and AttachmentArrayOutput values. You can construct a concrete instance of `AttachmentArrayInput` via:
AttachmentArray{ AttachmentArgs{...} }
type AttachmentArrayOutput ¶
type AttachmentArrayOutput struct{ *pulumi.OutputState }
func (AttachmentArrayOutput) ElementType ¶
func (AttachmentArrayOutput) ElementType() reflect.Type
func (AttachmentArrayOutput) Index ¶
func (o AttachmentArrayOutput) Index(i pulumi.IntInput) AttachmentOutput
func (AttachmentArrayOutput) ToAttachmentArrayOutput ¶
func (o AttachmentArrayOutput) ToAttachmentArrayOutput() AttachmentArrayOutput
func (AttachmentArrayOutput) ToAttachmentArrayOutputWithContext ¶
func (o AttachmentArrayOutput) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput
type AttachmentInput ¶
type AttachmentInput interface { pulumi.Input ToAttachmentOutput() AttachmentOutput ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput }
type AttachmentMap ¶
type AttachmentMap map[string]AttachmentInput
func (AttachmentMap) ElementType ¶
func (AttachmentMap) ElementType() reflect.Type
func (AttachmentMap) ToAttachmentMapOutput ¶
func (i AttachmentMap) ToAttachmentMapOutput() AttachmentMapOutput
func (AttachmentMap) ToAttachmentMapOutputWithContext ¶
func (i AttachmentMap) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput
type AttachmentMapInput ¶
type AttachmentMapInput interface { pulumi.Input ToAttachmentMapOutput() AttachmentMapOutput ToAttachmentMapOutputWithContext(context.Context) AttachmentMapOutput }
AttachmentMapInput is an input type that accepts AttachmentMap and AttachmentMapOutput values. You can construct a concrete instance of `AttachmentMapInput` via:
AttachmentMap{ "key": AttachmentArgs{...} }
type AttachmentMapOutput ¶
type AttachmentMapOutput struct{ *pulumi.OutputState }
func (AttachmentMapOutput) ElementType ¶
func (AttachmentMapOutput) ElementType() reflect.Type
func (AttachmentMapOutput) MapIndex ¶
func (o AttachmentMapOutput) MapIndex(k pulumi.StringInput) AttachmentOutput
func (AttachmentMapOutput) ToAttachmentMapOutput ¶
func (o AttachmentMapOutput) ToAttachmentMapOutput() AttachmentMapOutput
func (AttachmentMapOutput) ToAttachmentMapOutputWithContext ¶
func (o AttachmentMapOutput) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput
type AttachmentOutput ¶
type AttachmentOutput struct{ *pulumi.OutputState }
func (AttachmentOutput) ElementType ¶
func (AttachmentOutput) ElementType() reflect.Type
func (AttachmentOutput) ToAttachmentOutput ¶
func (o AttachmentOutput) ToAttachmentOutput() AttachmentOutput
func (AttachmentOutput) ToAttachmentOutputWithContext ¶
func (o AttachmentOutput) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput
type AttachmentState ¶
type AttachmentState struct { // The name of the ELB. Elb pulumi.StringPtrInput // Instance ID to place in the ELB pool. Instance pulumi.StringPtrInput }
func (AttachmentState) ElementType ¶
func (AttachmentState) ElementType() reflect.Type
type GetHostedZoneIdArgs ¶
type GetHostedZoneIdArgs struct { // Name of the region whose AWS ELB HostedZoneId is desired. // Defaults to the region from the AWS provider configuration. Region *string `pulumi:"region"` }
A collection of arguments for invoking getHostedZoneId.
type GetHostedZoneIdOutputArgs ¶ added in v4.21.0
type GetHostedZoneIdOutputArgs struct { // Name of the region whose AWS ELB HostedZoneId is desired. // Defaults to the region from the AWS provider configuration. Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getHostedZoneId.
func (GetHostedZoneIdOutputArgs) ElementType ¶ added in v4.21.0
func (GetHostedZoneIdOutputArgs) ElementType() reflect.Type
type GetHostedZoneIdResult ¶
type GetHostedZoneIdResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Region *string `pulumi:"region"` }
A collection of values returned by getHostedZoneId.
func GetHostedZoneId
deprecated
func GetHostedZoneId(ctx *pulumi.Context, args *GetHostedZoneIdArgs, opts ...pulumi.InvokeOption) (*GetHostedZoneIdResult, error)
Use this data source to get the HostedZoneId of the AWS Elastic Load Balancing HostedZoneId in a given region for the purpose of using in an AWS Route53 Alias.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/elb" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/route53" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := elb.GetHostedZoneId(ctx, nil, nil) if err != nil { return err } _, err = route53.NewRecord(ctx, "www", &route53.RecordArgs{ ZoneId: pulumi.Any(aws_route53_zone.Primary.Zone_id), Name: pulumi.String("example.com"), Type: pulumi.String("A"), Aliases: route53.RecordAliasArray{ &route53.RecordAliasArgs{ Name: pulumi.Any(aws_elb.Main.Dns_name), ZoneId: pulumi.String(main.Id), EvaluateTargetHealth: pulumi.Bool(true), }, }, }) if err != nil { return err } return nil }) }
```
Deprecated: aws.elasticloadbalancing.getHostedZoneId has been deprecated in favor of aws.elb.getHostedZoneId
type GetHostedZoneIdResultOutput ¶ added in v4.21.0
type GetHostedZoneIdResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getHostedZoneId.
func GetHostedZoneIdOutput ¶ added in v4.21.0
func GetHostedZoneIdOutput(ctx *pulumi.Context, args GetHostedZoneIdOutputArgs, opts ...pulumi.InvokeOption) GetHostedZoneIdResultOutput
func (GetHostedZoneIdResultOutput) ElementType ¶ added in v4.21.0
func (GetHostedZoneIdResultOutput) ElementType() reflect.Type
func (GetHostedZoneIdResultOutput) Id ¶ added in v4.21.0
func (o GetHostedZoneIdResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetHostedZoneIdResultOutput) Region ¶ added in v4.21.0
func (o GetHostedZoneIdResultOutput) Region() pulumi.StringPtrOutput
func (GetHostedZoneIdResultOutput) ToGetHostedZoneIdResultOutput ¶ added in v4.21.0
func (o GetHostedZoneIdResultOutput) ToGetHostedZoneIdResultOutput() GetHostedZoneIdResultOutput
func (GetHostedZoneIdResultOutput) ToGetHostedZoneIdResultOutputWithContext ¶ added in v4.21.0
func (o GetHostedZoneIdResultOutput) ToGetHostedZoneIdResultOutputWithContext(ctx context.Context) GetHostedZoneIdResultOutput
type GetLoadBalancerAccessLogsArgs ¶
type GetLoadBalancerAccessLogsArgs struct { Bucket pulumi.StringInput `pulumi:"bucket"` BucketPrefix pulumi.StringInput `pulumi:"bucketPrefix"` Enabled pulumi.BoolInput `pulumi:"enabled"` Interval pulumi.IntInput `pulumi:"interval"` }
func (GetLoadBalancerAccessLogsArgs) ElementType ¶
func (GetLoadBalancerAccessLogsArgs) ElementType() reflect.Type
func (GetLoadBalancerAccessLogsArgs) ToGetLoadBalancerAccessLogsOutput ¶
func (i GetLoadBalancerAccessLogsArgs) ToGetLoadBalancerAccessLogsOutput() GetLoadBalancerAccessLogsOutput
func (GetLoadBalancerAccessLogsArgs) ToGetLoadBalancerAccessLogsOutputWithContext ¶
func (i GetLoadBalancerAccessLogsArgs) ToGetLoadBalancerAccessLogsOutputWithContext(ctx context.Context) GetLoadBalancerAccessLogsOutput
type GetLoadBalancerAccessLogsInput ¶
type GetLoadBalancerAccessLogsInput interface { pulumi.Input ToGetLoadBalancerAccessLogsOutput() GetLoadBalancerAccessLogsOutput ToGetLoadBalancerAccessLogsOutputWithContext(context.Context) GetLoadBalancerAccessLogsOutput }
GetLoadBalancerAccessLogsInput is an input type that accepts GetLoadBalancerAccessLogsArgs and GetLoadBalancerAccessLogsOutput values. You can construct a concrete instance of `GetLoadBalancerAccessLogsInput` via:
GetLoadBalancerAccessLogsArgs{...}
type GetLoadBalancerAccessLogsOutput ¶
type GetLoadBalancerAccessLogsOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerAccessLogsOutput) Bucket ¶
func (o GetLoadBalancerAccessLogsOutput) Bucket() pulumi.StringOutput
func (GetLoadBalancerAccessLogsOutput) BucketPrefix ¶
func (o GetLoadBalancerAccessLogsOutput) BucketPrefix() pulumi.StringOutput
func (GetLoadBalancerAccessLogsOutput) ElementType ¶
func (GetLoadBalancerAccessLogsOutput) ElementType() reflect.Type
func (GetLoadBalancerAccessLogsOutput) Enabled ¶
func (o GetLoadBalancerAccessLogsOutput) Enabled() pulumi.BoolOutput
func (GetLoadBalancerAccessLogsOutput) Interval ¶
func (o GetLoadBalancerAccessLogsOutput) Interval() pulumi.IntOutput
func (GetLoadBalancerAccessLogsOutput) ToGetLoadBalancerAccessLogsOutput ¶
func (o GetLoadBalancerAccessLogsOutput) ToGetLoadBalancerAccessLogsOutput() GetLoadBalancerAccessLogsOutput
func (GetLoadBalancerAccessLogsOutput) ToGetLoadBalancerAccessLogsOutputWithContext ¶
func (o GetLoadBalancerAccessLogsOutput) ToGetLoadBalancerAccessLogsOutputWithContext(ctx context.Context) GetLoadBalancerAccessLogsOutput
type GetLoadBalancerHealthCheckArgs ¶
type GetLoadBalancerHealthCheckArgs struct { HealthyThreshold pulumi.IntInput `pulumi:"healthyThreshold"` Interval pulumi.IntInput `pulumi:"interval"` Target pulumi.StringInput `pulumi:"target"` Timeout pulumi.IntInput `pulumi:"timeout"` UnhealthyThreshold pulumi.IntInput `pulumi:"unhealthyThreshold"` }
func (GetLoadBalancerHealthCheckArgs) ElementType ¶
func (GetLoadBalancerHealthCheckArgs) ElementType() reflect.Type
func (GetLoadBalancerHealthCheckArgs) ToGetLoadBalancerHealthCheckOutput ¶
func (i GetLoadBalancerHealthCheckArgs) ToGetLoadBalancerHealthCheckOutput() GetLoadBalancerHealthCheckOutput
func (GetLoadBalancerHealthCheckArgs) ToGetLoadBalancerHealthCheckOutputWithContext ¶
func (i GetLoadBalancerHealthCheckArgs) ToGetLoadBalancerHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancerHealthCheckOutput
type GetLoadBalancerHealthCheckInput ¶
type GetLoadBalancerHealthCheckInput interface { pulumi.Input ToGetLoadBalancerHealthCheckOutput() GetLoadBalancerHealthCheckOutput ToGetLoadBalancerHealthCheckOutputWithContext(context.Context) GetLoadBalancerHealthCheckOutput }
GetLoadBalancerHealthCheckInput is an input type that accepts GetLoadBalancerHealthCheckArgs and GetLoadBalancerHealthCheckOutput values. You can construct a concrete instance of `GetLoadBalancerHealthCheckInput` via:
GetLoadBalancerHealthCheckArgs{...}
type GetLoadBalancerHealthCheckOutput ¶
type GetLoadBalancerHealthCheckOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerHealthCheckOutput) ElementType ¶
func (GetLoadBalancerHealthCheckOutput) ElementType() reflect.Type
func (GetLoadBalancerHealthCheckOutput) HealthyThreshold ¶
func (o GetLoadBalancerHealthCheckOutput) HealthyThreshold() pulumi.IntOutput
func (GetLoadBalancerHealthCheckOutput) Interval ¶
func (o GetLoadBalancerHealthCheckOutput) Interval() pulumi.IntOutput
func (GetLoadBalancerHealthCheckOutput) Target ¶
func (o GetLoadBalancerHealthCheckOutput) Target() pulumi.StringOutput
func (GetLoadBalancerHealthCheckOutput) Timeout ¶
func (o GetLoadBalancerHealthCheckOutput) Timeout() pulumi.IntOutput
func (GetLoadBalancerHealthCheckOutput) ToGetLoadBalancerHealthCheckOutput ¶
func (o GetLoadBalancerHealthCheckOutput) ToGetLoadBalancerHealthCheckOutput() GetLoadBalancerHealthCheckOutput
func (GetLoadBalancerHealthCheckOutput) ToGetLoadBalancerHealthCheckOutputWithContext ¶
func (o GetLoadBalancerHealthCheckOutput) ToGetLoadBalancerHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancerHealthCheckOutput
func (GetLoadBalancerHealthCheckOutput) UnhealthyThreshold ¶
func (o GetLoadBalancerHealthCheckOutput) UnhealthyThreshold() pulumi.IntOutput
type GetLoadBalancerListener ¶
type GetLoadBalancerListenerArgs ¶
type GetLoadBalancerListenerArgs struct { InstancePort pulumi.IntInput `pulumi:"instancePort"` InstanceProtocol pulumi.StringInput `pulumi:"instanceProtocol"` LbPort pulumi.IntInput `pulumi:"lbPort"` LbProtocol pulumi.StringInput `pulumi:"lbProtocol"` SslCertificateId pulumi.StringInput `pulumi:"sslCertificateId"` }
func (GetLoadBalancerListenerArgs) ElementType ¶
func (GetLoadBalancerListenerArgs) ElementType() reflect.Type
func (GetLoadBalancerListenerArgs) ToGetLoadBalancerListenerOutput ¶
func (i GetLoadBalancerListenerArgs) ToGetLoadBalancerListenerOutput() GetLoadBalancerListenerOutput
func (GetLoadBalancerListenerArgs) ToGetLoadBalancerListenerOutputWithContext ¶
func (i GetLoadBalancerListenerArgs) ToGetLoadBalancerListenerOutputWithContext(ctx context.Context) GetLoadBalancerListenerOutput
type GetLoadBalancerListenerArray ¶
type GetLoadBalancerListenerArray []GetLoadBalancerListenerInput
func (GetLoadBalancerListenerArray) ElementType ¶
func (GetLoadBalancerListenerArray) ElementType() reflect.Type
func (GetLoadBalancerListenerArray) ToGetLoadBalancerListenerArrayOutput ¶
func (i GetLoadBalancerListenerArray) ToGetLoadBalancerListenerArrayOutput() GetLoadBalancerListenerArrayOutput
func (GetLoadBalancerListenerArray) ToGetLoadBalancerListenerArrayOutputWithContext ¶
func (i GetLoadBalancerListenerArray) ToGetLoadBalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadBalancerListenerArrayOutput
type GetLoadBalancerListenerArrayInput ¶
type GetLoadBalancerListenerArrayInput interface { pulumi.Input ToGetLoadBalancerListenerArrayOutput() GetLoadBalancerListenerArrayOutput ToGetLoadBalancerListenerArrayOutputWithContext(context.Context) GetLoadBalancerListenerArrayOutput }
GetLoadBalancerListenerArrayInput is an input type that accepts GetLoadBalancerListenerArray and GetLoadBalancerListenerArrayOutput values. You can construct a concrete instance of `GetLoadBalancerListenerArrayInput` via:
GetLoadBalancerListenerArray{ GetLoadBalancerListenerArgs{...} }
type GetLoadBalancerListenerArrayOutput ¶
type GetLoadBalancerListenerArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerListenerArrayOutput) ElementType ¶
func (GetLoadBalancerListenerArrayOutput) ElementType() reflect.Type
func (GetLoadBalancerListenerArrayOutput) Index ¶
func (o GetLoadBalancerListenerArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerListenerOutput
func (GetLoadBalancerListenerArrayOutput) ToGetLoadBalancerListenerArrayOutput ¶
func (o GetLoadBalancerListenerArrayOutput) ToGetLoadBalancerListenerArrayOutput() GetLoadBalancerListenerArrayOutput
func (GetLoadBalancerListenerArrayOutput) ToGetLoadBalancerListenerArrayOutputWithContext ¶
func (o GetLoadBalancerListenerArrayOutput) ToGetLoadBalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadBalancerListenerArrayOutput
type GetLoadBalancerListenerInput ¶
type GetLoadBalancerListenerInput interface { pulumi.Input ToGetLoadBalancerListenerOutput() GetLoadBalancerListenerOutput ToGetLoadBalancerListenerOutputWithContext(context.Context) GetLoadBalancerListenerOutput }
GetLoadBalancerListenerInput is an input type that accepts GetLoadBalancerListenerArgs and GetLoadBalancerListenerOutput values. You can construct a concrete instance of `GetLoadBalancerListenerInput` via:
GetLoadBalancerListenerArgs{...}
type GetLoadBalancerListenerOutput ¶
type GetLoadBalancerListenerOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerListenerOutput) ElementType ¶
func (GetLoadBalancerListenerOutput) ElementType() reflect.Type
func (GetLoadBalancerListenerOutput) InstancePort ¶
func (o GetLoadBalancerListenerOutput) InstancePort() pulumi.IntOutput
func (GetLoadBalancerListenerOutput) InstanceProtocol ¶
func (o GetLoadBalancerListenerOutput) InstanceProtocol() pulumi.StringOutput
func (GetLoadBalancerListenerOutput) LbPort ¶
func (o GetLoadBalancerListenerOutput) LbPort() pulumi.IntOutput
func (GetLoadBalancerListenerOutput) LbProtocol ¶
func (o GetLoadBalancerListenerOutput) LbProtocol() pulumi.StringOutput
func (GetLoadBalancerListenerOutput) SslCertificateId ¶
func (o GetLoadBalancerListenerOutput) SslCertificateId() pulumi.StringOutput
func (GetLoadBalancerListenerOutput) ToGetLoadBalancerListenerOutput ¶
func (o GetLoadBalancerListenerOutput) ToGetLoadBalancerListenerOutput() GetLoadBalancerListenerOutput
func (GetLoadBalancerListenerOutput) ToGetLoadBalancerListenerOutputWithContext ¶
func (o GetLoadBalancerListenerOutput) ToGetLoadBalancerListenerOutputWithContext(ctx context.Context) GetLoadBalancerListenerOutput
type GetServiceAccountArgs ¶
type GetServiceAccountArgs struct { // Name of the region whose AWS ELB account ID is desired. // Defaults to the region from the AWS provider configuration. Region *string `pulumi:"region"` }
A collection of arguments for invoking getServiceAccount.
type GetServiceAccountOutputArgs ¶ added in v4.21.0
type GetServiceAccountOutputArgs struct { // Name of the region whose AWS ELB account ID is desired. // Defaults to the region from the AWS provider configuration. Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getServiceAccount.
func (GetServiceAccountOutputArgs) ElementType ¶ added in v4.21.0
func (GetServiceAccountOutputArgs) ElementType() reflect.Type
type GetServiceAccountResult ¶
type GetServiceAccountResult struct { // The ARN of the AWS ELB service account in the selected region. Arn string `pulumi:"arn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Region *string `pulumi:"region"` }
A collection of values returned by getServiceAccount.
func GetServiceAccount
deprecated
func GetServiceAccount(ctx *pulumi.Context, args *GetServiceAccountArgs, opts ...pulumi.InvokeOption) (*GetServiceAccountResult, error)
Use this data source to get the Account ID of the [AWS Elastic Load Balancing Service Account](http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-access-logs.html#attach-bucket-policy) in a given region for the purpose of permitting in S3 bucket policy.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/elb" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/s3" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := elb.GetServiceAccount(ctx, nil, nil) if err != nil { return err } elbLogs, err := s3.NewBucket(ctx, "elbLogs", &s3.BucketArgs{ Acl: pulumi.String("private"), Policy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Id\": \"Policy\",\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Action\": [\n", " \"s3:PutObject\"\n", " ],\n", " \"Effect\": \"Allow\",\n", " \"Resource\": \"arn:aws:s3:::my-elb-tf-test-bucket/AWSLogs/*\",\n", " \"Principal\": {\n", " \"AWS\": [\n", " \"", main.Arn, "\"\n", " ]\n", " }\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } _, err = elb.NewLoadBalancer(ctx, "bar", &elb.LoadBalancerArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-west-2a"), }, AccessLogs: &elb.LoadBalancerAccessLogsArgs{ Bucket: elbLogs.Bucket, Interval: pulumi.Int(5), }, Listeners: elb.LoadBalancerListenerArray{ &elb.LoadBalancerListenerArgs{ InstancePort: pulumi.Int(8000), InstanceProtocol: pulumi.String("http"), LbPort: pulumi.Int(80), LbProtocol: pulumi.String("http"), }, }, }) if err != nil { return err } return nil }) }
```
Deprecated: aws.elasticloadbalancing.getServiceAccount has been deprecated in favor of aws.elb.getServiceAccount
type GetServiceAccountResultOutput ¶ added in v4.21.0
type GetServiceAccountResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServiceAccount.
func GetServiceAccountOutput ¶ added in v4.21.0
func GetServiceAccountOutput(ctx *pulumi.Context, args GetServiceAccountOutputArgs, opts ...pulumi.InvokeOption) GetServiceAccountResultOutput
func (GetServiceAccountResultOutput) Arn ¶ added in v4.21.0
func (o GetServiceAccountResultOutput) Arn() pulumi.StringOutput
The ARN of the AWS ELB service account in the selected region.
func (GetServiceAccountResultOutput) ElementType ¶ added in v4.21.0
func (GetServiceAccountResultOutput) ElementType() reflect.Type
func (GetServiceAccountResultOutput) Id ¶ added in v4.21.0
func (o GetServiceAccountResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServiceAccountResultOutput) Region ¶ added in v4.21.0
func (o GetServiceAccountResultOutput) Region() pulumi.StringPtrOutput
func (GetServiceAccountResultOutput) ToGetServiceAccountResultOutput ¶ added in v4.21.0
func (o GetServiceAccountResultOutput) ToGetServiceAccountResultOutput() GetServiceAccountResultOutput
func (GetServiceAccountResultOutput) ToGetServiceAccountResultOutputWithContext ¶ added in v4.21.0
func (o GetServiceAccountResultOutput) ToGetServiceAccountResultOutputWithContext(ctx context.Context) GetServiceAccountResultOutput
type ListenerPolicy
deprecated
type ListenerPolicy struct { pulumi.CustomResourceState // The load balancer to attach the policy to. LoadBalancerName pulumi.StringOutput `pulumi:"loadBalancerName"` // The load balancer listener port to apply the policy to. LoadBalancerPort pulumi.IntOutput `pulumi:"loadBalancerPort"` // List of Policy Names to apply to the backend server. PolicyNames pulumi.StringArrayOutput `pulumi:"policyNames"` }
Attaches a load balancer policy to an ELB Listener.
## Example Usage ### Custom Policy
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/elb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := elb.NewLoadBalancer(ctx, "wu-tang", &elb.LoadBalancerArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-east-1a"), }, Listeners: elb.LoadBalancerListenerArray{ &elb.LoadBalancerListenerArgs{ InstancePort: pulumi.Int(443), InstanceProtocol: pulumi.String("http"), LbPort: pulumi.Int(443), LbProtocol: pulumi.String("https"), SslCertificateId: pulumi.String("arn:aws:iam::000000000000:server-certificate/wu-tang.net"), }, }, Tags: pulumi.StringMap{ "Name": pulumi.String("wu-tang"), }, }) if err != nil { return err } _, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-ssl", &elb.LoadBalancerPolicyArgs{ LoadBalancerName: wu_tang.Name, PolicyName: pulumi.String("wu-tang-ssl"), PolicyTypeName: pulumi.String("SSLNegotiationPolicyType"), PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{ &elb.LoadBalancerPolicyPolicyAttributeArgs{ Name: pulumi.String("ECDHE-ECDSA-AES128-GCM-SHA256"), Value: pulumi.String("true"), }, &elb.LoadBalancerPolicyPolicyAttributeArgs{ Name: pulumi.String("Protocol-TLSv1.2"), Value: pulumi.String("true"), }, }, }) if err != nil { return err } _, err = elb.NewListenerPolicy(ctx, "wu-tang-listener-policies-443", &elb.ListenerPolicyArgs{ LoadBalancerName: wu_tang.Name, LoadBalancerPort: pulumi.Int(443), PolicyNames: pulumi.StringArray{ wu_tang_ssl.PolicyName, }, }) if err != nil { return err } return nil }) }
```
This example shows how to customize the TLS settings of an HTTPS listener. ### AWS Predefined Security Policy
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/elb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := elb.NewLoadBalancer(ctx, "wu-tang", &elb.LoadBalancerArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-east-1a"), }, Listeners: elb.LoadBalancerListenerArray{ &elb.LoadBalancerListenerArgs{ InstancePort: pulumi.Int(443), InstanceProtocol: pulumi.String("http"), LbPort: pulumi.Int(443), LbProtocol: pulumi.String("https"), SslCertificateId: pulumi.String("arn:aws:iam::000000000000:server-certificate/wu-tang.net"), }, }, Tags: pulumi.StringMap{ "Name": pulumi.String("wu-tang"), }, }) if err != nil { return err } _, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-ssl-tls-1-1", &elb.LoadBalancerPolicyArgs{ LoadBalancerName: wu_tang.Name, PolicyName: pulumi.String("wu-tang-ssl"), PolicyTypeName: pulumi.String("SSLNegotiationPolicyType"), PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{ &elb.LoadBalancerPolicyPolicyAttributeArgs{ Name: pulumi.String("Reference-Security-Policy"), Value: pulumi.String("ELBSecurityPolicy-TLS-1-1-2017-01"), }, }, }) if err != nil { return err } _, err = elb.NewListenerPolicy(ctx, "wu-tang-listener-policies-443", &elb.ListenerPolicyArgs{ LoadBalancerName: wu_tang.Name, LoadBalancerPort: pulumi.Int(443), PolicyNames: pulumi.StringArray{ wu_tang_ssl_tls_1_1.PolicyName, }, }) if err != nil { return err } return nil }) }
```
This example shows how to add a [Predefined Security Policy for ELBs](https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-policy-table.html)
Deprecated: aws.elasticloadbalancing.ListenerPolicy has been deprecated in favor of aws.elb.ListenerPolicy
func GetListenerPolicy ¶
func GetListenerPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ListenerPolicyState, opts ...pulumi.ResourceOption) (*ListenerPolicy, error)
GetListenerPolicy gets an existing ListenerPolicy 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 NewListenerPolicy ¶
func NewListenerPolicy(ctx *pulumi.Context, name string, args *ListenerPolicyArgs, opts ...pulumi.ResourceOption) (*ListenerPolicy, error)
NewListenerPolicy registers a new resource with the given unique name, arguments, and options.
func (*ListenerPolicy) ElementType ¶
func (*ListenerPolicy) ElementType() reflect.Type
func (*ListenerPolicy) ToListenerPolicyOutput ¶
func (i *ListenerPolicy) ToListenerPolicyOutput() ListenerPolicyOutput
func (*ListenerPolicy) ToListenerPolicyOutputWithContext ¶
func (i *ListenerPolicy) ToListenerPolicyOutputWithContext(ctx context.Context) ListenerPolicyOutput
type ListenerPolicyArgs ¶
type ListenerPolicyArgs struct { // The load balancer to attach the policy to. LoadBalancerName pulumi.StringInput // The load balancer listener port to apply the policy to. LoadBalancerPort pulumi.IntInput // List of Policy Names to apply to the backend server. PolicyNames pulumi.StringArrayInput }
The set of arguments for constructing a ListenerPolicy resource.
func (ListenerPolicyArgs) ElementType ¶
func (ListenerPolicyArgs) ElementType() reflect.Type
type ListenerPolicyArray ¶
type ListenerPolicyArray []ListenerPolicyInput
func (ListenerPolicyArray) ElementType ¶
func (ListenerPolicyArray) ElementType() reflect.Type
func (ListenerPolicyArray) ToListenerPolicyArrayOutput ¶
func (i ListenerPolicyArray) ToListenerPolicyArrayOutput() ListenerPolicyArrayOutput
func (ListenerPolicyArray) ToListenerPolicyArrayOutputWithContext ¶
func (i ListenerPolicyArray) ToListenerPolicyArrayOutputWithContext(ctx context.Context) ListenerPolicyArrayOutput
type ListenerPolicyArrayInput ¶
type ListenerPolicyArrayInput interface { pulumi.Input ToListenerPolicyArrayOutput() ListenerPolicyArrayOutput ToListenerPolicyArrayOutputWithContext(context.Context) ListenerPolicyArrayOutput }
ListenerPolicyArrayInput is an input type that accepts ListenerPolicyArray and ListenerPolicyArrayOutput values. You can construct a concrete instance of `ListenerPolicyArrayInput` via:
ListenerPolicyArray{ ListenerPolicyArgs{...} }
type ListenerPolicyArrayOutput ¶
type ListenerPolicyArrayOutput struct{ *pulumi.OutputState }
func (ListenerPolicyArrayOutput) ElementType ¶
func (ListenerPolicyArrayOutput) ElementType() reflect.Type
func (ListenerPolicyArrayOutput) Index ¶
func (o ListenerPolicyArrayOutput) Index(i pulumi.IntInput) ListenerPolicyOutput
func (ListenerPolicyArrayOutput) ToListenerPolicyArrayOutput ¶
func (o ListenerPolicyArrayOutput) ToListenerPolicyArrayOutput() ListenerPolicyArrayOutput
func (ListenerPolicyArrayOutput) ToListenerPolicyArrayOutputWithContext ¶
func (o ListenerPolicyArrayOutput) ToListenerPolicyArrayOutputWithContext(ctx context.Context) ListenerPolicyArrayOutput
type ListenerPolicyInput ¶
type ListenerPolicyInput interface { pulumi.Input ToListenerPolicyOutput() ListenerPolicyOutput ToListenerPolicyOutputWithContext(ctx context.Context) ListenerPolicyOutput }
type ListenerPolicyMap ¶
type ListenerPolicyMap map[string]ListenerPolicyInput
func (ListenerPolicyMap) ElementType ¶
func (ListenerPolicyMap) ElementType() reflect.Type
func (ListenerPolicyMap) ToListenerPolicyMapOutput ¶
func (i ListenerPolicyMap) ToListenerPolicyMapOutput() ListenerPolicyMapOutput
func (ListenerPolicyMap) ToListenerPolicyMapOutputWithContext ¶
func (i ListenerPolicyMap) ToListenerPolicyMapOutputWithContext(ctx context.Context) ListenerPolicyMapOutput
type ListenerPolicyMapInput ¶
type ListenerPolicyMapInput interface { pulumi.Input ToListenerPolicyMapOutput() ListenerPolicyMapOutput ToListenerPolicyMapOutputWithContext(context.Context) ListenerPolicyMapOutput }
ListenerPolicyMapInput is an input type that accepts ListenerPolicyMap and ListenerPolicyMapOutput values. You can construct a concrete instance of `ListenerPolicyMapInput` via:
ListenerPolicyMap{ "key": ListenerPolicyArgs{...} }
type ListenerPolicyMapOutput ¶
type ListenerPolicyMapOutput struct{ *pulumi.OutputState }
func (ListenerPolicyMapOutput) ElementType ¶
func (ListenerPolicyMapOutput) ElementType() reflect.Type
func (ListenerPolicyMapOutput) MapIndex ¶
func (o ListenerPolicyMapOutput) MapIndex(k pulumi.StringInput) ListenerPolicyOutput
func (ListenerPolicyMapOutput) ToListenerPolicyMapOutput ¶
func (o ListenerPolicyMapOutput) ToListenerPolicyMapOutput() ListenerPolicyMapOutput
func (ListenerPolicyMapOutput) ToListenerPolicyMapOutputWithContext ¶
func (o ListenerPolicyMapOutput) ToListenerPolicyMapOutputWithContext(ctx context.Context) ListenerPolicyMapOutput
type ListenerPolicyOutput ¶
type ListenerPolicyOutput struct{ *pulumi.OutputState }
func (ListenerPolicyOutput) ElementType ¶
func (ListenerPolicyOutput) ElementType() reflect.Type
func (ListenerPolicyOutput) ToListenerPolicyOutput ¶
func (o ListenerPolicyOutput) ToListenerPolicyOutput() ListenerPolicyOutput
func (ListenerPolicyOutput) ToListenerPolicyOutputWithContext ¶
func (o ListenerPolicyOutput) ToListenerPolicyOutputWithContext(ctx context.Context) ListenerPolicyOutput
type ListenerPolicyState ¶
type ListenerPolicyState struct { // The load balancer to attach the policy to. LoadBalancerName pulumi.StringPtrInput // The load balancer listener port to apply the policy to. LoadBalancerPort pulumi.IntPtrInput // List of Policy Names to apply to the backend server. PolicyNames pulumi.StringArrayInput }
func (ListenerPolicyState) ElementType ¶
func (ListenerPolicyState) ElementType() reflect.Type
type LoadBalancer
deprecated
type LoadBalancer struct { pulumi.CustomResourceState // An Access Logs block. Access Logs documented below. AccessLogs LoadBalancerAccessLogsPtrOutput `pulumi:"accessLogs"` // The ARN of the ELB Arn pulumi.StringOutput `pulumi:"arn"` // The AZ's to serve traffic in. AvailabilityZones pulumi.StringArrayOutput `pulumi:"availabilityZones"` // Boolean to enable connection draining. Default: `false` ConnectionDraining pulumi.BoolPtrOutput `pulumi:"connectionDraining"` // The time in seconds to allow for connections to drain. Default: `300` ConnectionDrainingTimeout pulumi.IntPtrOutput `pulumi:"connectionDrainingTimeout"` // Enable cross-zone load balancing. Default: `true` CrossZoneLoadBalancing pulumi.BoolPtrOutput `pulumi:"crossZoneLoadBalancing"` // Determines how the load balancer handles requests that might pose a security risk to an application due to HTTP desync. Valid values are `monitor`, `defensive` (default), `strictest`. DesyncMitigationMode pulumi.StringPtrOutput `pulumi:"desyncMitigationMode"` // The DNS name of the ELB DnsName pulumi.StringOutput `pulumi:"dnsName"` // A healthCheck block. Health Check documented below. HealthCheck LoadBalancerHealthCheckOutput `pulumi:"healthCheck"` // The time in seconds that the connection is allowed to be idle. Default: `60` IdleTimeout pulumi.IntPtrOutput `pulumi:"idleTimeout"` // A list of instance ids to place in the ELB pool. Instances pulumi.StringArrayOutput `pulumi:"instances"` // If true, ELB will be an internal ELB. Internal pulumi.BoolOutput `pulumi:"internal"` // A list of listener blocks. Listeners documented below. Listeners LoadBalancerListenerArrayOutput `pulumi:"listeners"` // The name of the ELB. By default generated by this provider. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified // prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` // A list of security group IDs to assign to the ELB. // Only valid if creating an ELB within a VPC SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"` // The name of the security group that you can use as // part of your inbound rules for your load balancer's back-end application // instances. Use this for Classic or Default VPC only. SourceSecurityGroup pulumi.StringOutput `pulumi:"sourceSecurityGroup"` // The ID of the security group that you can use as // part of your inbound rules for your load balancer's back-end application // instances. Only available on ELBs launched in a VPC. SourceSecurityGroupId pulumi.StringOutput `pulumi:"sourceSecurityGroupId"` // A list of subnet IDs to attach to the ELB. Subnets pulumi.StringArrayOutput `pulumi:"subnets"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The canonical hosted zone ID of the ELB (to be used in a Route 53 Alias record) ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
Provides an Elastic Load Balancer resource, also known as a "Classic Load Balancer" after the release of `Application/Network Load Balancers`.
> **NOTE on ELB Instances and ELB Attachments:** This provider currently provides both a standalone ELB Attachment resource (describing an instance attached to an ELB), and an ELB resource with `instances` defined in-line. At this time you cannot use an ELB with in-line instances in conjunction with a ELB Attachment resources. Doing so will cause a conflict and will overwrite attachments.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/elb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := elb.NewLoadBalancer(ctx, "bar", &elb.LoadBalancerArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-west-2a"), pulumi.String("us-west-2b"), pulumi.String("us-west-2c"), }, AccessLogs: &elb.LoadBalancerAccessLogsArgs{ Bucket: pulumi.String("foo"), BucketPrefix: pulumi.String("bar"), Interval: pulumi.Int(60), }, Listeners: elb.LoadBalancerListenerArray{ &elb.LoadBalancerListenerArgs{ InstancePort: pulumi.Int(8000), InstanceProtocol: pulumi.String("http"), LbPort: pulumi.Int(80), LbProtocol: pulumi.String("http"), }, &elb.LoadBalancerListenerArgs{ InstancePort: pulumi.Int(8000), InstanceProtocol: pulumi.String("http"), LbPort: pulumi.Int(443), LbProtocol: pulumi.String("https"), SslCertificateId: pulumi.String("arn:aws:iam::123456789012:server-certificate/certName"), }, }, HealthCheck: &elb.LoadBalancerHealthCheckArgs{ HealthyThreshold: pulumi.Int(2), UnhealthyThreshold: pulumi.Int(2), Timeout: pulumi.Int(3), Target: pulumi.String("HTTP:8000/"), Interval: pulumi.Int(30), }, Instances: pulumi.StringArray{ pulumi.Any(aws_instance.Foo.Id), }, CrossZoneLoadBalancing: pulumi.Bool(true), IdleTimeout: pulumi.Int(400), ConnectionDraining: pulumi.Bool(true), ConnectionDrainingTimeout: pulumi.Int(400), Tags: pulumi.StringMap{ "Name": pulumi.String("foobar-elb"), }, }) if err != nil { return err } return nil }) }
``` ## Note on ECDSA Key Algorithm
If the ARN of the `sslCertificateId` that is pointed to references a certificate that was signed by an ECDSA key, note that ELB only supports the P256 and P384 curves. Using a certificate signed by a key using a different curve could produce the error `ERR_SSL_VERSION_OR_CIPHER_MISMATCH` in your browser.
## Import
ELBs can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:elasticloadbalancing/loadBalancer:LoadBalancer bar elb-production-12345
```
Deprecated: aws.elasticloadbalancing.LoadBalancer has been deprecated in favor of aws.elb.LoadBalancer
func GetLoadBalancer ¶
func GetLoadBalancer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LoadBalancerState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*LoadBalancer, error)
NewLoadBalancer registers a new resource with the given unique name, arguments, and options.
func (*LoadBalancer) ElementType ¶
func (*LoadBalancer) ElementType() reflect.Type
func (*LoadBalancer) ToLoadBalancerOutput ¶
func (i *LoadBalancer) ToLoadBalancerOutput() LoadBalancerOutput
func (*LoadBalancer) ToLoadBalancerOutputWithContext ¶
func (i *LoadBalancer) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput
type LoadBalancerAccessLogs ¶
type LoadBalancerAccessLogs struct { // The S3 bucket name to store the logs in. Bucket string `pulumi:"bucket"` // The S3 bucket prefix. Logs are stored in the root if not configured. BucketPrefix *string `pulumi:"bucketPrefix"` // Boolean to enable / disable `accessLogs`. Default is `true` Enabled *bool `pulumi:"enabled"` // The publishing interval in minutes. Default: 60 minutes. Interval *int `pulumi:"interval"` }
type LoadBalancerAccessLogsArgs ¶
type LoadBalancerAccessLogsArgs struct { // The S3 bucket name to store the logs in. Bucket pulumi.StringInput `pulumi:"bucket"` // The S3 bucket prefix. Logs are stored in the root if not configured. BucketPrefix pulumi.StringPtrInput `pulumi:"bucketPrefix"` // Boolean to enable / disable `accessLogs`. Default is `true` Enabled pulumi.BoolPtrInput `pulumi:"enabled"` // The publishing interval in minutes. Default: 60 minutes. Interval pulumi.IntPtrInput `pulumi:"interval"` }
func (LoadBalancerAccessLogsArgs) ElementType ¶
func (LoadBalancerAccessLogsArgs) ElementType() reflect.Type
func (LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsOutput ¶
func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsOutput() LoadBalancerAccessLogsOutput
func (LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsOutputWithContext ¶
func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsOutputWithContext(ctx context.Context) LoadBalancerAccessLogsOutput
func (LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsPtrOutput ¶
func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput
func (LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsPtrOutputWithContext ¶
func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsPtrOutputWithContext(ctx context.Context) LoadBalancerAccessLogsPtrOutput
type LoadBalancerAccessLogsInput ¶
type LoadBalancerAccessLogsInput interface { pulumi.Input ToLoadBalancerAccessLogsOutput() LoadBalancerAccessLogsOutput ToLoadBalancerAccessLogsOutputWithContext(context.Context) LoadBalancerAccessLogsOutput }
LoadBalancerAccessLogsInput is an input type that accepts LoadBalancerAccessLogsArgs and LoadBalancerAccessLogsOutput values. You can construct a concrete instance of `LoadBalancerAccessLogsInput` via:
LoadBalancerAccessLogsArgs{...}
type LoadBalancerAccessLogsOutput ¶
type LoadBalancerAccessLogsOutput struct{ *pulumi.OutputState }
func (LoadBalancerAccessLogsOutput) Bucket ¶
func (o LoadBalancerAccessLogsOutput) Bucket() pulumi.StringOutput
The S3 bucket name to store the logs in.
func (LoadBalancerAccessLogsOutput) BucketPrefix ¶
func (o LoadBalancerAccessLogsOutput) BucketPrefix() pulumi.StringPtrOutput
The S3 bucket prefix. Logs are stored in the root if not configured.
func (LoadBalancerAccessLogsOutput) ElementType ¶
func (LoadBalancerAccessLogsOutput) ElementType() reflect.Type
func (LoadBalancerAccessLogsOutput) Enabled ¶
func (o LoadBalancerAccessLogsOutput) Enabled() pulumi.BoolPtrOutput
Boolean to enable / disable `accessLogs`. Default is `true`
func (LoadBalancerAccessLogsOutput) Interval ¶
func (o LoadBalancerAccessLogsOutput) Interval() pulumi.IntPtrOutput
The publishing interval in minutes. Default: 60 minutes.
func (LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsOutput ¶
func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsOutput() LoadBalancerAccessLogsOutput
func (LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsOutputWithContext ¶
func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsOutputWithContext(ctx context.Context) LoadBalancerAccessLogsOutput
func (LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsPtrOutput ¶
func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput
func (LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsPtrOutputWithContext ¶
func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsPtrOutputWithContext(ctx context.Context) LoadBalancerAccessLogsPtrOutput
type LoadBalancerAccessLogsPtrInput ¶
type LoadBalancerAccessLogsPtrInput interface { pulumi.Input ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput ToLoadBalancerAccessLogsPtrOutputWithContext(context.Context) LoadBalancerAccessLogsPtrOutput }
LoadBalancerAccessLogsPtrInput is an input type that accepts LoadBalancerAccessLogsArgs, LoadBalancerAccessLogsPtr and LoadBalancerAccessLogsPtrOutput values. You can construct a concrete instance of `LoadBalancerAccessLogsPtrInput` via:
LoadBalancerAccessLogsArgs{...} or: nil
func LoadBalancerAccessLogsPtr ¶
func LoadBalancerAccessLogsPtr(v *LoadBalancerAccessLogsArgs) LoadBalancerAccessLogsPtrInput
type LoadBalancerAccessLogsPtrOutput ¶
type LoadBalancerAccessLogsPtrOutput struct{ *pulumi.OutputState }
func (LoadBalancerAccessLogsPtrOutput) Bucket ¶
func (o LoadBalancerAccessLogsPtrOutput) Bucket() pulumi.StringPtrOutput
The S3 bucket name to store the logs in.
func (LoadBalancerAccessLogsPtrOutput) BucketPrefix ¶
func (o LoadBalancerAccessLogsPtrOutput) BucketPrefix() pulumi.StringPtrOutput
The S3 bucket prefix. Logs are stored in the root if not configured.
func (LoadBalancerAccessLogsPtrOutput) Elem ¶
func (o LoadBalancerAccessLogsPtrOutput) Elem() LoadBalancerAccessLogsOutput
func (LoadBalancerAccessLogsPtrOutput) ElementType ¶
func (LoadBalancerAccessLogsPtrOutput) ElementType() reflect.Type
func (LoadBalancerAccessLogsPtrOutput) Enabled ¶
func (o LoadBalancerAccessLogsPtrOutput) Enabled() pulumi.BoolPtrOutput
Boolean to enable / disable `accessLogs`. Default is `true`
func (LoadBalancerAccessLogsPtrOutput) Interval ¶
func (o LoadBalancerAccessLogsPtrOutput) Interval() pulumi.IntPtrOutput
The publishing interval in minutes. Default: 60 minutes.
func (LoadBalancerAccessLogsPtrOutput) ToLoadBalancerAccessLogsPtrOutput ¶
func (o LoadBalancerAccessLogsPtrOutput) ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput
func (LoadBalancerAccessLogsPtrOutput) ToLoadBalancerAccessLogsPtrOutputWithContext ¶
func (o LoadBalancerAccessLogsPtrOutput) ToLoadBalancerAccessLogsPtrOutputWithContext(ctx context.Context) LoadBalancerAccessLogsPtrOutput
type LoadBalancerArgs ¶
type LoadBalancerArgs struct { // An Access Logs block. Access Logs documented below. AccessLogs LoadBalancerAccessLogsPtrInput // The AZ's to serve traffic in. AvailabilityZones pulumi.StringArrayInput // Boolean to enable connection draining. Default: `false` ConnectionDraining pulumi.BoolPtrInput // The time in seconds to allow for connections to drain. Default: `300` ConnectionDrainingTimeout pulumi.IntPtrInput // Enable cross-zone load balancing. Default: `true` CrossZoneLoadBalancing pulumi.BoolPtrInput // Determines how the load balancer handles requests that might pose a security risk to an application due to HTTP desync. Valid values are `monitor`, `defensive` (default), `strictest`. DesyncMitigationMode pulumi.StringPtrInput // A healthCheck block. Health Check documented below. HealthCheck LoadBalancerHealthCheckPtrInput // The time in seconds that the connection is allowed to be idle. Default: `60` IdleTimeout pulumi.IntPtrInput // A list of instance ids to place in the ELB pool. Instances pulumi.StringArrayInput // If true, ELB will be an internal ELB. Internal pulumi.BoolPtrInput // A list of listener blocks. Listeners documented below. Listeners LoadBalancerListenerArrayInput // The name of the ELB. By default generated by this provider. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified // prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // A list of security group IDs to assign to the ELB. // Only valid if creating an ELB within a VPC SecurityGroups pulumi.StringArrayInput // The name of the security group that you can use as // part of your inbound rules for your load balancer's back-end application // instances. Use this for Classic or Default VPC only. SourceSecurityGroup pulumi.StringPtrInput // A list of subnet IDs to attach to the ELB. Subnets pulumi.StringArrayInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a LoadBalancer resource.
func (LoadBalancerArgs) ElementType ¶
func (LoadBalancerArgs) ElementType() reflect.Type
type LoadBalancerArray ¶
type LoadBalancerArray []LoadBalancerInput
func (LoadBalancerArray) ElementType ¶
func (LoadBalancerArray) ElementType() reflect.Type
func (LoadBalancerArray) ToLoadBalancerArrayOutput ¶
func (i LoadBalancerArray) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput
func (LoadBalancerArray) ToLoadBalancerArrayOutputWithContext ¶
func (i LoadBalancerArray) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput
type LoadBalancerArrayInput ¶
type LoadBalancerArrayInput interface { pulumi.Input ToLoadBalancerArrayOutput() LoadBalancerArrayOutput ToLoadBalancerArrayOutputWithContext(context.Context) LoadBalancerArrayOutput }
LoadBalancerArrayInput is an input type that accepts LoadBalancerArray and LoadBalancerArrayOutput values. You can construct a concrete instance of `LoadBalancerArrayInput` via:
LoadBalancerArray{ LoadBalancerArgs{...} }
type LoadBalancerArrayOutput ¶
type LoadBalancerArrayOutput struct{ *pulumi.OutputState }
func (LoadBalancerArrayOutput) ElementType ¶
func (LoadBalancerArrayOutput) ElementType() reflect.Type
func (LoadBalancerArrayOutput) Index ¶
func (o LoadBalancerArrayOutput) Index(i pulumi.IntInput) LoadBalancerOutput
func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutput ¶
func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput
func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext ¶
func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput
type LoadBalancerBackendServerPolicy
deprecated
type LoadBalancerBackendServerPolicy struct { pulumi.CustomResourceState // The instance port to apply the policy to. InstancePort pulumi.IntOutput `pulumi:"instancePort"` // The load balancer to attach the policy to. LoadBalancerName pulumi.StringOutput `pulumi:"loadBalancerName"` // List of Policy Names to apply to the backend server. PolicyNames pulumi.StringArrayOutput `pulumi:"policyNames"` }
Attaches a load balancer policy to an ELB backend server.
## Example Usage
```go package main
import (
"io/ioutil" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/elb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := ioutil.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) }
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := elb.NewLoadBalancer(ctx, "wu-tang", &elb.LoadBalancerArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-east-1a"), }, Listeners: elb.LoadBalancerListenerArray{ &elb.LoadBalancerListenerArgs{ InstancePort: pulumi.Int(443), InstanceProtocol: pulumi.String("http"), LbPort: pulumi.Int(443), LbProtocol: pulumi.String("https"), SslCertificateId: pulumi.String("arn:aws:iam::000000000000:server-certificate/wu-tang.net"), }, }, Tags: pulumi.StringMap{ "Name": pulumi.String("wu-tang"), }, }) if err != nil { return err } _, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-ca-pubkey-policy", &elb.LoadBalancerPolicyArgs{ LoadBalancerName: wu_tang.Name, PolicyName: pulumi.String("wu-tang-ca-pubkey-policy"), PolicyTypeName: pulumi.String("PublicKeyPolicyType"), PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{ &elb.LoadBalancerPolicyPolicyAttributeArgs{ Name: pulumi.String("PublicKey"), Value: readFileOrPanic("wu-tang-pubkey"), }, }, }) if err != nil { return err } _, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-root-ca-backend-auth-policy", &elb.LoadBalancerPolicyArgs{ LoadBalancerName: wu_tang.Name, PolicyName: pulumi.String("wu-tang-root-ca-backend-auth-policy"), PolicyTypeName: pulumi.String("BackendServerAuthenticationPolicyType"), PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{ &elb.LoadBalancerPolicyPolicyAttributeArgs{ Name: pulumi.String("PublicKeyPolicyName"), Value: pulumi.Any(aws_load_balancer_policy.Wu - tang - root - ca - pubkey - policy.Policy_name), }, }, }) if err != nil { return err } _, err = elb.NewLoadBalancerBackendServerPolicy(ctx, "wu-tang-backend-auth-policies-443", &elb.LoadBalancerBackendServerPolicyArgs{ LoadBalancerName: wu_tang.Name, InstancePort: pulumi.Int(443), PolicyNames: pulumi.StringArray{ wu_tang_root_ca_backend_auth_policy.PolicyName, }, }) if err != nil { return err } return nil }) }
```
Deprecated: aws.elasticloadbalancing.LoadBalancerBackendServerPolicy has been deprecated in favor of aws.elb.LoadBalancerBackendServerPolicy
func GetLoadBalancerBackendServerPolicy ¶
func GetLoadBalancerBackendServerPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LoadBalancerBackendServerPolicyState, opts ...pulumi.ResourceOption) (*LoadBalancerBackendServerPolicy, error)
GetLoadBalancerBackendServerPolicy gets an existing LoadBalancerBackendServerPolicy 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 NewLoadBalancerBackendServerPolicy ¶
func NewLoadBalancerBackendServerPolicy(ctx *pulumi.Context, name string, args *LoadBalancerBackendServerPolicyArgs, opts ...pulumi.ResourceOption) (*LoadBalancerBackendServerPolicy, error)
NewLoadBalancerBackendServerPolicy registers a new resource with the given unique name, arguments, and options.
func (*LoadBalancerBackendServerPolicy) ElementType ¶
func (*LoadBalancerBackendServerPolicy) ElementType() reflect.Type
func (*LoadBalancerBackendServerPolicy) ToLoadBalancerBackendServerPolicyOutput ¶
func (i *LoadBalancerBackendServerPolicy) ToLoadBalancerBackendServerPolicyOutput() LoadBalancerBackendServerPolicyOutput
func (*LoadBalancerBackendServerPolicy) ToLoadBalancerBackendServerPolicyOutputWithContext ¶
func (i *LoadBalancerBackendServerPolicy) ToLoadBalancerBackendServerPolicyOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyOutput
type LoadBalancerBackendServerPolicyArgs ¶
type LoadBalancerBackendServerPolicyArgs struct { // The instance port to apply the policy to. InstancePort pulumi.IntInput // The load balancer to attach the policy to. LoadBalancerName pulumi.StringInput // List of Policy Names to apply to the backend server. PolicyNames pulumi.StringArrayInput }
The set of arguments for constructing a LoadBalancerBackendServerPolicy resource.
func (LoadBalancerBackendServerPolicyArgs) ElementType ¶
func (LoadBalancerBackendServerPolicyArgs) ElementType() reflect.Type
type LoadBalancerBackendServerPolicyArray ¶
type LoadBalancerBackendServerPolicyArray []LoadBalancerBackendServerPolicyInput
func (LoadBalancerBackendServerPolicyArray) ElementType ¶
func (LoadBalancerBackendServerPolicyArray) ElementType() reflect.Type
func (LoadBalancerBackendServerPolicyArray) ToLoadBalancerBackendServerPolicyArrayOutput ¶
func (i LoadBalancerBackendServerPolicyArray) ToLoadBalancerBackendServerPolicyArrayOutput() LoadBalancerBackendServerPolicyArrayOutput
func (LoadBalancerBackendServerPolicyArray) ToLoadBalancerBackendServerPolicyArrayOutputWithContext ¶
func (i LoadBalancerBackendServerPolicyArray) ToLoadBalancerBackendServerPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyArrayOutput
type LoadBalancerBackendServerPolicyArrayInput ¶
type LoadBalancerBackendServerPolicyArrayInput interface { pulumi.Input ToLoadBalancerBackendServerPolicyArrayOutput() LoadBalancerBackendServerPolicyArrayOutput ToLoadBalancerBackendServerPolicyArrayOutputWithContext(context.Context) LoadBalancerBackendServerPolicyArrayOutput }
LoadBalancerBackendServerPolicyArrayInput is an input type that accepts LoadBalancerBackendServerPolicyArray and LoadBalancerBackendServerPolicyArrayOutput values. You can construct a concrete instance of `LoadBalancerBackendServerPolicyArrayInput` via:
LoadBalancerBackendServerPolicyArray{ LoadBalancerBackendServerPolicyArgs{...} }
type LoadBalancerBackendServerPolicyArrayOutput ¶
type LoadBalancerBackendServerPolicyArrayOutput struct{ *pulumi.OutputState }
func (LoadBalancerBackendServerPolicyArrayOutput) ElementType ¶
func (LoadBalancerBackendServerPolicyArrayOutput) ElementType() reflect.Type
func (LoadBalancerBackendServerPolicyArrayOutput) ToLoadBalancerBackendServerPolicyArrayOutput ¶
func (o LoadBalancerBackendServerPolicyArrayOutput) ToLoadBalancerBackendServerPolicyArrayOutput() LoadBalancerBackendServerPolicyArrayOutput
func (LoadBalancerBackendServerPolicyArrayOutput) ToLoadBalancerBackendServerPolicyArrayOutputWithContext ¶
func (o LoadBalancerBackendServerPolicyArrayOutput) ToLoadBalancerBackendServerPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyArrayOutput
type LoadBalancerBackendServerPolicyInput ¶
type LoadBalancerBackendServerPolicyInput interface { pulumi.Input ToLoadBalancerBackendServerPolicyOutput() LoadBalancerBackendServerPolicyOutput ToLoadBalancerBackendServerPolicyOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyOutput }
type LoadBalancerBackendServerPolicyMap ¶
type LoadBalancerBackendServerPolicyMap map[string]LoadBalancerBackendServerPolicyInput
func (LoadBalancerBackendServerPolicyMap) ElementType ¶
func (LoadBalancerBackendServerPolicyMap) ElementType() reflect.Type
func (LoadBalancerBackendServerPolicyMap) ToLoadBalancerBackendServerPolicyMapOutput ¶
func (i LoadBalancerBackendServerPolicyMap) ToLoadBalancerBackendServerPolicyMapOutput() LoadBalancerBackendServerPolicyMapOutput
func (LoadBalancerBackendServerPolicyMap) ToLoadBalancerBackendServerPolicyMapOutputWithContext ¶
func (i LoadBalancerBackendServerPolicyMap) ToLoadBalancerBackendServerPolicyMapOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyMapOutput
type LoadBalancerBackendServerPolicyMapInput ¶
type LoadBalancerBackendServerPolicyMapInput interface { pulumi.Input ToLoadBalancerBackendServerPolicyMapOutput() LoadBalancerBackendServerPolicyMapOutput ToLoadBalancerBackendServerPolicyMapOutputWithContext(context.Context) LoadBalancerBackendServerPolicyMapOutput }
LoadBalancerBackendServerPolicyMapInput is an input type that accepts LoadBalancerBackendServerPolicyMap and LoadBalancerBackendServerPolicyMapOutput values. You can construct a concrete instance of `LoadBalancerBackendServerPolicyMapInput` via:
LoadBalancerBackendServerPolicyMap{ "key": LoadBalancerBackendServerPolicyArgs{...} }
type LoadBalancerBackendServerPolicyMapOutput ¶
type LoadBalancerBackendServerPolicyMapOutput struct{ *pulumi.OutputState }
func (LoadBalancerBackendServerPolicyMapOutput) ElementType ¶
func (LoadBalancerBackendServerPolicyMapOutput) ElementType() reflect.Type
func (LoadBalancerBackendServerPolicyMapOutput) MapIndex ¶
func (o LoadBalancerBackendServerPolicyMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerBackendServerPolicyOutput
func (LoadBalancerBackendServerPolicyMapOutput) ToLoadBalancerBackendServerPolicyMapOutput ¶
func (o LoadBalancerBackendServerPolicyMapOutput) ToLoadBalancerBackendServerPolicyMapOutput() LoadBalancerBackendServerPolicyMapOutput
func (LoadBalancerBackendServerPolicyMapOutput) ToLoadBalancerBackendServerPolicyMapOutputWithContext ¶
func (o LoadBalancerBackendServerPolicyMapOutput) ToLoadBalancerBackendServerPolicyMapOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyMapOutput
type LoadBalancerBackendServerPolicyOutput ¶
type LoadBalancerBackendServerPolicyOutput struct{ *pulumi.OutputState }
func (LoadBalancerBackendServerPolicyOutput) ElementType ¶
func (LoadBalancerBackendServerPolicyOutput) ElementType() reflect.Type
func (LoadBalancerBackendServerPolicyOutput) ToLoadBalancerBackendServerPolicyOutput ¶
func (o LoadBalancerBackendServerPolicyOutput) ToLoadBalancerBackendServerPolicyOutput() LoadBalancerBackendServerPolicyOutput
func (LoadBalancerBackendServerPolicyOutput) ToLoadBalancerBackendServerPolicyOutputWithContext ¶
func (o LoadBalancerBackendServerPolicyOutput) ToLoadBalancerBackendServerPolicyOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyOutput
type LoadBalancerBackendServerPolicyState ¶
type LoadBalancerBackendServerPolicyState struct { // The instance port to apply the policy to. InstancePort pulumi.IntPtrInput // The load balancer to attach the policy to. LoadBalancerName pulumi.StringPtrInput // List of Policy Names to apply to the backend server. PolicyNames pulumi.StringArrayInput }
func (LoadBalancerBackendServerPolicyState) ElementType ¶
func (LoadBalancerBackendServerPolicyState) ElementType() reflect.Type
type LoadBalancerCookieStickinessPolicy
deprecated
type LoadBalancerCookieStickinessPolicy struct { pulumi.CustomResourceState // The time period after which // the session cookie should be considered stale, expressed in seconds. CookieExpirationPeriod pulumi.IntPtrOutput `pulumi:"cookieExpirationPeriod"` // The load balancer port to which the policy // should be applied. This must be an active listener on the load // balancer. LbPort pulumi.IntOutput `pulumi:"lbPort"` // The load balancer to which the policy // should be attached. LoadBalancer pulumi.StringOutput `pulumi:"loadBalancer"` // The name of the stickiness policy. Name pulumi.StringOutput `pulumi:"name"` }
Provides a load balancer cookie stickiness policy, which allows an ELB to control the sticky session lifetime of the browser.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/elb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { lb, err := elb.NewLoadBalancer(ctx, "lb", &elb.LoadBalancerArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-east-1a"), }, Listeners: elb.LoadBalancerListenerArray{ &elb.LoadBalancerListenerArgs{ InstancePort: pulumi.Int(8000), InstanceProtocol: pulumi.String("http"), LbPort: pulumi.Int(80), LbProtocol: pulumi.String("http"), }, }, }) if err != nil { return err } _, err = elb.NewLoadBalancerCookieStickinessPolicy(ctx, "foo", &elb.LoadBalancerCookieStickinessPolicyArgs{ LoadBalancer: lb.ID(), LbPort: pulumi.Int(80), CookieExpirationPeriod: pulumi.Int(600), }) if err != nil { return err } return nil }) }
```
Deprecated: aws.elasticloadbalancing.LoadBalancerCookieStickinessPolicy has been deprecated in favor of aws.elb.LoadBalancerCookieStickinessPolicy
func GetLoadBalancerCookieStickinessPolicy ¶
func GetLoadBalancerCookieStickinessPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LoadBalancerCookieStickinessPolicyState, opts ...pulumi.ResourceOption) (*LoadBalancerCookieStickinessPolicy, error)
GetLoadBalancerCookieStickinessPolicy gets an existing LoadBalancerCookieStickinessPolicy 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 NewLoadBalancerCookieStickinessPolicy ¶
func NewLoadBalancerCookieStickinessPolicy(ctx *pulumi.Context, name string, args *LoadBalancerCookieStickinessPolicyArgs, opts ...pulumi.ResourceOption) (*LoadBalancerCookieStickinessPolicy, error)
NewLoadBalancerCookieStickinessPolicy registers a new resource with the given unique name, arguments, and options.
func (*LoadBalancerCookieStickinessPolicy) ElementType ¶
func (*LoadBalancerCookieStickinessPolicy) ElementType() reflect.Type
func (*LoadBalancerCookieStickinessPolicy) ToLoadBalancerCookieStickinessPolicyOutput ¶
func (i *LoadBalancerCookieStickinessPolicy) ToLoadBalancerCookieStickinessPolicyOutput() LoadBalancerCookieStickinessPolicyOutput
func (*LoadBalancerCookieStickinessPolicy) ToLoadBalancerCookieStickinessPolicyOutputWithContext ¶
func (i *LoadBalancerCookieStickinessPolicy) ToLoadBalancerCookieStickinessPolicyOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyOutput
type LoadBalancerCookieStickinessPolicyArgs ¶
type LoadBalancerCookieStickinessPolicyArgs struct { // The time period after which // the session cookie should be considered stale, expressed in seconds. CookieExpirationPeriod pulumi.IntPtrInput // The load balancer port to which the policy // should be applied. This must be an active listener on the load // balancer. LbPort pulumi.IntInput // The load balancer to which the policy // should be attached. LoadBalancer pulumi.StringInput // The name of the stickiness policy. Name pulumi.StringPtrInput }
The set of arguments for constructing a LoadBalancerCookieStickinessPolicy resource.
func (LoadBalancerCookieStickinessPolicyArgs) ElementType ¶
func (LoadBalancerCookieStickinessPolicyArgs) ElementType() reflect.Type
type LoadBalancerCookieStickinessPolicyArray ¶
type LoadBalancerCookieStickinessPolicyArray []LoadBalancerCookieStickinessPolicyInput
func (LoadBalancerCookieStickinessPolicyArray) ElementType ¶
func (LoadBalancerCookieStickinessPolicyArray) ElementType() reflect.Type
func (LoadBalancerCookieStickinessPolicyArray) ToLoadBalancerCookieStickinessPolicyArrayOutput ¶
func (i LoadBalancerCookieStickinessPolicyArray) ToLoadBalancerCookieStickinessPolicyArrayOutput() LoadBalancerCookieStickinessPolicyArrayOutput
func (LoadBalancerCookieStickinessPolicyArray) ToLoadBalancerCookieStickinessPolicyArrayOutputWithContext ¶
func (i LoadBalancerCookieStickinessPolicyArray) ToLoadBalancerCookieStickinessPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyArrayOutput
type LoadBalancerCookieStickinessPolicyArrayInput ¶
type LoadBalancerCookieStickinessPolicyArrayInput interface { pulumi.Input ToLoadBalancerCookieStickinessPolicyArrayOutput() LoadBalancerCookieStickinessPolicyArrayOutput ToLoadBalancerCookieStickinessPolicyArrayOutputWithContext(context.Context) LoadBalancerCookieStickinessPolicyArrayOutput }
LoadBalancerCookieStickinessPolicyArrayInput is an input type that accepts LoadBalancerCookieStickinessPolicyArray and LoadBalancerCookieStickinessPolicyArrayOutput values. You can construct a concrete instance of `LoadBalancerCookieStickinessPolicyArrayInput` via:
LoadBalancerCookieStickinessPolicyArray{ LoadBalancerCookieStickinessPolicyArgs{...} }
type LoadBalancerCookieStickinessPolicyArrayOutput ¶
type LoadBalancerCookieStickinessPolicyArrayOutput struct{ *pulumi.OutputState }
func (LoadBalancerCookieStickinessPolicyArrayOutput) ElementType ¶
func (LoadBalancerCookieStickinessPolicyArrayOutput) ElementType() reflect.Type
func (LoadBalancerCookieStickinessPolicyArrayOutput) ToLoadBalancerCookieStickinessPolicyArrayOutput ¶
func (o LoadBalancerCookieStickinessPolicyArrayOutput) ToLoadBalancerCookieStickinessPolicyArrayOutput() LoadBalancerCookieStickinessPolicyArrayOutput
func (LoadBalancerCookieStickinessPolicyArrayOutput) ToLoadBalancerCookieStickinessPolicyArrayOutputWithContext ¶
func (o LoadBalancerCookieStickinessPolicyArrayOutput) ToLoadBalancerCookieStickinessPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyArrayOutput
type LoadBalancerCookieStickinessPolicyInput ¶
type LoadBalancerCookieStickinessPolicyInput interface { pulumi.Input ToLoadBalancerCookieStickinessPolicyOutput() LoadBalancerCookieStickinessPolicyOutput ToLoadBalancerCookieStickinessPolicyOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyOutput }
type LoadBalancerCookieStickinessPolicyMap ¶
type LoadBalancerCookieStickinessPolicyMap map[string]LoadBalancerCookieStickinessPolicyInput
func (LoadBalancerCookieStickinessPolicyMap) ElementType ¶
func (LoadBalancerCookieStickinessPolicyMap) ElementType() reflect.Type
func (LoadBalancerCookieStickinessPolicyMap) ToLoadBalancerCookieStickinessPolicyMapOutput ¶
func (i LoadBalancerCookieStickinessPolicyMap) ToLoadBalancerCookieStickinessPolicyMapOutput() LoadBalancerCookieStickinessPolicyMapOutput
func (LoadBalancerCookieStickinessPolicyMap) ToLoadBalancerCookieStickinessPolicyMapOutputWithContext ¶
func (i LoadBalancerCookieStickinessPolicyMap) ToLoadBalancerCookieStickinessPolicyMapOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyMapOutput
type LoadBalancerCookieStickinessPolicyMapInput ¶
type LoadBalancerCookieStickinessPolicyMapInput interface { pulumi.Input ToLoadBalancerCookieStickinessPolicyMapOutput() LoadBalancerCookieStickinessPolicyMapOutput ToLoadBalancerCookieStickinessPolicyMapOutputWithContext(context.Context) LoadBalancerCookieStickinessPolicyMapOutput }
LoadBalancerCookieStickinessPolicyMapInput is an input type that accepts LoadBalancerCookieStickinessPolicyMap and LoadBalancerCookieStickinessPolicyMapOutput values. You can construct a concrete instance of `LoadBalancerCookieStickinessPolicyMapInput` via:
LoadBalancerCookieStickinessPolicyMap{ "key": LoadBalancerCookieStickinessPolicyArgs{...} }
type LoadBalancerCookieStickinessPolicyMapOutput ¶
type LoadBalancerCookieStickinessPolicyMapOutput struct{ *pulumi.OutputState }
func (LoadBalancerCookieStickinessPolicyMapOutput) ElementType ¶
func (LoadBalancerCookieStickinessPolicyMapOutput) ElementType() reflect.Type
func (LoadBalancerCookieStickinessPolicyMapOutput) ToLoadBalancerCookieStickinessPolicyMapOutput ¶
func (o LoadBalancerCookieStickinessPolicyMapOutput) ToLoadBalancerCookieStickinessPolicyMapOutput() LoadBalancerCookieStickinessPolicyMapOutput
func (LoadBalancerCookieStickinessPolicyMapOutput) ToLoadBalancerCookieStickinessPolicyMapOutputWithContext ¶
func (o LoadBalancerCookieStickinessPolicyMapOutput) ToLoadBalancerCookieStickinessPolicyMapOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyMapOutput
type LoadBalancerCookieStickinessPolicyOutput ¶
type LoadBalancerCookieStickinessPolicyOutput struct{ *pulumi.OutputState }
func (LoadBalancerCookieStickinessPolicyOutput) ElementType ¶
func (LoadBalancerCookieStickinessPolicyOutput) ElementType() reflect.Type
func (LoadBalancerCookieStickinessPolicyOutput) ToLoadBalancerCookieStickinessPolicyOutput ¶
func (o LoadBalancerCookieStickinessPolicyOutput) ToLoadBalancerCookieStickinessPolicyOutput() LoadBalancerCookieStickinessPolicyOutput
func (LoadBalancerCookieStickinessPolicyOutput) ToLoadBalancerCookieStickinessPolicyOutputWithContext ¶
func (o LoadBalancerCookieStickinessPolicyOutput) ToLoadBalancerCookieStickinessPolicyOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyOutput
type LoadBalancerCookieStickinessPolicyState ¶
type LoadBalancerCookieStickinessPolicyState struct { // The time period after which // the session cookie should be considered stale, expressed in seconds. CookieExpirationPeriod pulumi.IntPtrInput // The load balancer port to which the policy // should be applied. This must be an active listener on the load // balancer. LbPort pulumi.IntPtrInput // The load balancer to which the policy // should be attached. LoadBalancer pulumi.StringPtrInput // The name of the stickiness policy. Name pulumi.StringPtrInput }
func (LoadBalancerCookieStickinessPolicyState) ElementType ¶
func (LoadBalancerCookieStickinessPolicyState) ElementType() reflect.Type
type LoadBalancerHealthCheck ¶
type LoadBalancerHealthCheck struct { // The number of checks before the instance is declared healthy. HealthyThreshold int `pulumi:"healthyThreshold"` // The interval between checks. Interval int `pulumi:"interval"` // The target of the check. Valid pattern is "${PROTOCOL}:${PORT}${PATH}", where PROTOCOL // values are: // * `HTTP`, `HTTPS` - PORT and PATH are required // * `TCP`, `SSL` - PORT is required, PATH is not supported Target string `pulumi:"target"` // The length of time before the check times out. Timeout int `pulumi:"timeout"` // The number of checks before the instance is declared unhealthy. UnhealthyThreshold int `pulumi:"unhealthyThreshold"` }
type LoadBalancerHealthCheckArgs ¶
type LoadBalancerHealthCheckArgs struct { // The number of checks before the instance is declared healthy. HealthyThreshold pulumi.IntInput `pulumi:"healthyThreshold"` // The interval between checks. Interval pulumi.IntInput `pulumi:"interval"` // The target of the check. Valid pattern is "${PROTOCOL}:${PORT}${PATH}", where PROTOCOL // values are: // * `HTTP`, `HTTPS` - PORT and PATH are required // * `TCP`, `SSL` - PORT is required, PATH is not supported Target pulumi.StringInput `pulumi:"target"` // The length of time before the check times out. Timeout pulumi.IntInput `pulumi:"timeout"` // The number of checks before the instance is declared unhealthy. UnhealthyThreshold pulumi.IntInput `pulumi:"unhealthyThreshold"` }
func (LoadBalancerHealthCheckArgs) ElementType ¶
func (LoadBalancerHealthCheckArgs) ElementType() reflect.Type
func (LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutput ¶
func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput
func (LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutputWithContext ¶
func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutputWithContext(ctx context.Context) LoadBalancerHealthCheckOutput
func (LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutput ¶
func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput
func (LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutputWithContext ¶
func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthCheckPtrOutput
type LoadBalancerHealthCheckInput ¶
type LoadBalancerHealthCheckInput interface { pulumi.Input ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput ToLoadBalancerHealthCheckOutputWithContext(context.Context) LoadBalancerHealthCheckOutput }
LoadBalancerHealthCheckInput is an input type that accepts LoadBalancerHealthCheckArgs and LoadBalancerHealthCheckOutput values. You can construct a concrete instance of `LoadBalancerHealthCheckInput` via:
LoadBalancerHealthCheckArgs{...}
type LoadBalancerHealthCheckOutput ¶
type LoadBalancerHealthCheckOutput struct{ *pulumi.OutputState }
func (LoadBalancerHealthCheckOutput) ElementType ¶
func (LoadBalancerHealthCheckOutput) ElementType() reflect.Type
func (LoadBalancerHealthCheckOutput) HealthyThreshold ¶
func (o LoadBalancerHealthCheckOutput) HealthyThreshold() pulumi.IntOutput
The number of checks before the instance is declared healthy.
func (LoadBalancerHealthCheckOutput) Interval ¶
func (o LoadBalancerHealthCheckOutput) Interval() pulumi.IntOutput
The interval between checks.
func (LoadBalancerHealthCheckOutput) Target ¶
func (o LoadBalancerHealthCheckOutput) Target() pulumi.StringOutput
The target of the check. Valid pattern is "${PROTOCOL}:${PORT}${PATH}", where PROTOCOL values are: * `HTTP`, `HTTPS` - PORT and PATH are required * `TCP`, `SSL` - PORT is required, PATH is not supported
func (LoadBalancerHealthCheckOutput) Timeout ¶
func (o LoadBalancerHealthCheckOutput) Timeout() pulumi.IntOutput
The length of time before the check times out.
func (LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutput ¶
func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput
func (LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutputWithContext ¶
func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutputWithContext(ctx context.Context) LoadBalancerHealthCheckOutput
func (LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutput ¶
func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput
func (LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutputWithContext ¶
func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthCheckPtrOutput
func (LoadBalancerHealthCheckOutput) UnhealthyThreshold ¶
func (o LoadBalancerHealthCheckOutput) UnhealthyThreshold() pulumi.IntOutput
The number of checks before the instance is declared unhealthy.
type LoadBalancerHealthCheckPtrInput ¶
type LoadBalancerHealthCheckPtrInput interface { pulumi.Input ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput ToLoadBalancerHealthCheckPtrOutputWithContext(context.Context) LoadBalancerHealthCheckPtrOutput }
LoadBalancerHealthCheckPtrInput is an input type that accepts LoadBalancerHealthCheckArgs, LoadBalancerHealthCheckPtr and LoadBalancerHealthCheckPtrOutput values. You can construct a concrete instance of `LoadBalancerHealthCheckPtrInput` via:
LoadBalancerHealthCheckArgs{...} or: nil
func LoadBalancerHealthCheckPtr ¶
func LoadBalancerHealthCheckPtr(v *LoadBalancerHealthCheckArgs) LoadBalancerHealthCheckPtrInput
type LoadBalancerHealthCheckPtrOutput ¶
type LoadBalancerHealthCheckPtrOutput struct{ *pulumi.OutputState }
func (LoadBalancerHealthCheckPtrOutput) Elem ¶
func (o LoadBalancerHealthCheckPtrOutput) Elem() LoadBalancerHealthCheckOutput
func (LoadBalancerHealthCheckPtrOutput) ElementType ¶
func (LoadBalancerHealthCheckPtrOutput) ElementType() reflect.Type
func (LoadBalancerHealthCheckPtrOutput) HealthyThreshold ¶
func (o LoadBalancerHealthCheckPtrOutput) HealthyThreshold() pulumi.IntPtrOutput
The number of checks before the instance is declared healthy.
func (LoadBalancerHealthCheckPtrOutput) Interval ¶
func (o LoadBalancerHealthCheckPtrOutput) Interval() pulumi.IntPtrOutput
The interval between checks.
func (LoadBalancerHealthCheckPtrOutput) Target ¶
func (o LoadBalancerHealthCheckPtrOutput) Target() pulumi.StringPtrOutput
The target of the check. Valid pattern is "${PROTOCOL}:${PORT}${PATH}", where PROTOCOL values are: * `HTTP`, `HTTPS` - PORT and PATH are required * `TCP`, `SSL` - PORT is required, PATH is not supported
func (LoadBalancerHealthCheckPtrOutput) Timeout ¶
func (o LoadBalancerHealthCheckPtrOutput) Timeout() pulumi.IntPtrOutput
The length of time before the check times out.
func (LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutput ¶
func (o LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput
func (LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutputWithContext ¶
func (o LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthCheckPtrOutput
func (LoadBalancerHealthCheckPtrOutput) UnhealthyThreshold ¶
func (o LoadBalancerHealthCheckPtrOutput) UnhealthyThreshold() pulumi.IntPtrOutput
The number of checks before the instance is declared unhealthy.
type LoadBalancerInput ¶
type LoadBalancerInput interface { pulumi.Input ToLoadBalancerOutput() LoadBalancerOutput ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput }
type LoadBalancerListener ¶
type LoadBalancerListener struct { // The port on the instance to route to InstancePort int `pulumi:"instancePort"` // The protocol to use to the instance. Valid // values are `HTTP`, `HTTPS`, `TCP`, or `SSL` InstanceProtocol string `pulumi:"instanceProtocol"` // The port to listen on for the load balancer LbPort int `pulumi:"lbPort"` // The protocol to listen on. Valid values are `HTTP`, // `HTTPS`, `TCP`, or `SSL` LbProtocol string `pulumi:"lbProtocol"` // The ARN of an SSL certificate you have // uploaded to AWS IAM. **Note ECDSA-specific restrictions below. Only valid when `lbProtocol` is either HTTPS or SSL** SslCertificateId *string `pulumi:"sslCertificateId"` }
type LoadBalancerListenerArgs ¶
type LoadBalancerListenerArgs struct { // The port on the instance to route to InstancePort pulumi.IntInput `pulumi:"instancePort"` // The protocol to use to the instance. Valid // values are `HTTP`, `HTTPS`, `TCP`, or `SSL` InstanceProtocol pulumi.StringInput `pulumi:"instanceProtocol"` // The port to listen on for the load balancer LbPort pulumi.IntInput `pulumi:"lbPort"` // The protocol to listen on. Valid values are `HTTP`, // `HTTPS`, `TCP`, or `SSL` LbProtocol pulumi.StringInput `pulumi:"lbProtocol"` // The ARN of an SSL certificate you have // uploaded to AWS IAM. **Note ECDSA-specific restrictions below. Only valid when `lbProtocol` is either HTTPS or SSL** SslCertificateId pulumi.StringPtrInput `pulumi:"sslCertificateId"` }
func (LoadBalancerListenerArgs) ElementType ¶
func (LoadBalancerListenerArgs) ElementType() reflect.Type
func (LoadBalancerListenerArgs) ToLoadBalancerListenerOutput ¶
func (i LoadBalancerListenerArgs) ToLoadBalancerListenerOutput() LoadBalancerListenerOutput
func (LoadBalancerListenerArgs) ToLoadBalancerListenerOutputWithContext ¶
func (i LoadBalancerListenerArgs) ToLoadBalancerListenerOutputWithContext(ctx context.Context) LoadBalancerListenerOutput
type LoadBalancerListenerArray ¶
type LoadBalancerListenerArray []LoadBalancerListenerInput
func (LoadBalancerListenerArray) ElementType ¶
func (LoadBalancerListenerArray) ElementType() reflect.Type
func (LoadBalancerListenerArray) ToLoadBalancerListenerArrayOutput ¶
func (i LoadBalancerListenerArray) ToLoadBalancerListenerArrayOutput() LoadBalancerListenerArrayOutput
func (LoadBalancerListenerArray) ToLoadBalancerListenerArrayOutputWithContext ¶
func (i LoadBalancerListenerArray) ToLoadBalancerListenerArrayOutputWithContext(ctx context.Context) LoadBalancerListenerArrayOutput
type LoadBalancerListenerArrayInput ¶
type LoadBalancerListenerArrayInput interface { pulumi.Input ToLoadBalancerListenerArrayOutput() LoadBalancerListenerArrayOutput ToLoadBalancerListenerArrayOutputWithContext(context.Context) LoadBalancerListenerArrayOutput }
LoadBalancerListenerArrayInput is an input type that accepts LoadBalancerListenerArray and LoadBalancerListenerArrayOutput values. You can construct a concrete instance of `LoadBalancerListenerArrayInput` via:
LoadBalancerListenerArray{ LoadBalancerListenerArgs{...} }
type LoadBalancerListenerArrayOutput ¶
type LoadBalancerListenerArrayOutput struct{ *pulumi.OutputState }
func (LoadBalancerListenerArrayOutput) ElementType ¶
func (LoadBalancerListenerArrayOutput) ElementType() reflect.Type
func (LoadBalancerListenerArrayOutput) Index ¶
func (o LoadBalancerListenerArrayOutput) Index(i pulumi.IntInput) LoadBalancerListenerOutput
func (LoadBalancerListenerArrayOutput) ToLoadBalancerListenerArrayOutput ¶
func (o LoadBalancerListenerArrayOutput) ToLoadBalancerListenerArrayOutput() LoadBalancerListenerArrayOutput
func (LoadBalancerListenerArrayOutput) ToLoadBalancerListenerArrayOutputWithContext ¶
func (o LoadBalancerListenerArrayOutput) ToLoadBalancerListenerArrayOutputWithContext(ctx context.Context) LoadBalancerListenerArrayOutput
type LoadBalancerListenerInput ¶
type LoadBalancerListenerInput interface { pulumi.Input ToLoadBalancerListenerOutput() LoadBalancerListenerOutput ToLoadBalancerListenerOutputWithContext(context.Context) LoadBalancerListenerOutput }
LoadBalancerListenerInput is an input type that accepts LoadBalancerListenerArgs and LoadBalancerListenerOutput values. You can construct a concrete instance of `LoadBalancerListenerInput` via:
LoadBalancerListenerArgs{...}
type LoadBalancerListenerOutput ¶
type LoadBalancerListenerOutput struct{ *pulumi.OutputState }
func (LoadBalancerListenerOutput) ElementType ¶
func (LoadBalancerListenerOutput) ElementType() reflect.Type
func (LoadBalancerListenerOutput) InstancePort ¶
func (o LoadBalancerListenerOutput) InstancePort() pulumi.IntOutput
The port on the instance to route to
func (LoadBalancerListenerOutput) InstanceProtocol ¶
func (o LoadBalancerListenerOutput) InstanceProtocol() pulumi.StringOutput
The protocol to use to the instance. Valid values are `HTTP`, `HTTPS`, `TCP`, or `SSL`
func (LoadBalancerListenerOutput) LbPort ¶
func (o LoadBalancerListenerOutput) LbPort() pulumi.IntOutput
The port to listen on for the load balancer
func (LoadBalancerListenerOutput) LbProtocol ¶
func (o LoadBalancerListenerOutput) LbProtocol() pulumi.StringOutput
The protocol to listen on. Valid values are `HTTP`, `HTTPS`, `TCP`, or `SSL`
func (LoadBalancerListenerOutput) SslCertificateId ¶
func (o LoadBalancerListenerOutput) SslCertificateId() pulumi.StringPtrOutput
The ARN of an SSL certificate you have uploaded to AWS IAM. **Note ECDSA-specific restrictions below. Only valid when `lbProtocol` is either HTTPS or SSL**
func (LoadBalancerListenerOutput) ToLoadBalancerListenerOutput ¶
func (o LoadBalancerListenerOutput) ToLoadBalancerListenerOutput() LoadBalancerListenerOutput
func (LoadBalancerListenerOutput) ToLoadBalancerListenerOutputWithContext ¶
func (o LoadBalancerListenerOutput) ToLoadBalancerListenerOutputWithContext(ctx context.Context) LoadBalancerListenerOutput
type LoadBalancerMap ¶
type LoadBalancerMap map[string]LoadBalancerInput
func (LoadBalancerMap) ElementType ¶
func (LoadBalancerMap) ElementType() reflect.Type
func (LoadBalancerMap) ToLoadBalancerMapOutput ¶
func (i LoadBalancerMap) ToLoadBalancerMapOutput() LoadBalancerMapOutput
func (LoadBalancerMap) ToLoadBalancerMapOutputWithContext ¶
func (i LoadBalancerMap) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput
type LoadBalancerMapInput ¶
type LoadBalancerMapInput interface { pulumi.Input ToLoadBalancerMapOutput() LoadBalancerMapOutput ToLoadBalancerMapOutputWithContext(context.Context) LoadBalancerMapOutput }
LoadBalancerMapInput is an input type that accepts LoadBalancerMap and LoadBalancerMapOutput values. You can construct a concrete instance of `LoadBalancerMapInput` via:
LoadBalancerMap{ "key": LoadBalancerArgs{...} }
type LoadBalancerMapOutput ¶
type LoadBalancerMapOutput struct{ *pulumi.OutputState }
func (LoadBalancerMapOutput) ElementType ¶
func (LoadBalancerMapOutput) ElementType() reflect.Type
func (LoadBalancerMapOutput) MapIndex ¶
func (o LoadBalancerMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerOutput
func (LoadBalancerMapOutput) ToLoadBalancerMapOutput ¶
func (o LoadBalancerMapOutput) ToLoadBalancerMapOutput() LoadBalancerMapOutput
func (LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext ¶
func (o LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput
type LoadBalancerOutput ¶
type LoadBalancerOutput struct{ *pulumi.OutputState }
func (LoadBalancerOutput) ElementType ¶
func (LoadBalancerOutput) ElementType() reflect.Type
func (LoadBalancerOutput) ToLoadBalancerOutput ¶
func (o LoadBalancerOutput) ToLoadBalancerOutput() LoadBalancerOutput
func (LoadBalancerOutput) ToLoadBalancerOutputWithContext ¶
func (o LoadBalancerOutput) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput
type LoadBalancerPolicy
deprecated
type LoadBalancerPolicy struct { pulumi.CustomResourceState // The load balancer on which the policy is defined. LoadBalancerName pulumi.StringOutput `pulumi:"loadBalancerName"` // Policy attribute to apply to the policy. PolicyAttributes LoadBalancerPolicyPolicyAttributeArrayOutput `pulumi:"policyAttributes"` // The name of the load balancer policy. PolicyName pulumi.StringOutput `pulumi:"policyName"` // The policy type. PolicyTypeName pulumi.StringOutput `pulumi:"policyTypeName"` }
Provides a load balancer policy, which can be attached to an ELB listener or backend server.
## Example Usage
```go package main
import (
"io/ioutil" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/elb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := ioutil.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) }
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := elb.NewLoadBalancer(ctx, "wu-tang", &elb.LoadBalancerArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-east-1a"), }, Listeners: elb.LoadBalancerListenerArray{ &elb.LoadBalancerListenerArgs{ InstancePort: pulumi.Int(443), InstanceProtocol: pulumi.String("http"), LbPort: pulumi.Int(443), LbProtocol: pulumi.String("https"), SslCertificateId: pulumi.String("arn:aws:iam::000000000000:server-certificate/wu-tang.net"), }, }, Tags: pulumi.StringMap{ "Name": pulumi.String("wu-tang"), }, }) if err != nil { return err } _, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-ca-pubkey-policy", &elb.LoadBalancerPolicyArgs{ LoadBalancerName: wu_tang.Name, PolicyName: pulumi.String("wu-tang-ca-pubkey-policy"), PolicyTypeName: pulumi.String("PublicKeyPolicyType"), PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{ &elb.LoadBalancerPolicyPolicyAttributeArgs{ Name: pulumi.String("PublicKey"), Value: readFileOrPanic("wu-tang-pubkey"), }, }, }) if err != nil { return err } _, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-root-ca-backend-auth-policy", &elb.LoadBalancerPolicyArgs{ LoadBalancerName: wu_tang.Name, PolicyName: pulumi.String("wu-tang-root-ca-backend-auth-policy"), PolicyTypeName: pulumi.String("BackendServerAuthenticationPolicyType"), PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{ &elb.LoadBalancerPolicyPolicyAttributeArgs{ Name: pulumi.String("PublicKeyPolicyName"), Value: pulumi.Any(aws_load_balancer_policy.Wu - tang - root - ca - pubkey - policy.Policy_name), }, }, }) if err != nil { return err } _, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-ssl", &elb.LoadBalancerPolicyArgs{ LoadBalancerName: wu_tang.Name, PolicyName: pulumi.String("wu-tang-ssl"), PolicyTypeName: pulumi.String("SSLNegotiationPolicyType"), PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{ &elb.LoadBalancerPolicyPolicyAttributeArgs{ Name: pulumi.String("ECDHE-ECDSA-AES128-GCM-SHA256"), Value: pulumi.String("true"), }, &elb.LoadBalancerPolicyPolicyAttributeArgs{ Name: pulumi.String("Protocol-TLSv1.2"), Value: pulumi.String("true"), }, }, }) if err != nil { return err } _, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-ssl-tls-1-1", &elb.LoadBalancerPolicyArgs{ LoadBalancerName: wu_tang.Name, PolicyName: pulumi.String("wu-tang-ssl"), PolicyTypeName: pulumi.String("SSLNegotiationPolicyType"), PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{ &elb.LoadBalancerPolicyPolicyAttributeArgs{ Name: pulumi.String("Reference-Security-Policy"), Value: pulumi.String("ELBSecurityPolicy-TLS-1-1-2017-01"), }, }, }) if err != nil { return err } _, err = elb.NewLoadBalancerBackendServerPolicy(ctx, "wu-tang-backend-auth-policies-443", &elb.LoadBalancerBackendServerPolicyArgs{ LoadBalancerName: wu_tang.Name, InstancePort: pulumi.Int(443), PolicyNames: pulumi.StringArray{ wu_tang_root_ca_backend_auth_policy.PolicyName, }, }) if err != nil { return err } _, err = elb.NewListenerPolicy(ctx, "wu-tang-listener-policies-443", &elb.ListenerPolicyArgs{ LoadBalancerName: wu_tang.Name, LoadBalancerPort: pulumi.Int(443), PolicyNames: pulumi.StringArray{ wu_tang_ssl.PolicyName, }, }) if err != nil { return err } return nil }) }
```
Deprecated: aws.elasticloadbalancing.LoadBalancerPolicy has been deprecated in favor of aws.elb.LoadBalancerPolicy
func GetLoadBalancerPolicy ¶
func GetLoadBalancerPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LoadBalancerPolicyState, opts ...pulumi.ResourceOption) (*LoadBalancerPolicy, error)
GetLoadBalancerPolicy gets an existing LoadBalancerPolicy 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 NewLoadBalancerPolicy ¶
func NewLoadBalancerPolicy(ctx *pulumi.Context, name string, args *LoadBalancerPolicyArgs, opts ...pulumi.ResourceOption) (*LoadBalancerPolicy, error)
NewLoadBalancerPolicy registers a new resource with the given unique name, arguments, and options.
func (*LoadBalancerPolicy) ElementType ¶
func (*LoadBalancerPolicy) ElementType() reflect.Type
func (*LoadBalancerPolicy) ToLoadBalancerPolicyOutput ¶
func (i *LoadBalancerPolicy) ToLoadBalancerPolicyOutput() LoadBalancerPolicyOutput
func (*LoadBalancerPolicy) ToLoadBalancerPolicyOutputWithContext ¶
func (i *LoadBalancerPolicy) ToLoadBalancerPolicyOutputWithContext(ctx context.Context) LoadBalancerPolicyOutput
type LoadBalancerPolicyArgs ¶
type LoadBalancerPolicyArgs struct { // The load balancer on which the policy is defined. LoadBalancerName pulumi.StringInput // Policy attribute to apply to the policy. PolicyAttributes LoadBalancerPolicyPolicyAttributeArrayInput // The name of the load balancer policy. PolicyName pulumi.StringInput // The policy type. PolicyTypeName pulumi.StringInput }
The set of arguments for constructing a LoadBalancerPolicy resource.
func (LoadBalancerPolicyArgs) ElementType ¶
func (LoadBalancerPolicyArgs) ElementType() reflect.Type
type LoadBalancerPolicyArray ¶
type LoadBalancerPolicyArray []LoadBalancerPolicyInput
func (LoadBalancerPolicyArray) ElementType ¶
func (LoadBalancerPolicyArray) ElementType() reflect.Type
func (LoadBalancerPolicyArray) ToLoadBalancerPolicyArrayOutput ¶
func (i LoadBalancerPolicyArray) ToLoadBalancerPolicyArrayOutput() LoadBalancerPolicyArrayOutput
func (LoadBalancerPolicyArray) ToLoadBalancerPolicyArrayOutputWithContext ¶
func (i LoadBalancerPolicyArray) ToLoadBalancerPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyArrayOutput
type LoadBalancerPolicyArrayInput ¶
type LoadBalancerPolicyArrayInput interface { pulumi.Input ToLoadBalancerPolicyArrayOutput() LoadBalancerPolicyArrayOutput ToLoadBalancerPolicyArrayOutputWithContext(context.Context) LoadBalancerPolicyArrayOutput }
LoadBalancerPolicyArrayInput is an input type that accepts LoadBalancerPolicyArray and LoadBalancerPolicyArrayOutput values. You can construct a concrete instance of `LoadBalancerPolicyArrayInput` via:
LoadBalancerPolicyArray{ LoadBalancerPolicyArgs{...} }
type LoadBalancerPolicyArrayOutput ¶
type LoadBalancerPolicyArrayOutput struct{ *pulumi.OutputState }
func (LoadBalancerPolicyArrayOutput) ElementType ¶
func (LoadBalancerPolicyArrayOutput) ElementType() reflect.Type
func (LoadBalancerPolicyArrayOutput) Index ¶
func (o LoadBalancerPolicyArrayOutput) Index(i pulumi.IntInput) LoadBalancerPolicyOutput
func (LoadBalancerPolicyArrayOutput) ToLoadBalancerPolicyArrayOutput ¶
func (o LoadBalancerPolicyArrayOutput) ToLoadBalancerPolicyArrayOutput() LoadBalancerPolicyArrayOutput
func (LoadBalancerPolicyArrayOutput) ToLoadBalancerPolicyArrayOutputWithContext ¶
func (o LoadBalancerPolicyArrayOutput) ToLoadBalancerPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyArrayOutput
type LoadBalancerPolicyInput ¶
type LoadBalancerPolicyInput interface { pulumi.Input ToLoadBalancerPolicyOutput() LoadBalancerPolicyOutput ToLoadBalancerPolicyOutputWithContext(ctx context.Context) LoadBalancerPolicyOutput }
type LoadBalancerPolicyMap ¶
type LoadBalancerPolicyMap map[string]LoadBalancerPolicyInput
func (LoadBalancerPolicyMap) ElementType ¶
func (LoadBalancerPolicyMap) ElementType() reflect.Type
func (LoadBalancerPolicyMap) ToLoadBalancerPolicyMapOutput ¶
func (i LoadBalancerPolicyMap) ToLoadBalancerPolicyMapOutput() LoadBalancerPolicyMapOutput
func (LoadBalancerPolicyMap) ToLoadBalancerPolicyMapOutputWithContext ¶
func (i LoadBalancerPolicyMap) ToLoadBalancerPolicyMapOutputWithContext(ctx context.Context) LoadBalancerPolicyMapOutput
type LoadBalancerPolicyMapInput ¶
type LoadBalancerPolicyMapInput interface { pulumi.Input ToLoadBalancerPolicyMapOutput() LoadBalancerPolicyMapOutput ToLoadBalancerPolicyMapOutputWithContext(context.Context) LoadBalancerPolicyMapOutput }
LoadBalancerPolicyMapInput is an input type that accepts LoadBalancerPolicyMap and LoadBalancerPolicyMapOutput values. You can construct a concrete instance of `LoadBalancerPolicyMapInput` via:
LoadBalancerPolicyMap{ "key": LoadBalancerPolicyArgs{...} }
type LoadBalancerPolicyMapOutput ¶
type LoadBalancerPolicyMapOutput struct{ *pulumi.OutputState }
func (LoadBalancerPolicyMapOutput) ElementType ¶
func (LoadBalancerPolicyMapOutput) ElementType() reflect.Type
func (LoadBalancerPolicyMapOutput) MapIndex ¶
func (o LoadBalancerPolicyMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerPolicyOutput
func (LoadBalancerPolicyMapOutput) ToLoadBalancerPolicyMapOutput ¶
func (o LoadBalancerPolicyMapOutput) ToLoadBalancerPolicyMapOutput() LoadBalancerPolicyMapOutput
func (LoadBalancerPolicyMapOutput) ToLoadBalancerPolicyMapOutputWithContext ¶
func (o LoadBalancerPolicyMapOutput) ToLoadBalancerPolicyMapOutputWithContext(ctx context.Context) LoadBalancerPolicyMapOutput
type LoadBalancerPolicyOutput ¶
type LoadBalancerPolicyOutput struct{ *pulumi.OutputState }
func (LoadBalancerPolicyOutput) ElementType ¶
func (LoadBalancerPolicyOutput) ElementType() reflect.Type
func (LoadBalancerPolicyOutput) ToLoadBalancerPolicyOutput ¶
func (o LoadBalancerPolicyOutput) ToLoadBalancerPolicyOutput() LoadBalancerPolicyOutput
func (LoadBalancerPolicyOutput) ToLoadBalancerPolicyOutputWithContext ¶
func (o LoadBalancerPolicyOutput) ToLoadBalancerPolicyOutputWithContext(ctx context.Context) LoadBalancerPolicyOutput
type LoadBalancerPolicyPolicyAttributeArgs ¶
type LoadBalancerPolicyPolicyAttributeArgs struct { Name pulumi.StringPtrInput `pulumi:"name"` Value pulumi.StringPtrInput `pulumi:"value"` }
func (LoadBalancerPolicyPolicyAttributeArgs) ElementType ¶
func (LoadBalancerPolicyPolicyAttributeArgs) ElementType() reflect.Type
func (LoadBalancerPolicyPolicyAttributeArgs) ToLoadBalancerPolicyPolicyAttributeOutput ¶
func (i LoadBalancerPolicyPolicyAttributeArgs) ToLoadBalancerPolicyPolicyAttributeOutput() LoadBalancerPolicyPolicyAttributeOutput
func (LoadBalancerPolicyPolicyAttributeArgs) ToLoadBalancerPolicyPolicyAttributeOutputWithContext ¶
func (i LoadBalancerPolicyPolicyAttributeArgs) ToLoadBalancerPolicyPolicyAttributeOutputWithContext(ctx context.Context) LoadBalancerPolicyPolicyAttributeOutput
type LoadBalancerPolicyPolicyAttributeArray ¶
type LoadBalancerPolicyPolicyAttributeArray []LoadBalancerPolicyPolicyAttributeInput
func (LoadBalancerPolicyPolicyAttributeArray) ElementType ¶
func (LoadBalancerPolicyPolicyAttributeArray) ElementType() reflect.Type
func (LoadBalancerPolicyPolicyAttributeArray) ToLoadBalancerPolicyPolicyAttributeArrayOutput ¶
func (i LoadBalancerPolicyPolicyAttributeArray) ToLoadBalancerPolicyPolicyAttributeArrayOutput() LoadBalancerPolicyPolicyAttributeArrayOutput
func (LoadBalancerPolicyPolicyAttributeArray) ToLoadBalancerPolicyPolicyAttributeArrayOutputWithContext ¶
func (i LoadBalancerPolicyPolicyAttributeArray) ToLoadBalancerPolicyPolicyAttributeArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyPolicyAttributeArrayOutput
type LoadBalancerPolicyPolicyAttributeArrayInput ¶
type LoadBalancerPolicyPolicyAttributeArrayInput interface { pulumi.Input ToLoadBalancerPolicyPolicyAttributeArrayOutput() LoadBalancerPolicyPolicyAttributeArrayOutput ToLoadBalancerPolicyPolicyAttributeArrayOutputWithContext(context.Context) LoadBalancerPolicyPolicyAttributeArrayOutput }
LoadBalancerPolicyPolicyAttributeArrayInput is an input type that accepts LoadBalancerPolicyPolicyAttributeArray and LoadBalancerPolicyPolicyAttributeArrayOutput values. You can construct a concrete instance of `LoadBalancerPolicyPolicyAttributeArrayInput` via:
LoadBalancerPolicyPolicyAttributeArray{ LoadBalancerPolicyPolicyAttributeArgs{...} }
type LoadBalancerPolicyPolicyAttributeArrayOutput ¶
type LoadBalancerPolicyPolicyAttributeArrayOutput struct{ *pulumi.OutputState }
func (LoadBalancerPolicyPolicyAttributeArrayOutput) ElementType ¶
func (LoadBalancerPolicyPolicyAttributeArrayOutput) ElementType() reflect.Type
func (LoadBalancerPolicyPolicyAttributeArrayOutput) ToLoadBalancerPolicyPolicyAttributeArrayOutput ¶
func (o LoadBalancerPolicyPolicyAttributeArrayOutput) ToLoadBalancerPolicyPolicyAttributeArrayOutput() LoadBalancerPolicyPolicyAttributeArrayOutput
func (LoadBalancerPolicyPolicyAttributeArrayOutput) ToLoadBalancerPolicyPolicyAttributeArrayOutputWithContext ¶
func (o LoadBalancerPolicyPolicyAttributeArrayOutput) ToLoadBalancerPolicyPolicyAttributeArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyPolicyAttributeArrayOutput
type LoadBalancerPolicyPolicyAttributeInput ¶
type LoadBalancerPolicyPolicyAttributeInput interface { pulumi.Input ToLoadBalancerPolicyPolicyAttributeOutput() LoadBalancerPolicyPolicyAttributeOutput ToLoadBalancerPolicyPolicyAttributeOutputWithContext(context.Context) LoadBalancerPolicyPolicyAttributeOutput }
LoadBalancerPolicyPolicyAttributeInput is an input type that accepts LoadBalancerPolicyPolicyAttributeArgs and LoadBalancerPolicyPolicyAttributeOutput values. You can construct a concrete instance of `LoadBalancerPolicyPolicyAttributeInput` via:
LoadBalancerPolicyPolicyAttributeArgs{...}
type LoadBalancerPolicyPolicyAttributeOutput ¶
type LoadBalancerPolicyPolicyAttributeOutput struct{ *pulumi.OutputState }
func (LoadBalancerPolicyPolicyAttributeOutput) ElementType ¶
func (LoadBalancerPolicyPolicyAttributeOutput) ElementType() reflect.Type
func (LoadBalancerPolicyPolicyAttributeOutput) Name ¶
func (o LoadBalancerPolicyPolicyAttributeOutput) Name() pulumi.StringPtrOutput
func (LoadBalancerPolicyPolicyAttributeOutput) ToLoadBalancerPolicyPolicyAttributeOutput ¶
func (o LoadBalancerPolicyPolicyAttributeOutput) ToLoadBalancerPolicyPolicyAttributeOutput() LoadBalancerPolicyPolicyAttributeOutput
func (LoadBalancerPolicyPolicyAttributeOutput) ToLoadBalancerPolicyPolicyAttributeOutputWithContext ¶
func (o LoadBalancerPolicyPolicyAttributeOutput) ToLoadBalancerPolicyPolicyAttributeOutputWithContext(ctx context.Context) LoadBalancerPolicyPolicyAttributeOutput
func (LoadBalancerPolicyPolicyAttributeOutput) Value ¶
func (o LoadBalancerPolicyPolicyAttributeOutput) Value() pulumi.StringPtrOutput
type LoadBalancerPolicyState ¶
type LoadBalancerPolicyState struct { // The load balancer on which the policy is defined. LoadBalancerName pulumi.StringPtrInput // Policy attribute to apply to the policy. PolicyAttributes LoadBalancerPolicyPolicyAttributeArrayInput // The name of the load balancer policy. PolicyName pulumi.StringPtrInput // The policy type. PolicyTypeName pulumi.StringPtrInput }
func (LoadBalancerPolicyState) ElementType ¶
func (LoadBalancerPolicyState) ElementType() reflect.Type
type LoadBalancerState ¶
type LoadBalancerState struct { // An Access Logs block. Access Logs documented below. AccessLogs LoadBalancerAccessLogsPtrInput // The ARN of the ELB Arn pulumi.StringPtrInput // The AZ's to serve traffic in. AvailabilityZones pulumi.StringArrayInput // Boolean to enable connection draining. Default: `false` ConnectionDraining pulumi.BoolPtrInput // The time in seconds to allow for connections to drain. Default: `300` ConnectionDrainingTimeout pulumi.IntPtrInput // Enable cross-zone load balancing. Default: `true` CrossZoneLoadBalancing pulumi.BoolPtrInput // Determines how the load balancer handles requests that might pose a security risk to an application due to HTTP desync. Valid values are `monitor`, `defensive` (default), `strictest`. DesyncMitigationMode pulumi.StringPtrInput // The DNS name of the ELB DnsName pulumi.StringPtrInput // A healthCheck block. Health Check documented below. HealthCheck LoadBalancerHealthCheckPtrInput // The time in seconds that the connection is allowed to be idle. Default: `60` IdleTimeout pulumi.IntPtrInput // A list of instance ids to place in the ELB pool. Instances pulumi.StringArrayInput // If true, ELB will be an internal ELB. Internal pulumi.BoolPtrInput // A list of listener blocks. Listeners documented below. Listeners LoadBalancerListenerArrayInput // The name of the ELB. By default generated by this provider. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified // prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // A list of security group IDs to assign to the ELB. // Only valid if creating an ELB within a VPC SecurityGroups pulumi.StringArrayInput // The name of the security group that you can use as // part of your inbound rules for your load balancer's back-end application // instances. Use this for Classic or Default VPC only. SourceSecurityGroup pulumi.StringPtrInput // The ID of the security group that you can use as // part of your inbound rules for your load balancer's back-end application // instances. Only available on ELBs launched in a VPC. SourceSecurityGroupId pulumi.StringPtrInput // A list of subnet IDs to attach to the ELB. Subnets pulumi.StringArrayInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput // The canonical hosted zone ID of the ELB (to be used in a Route 53 Alias record) ZoneId pulumi.StringPtrInput }
func (LoadBalancerState) ElementType ¶
func (LoadBalancerState) ElementType() reflect.Type
type LookupLoadBalancerArgs ¶
type LookupLoadBalancerArgs struct { // The unique name of the load balancer. Name string `pulumi:"name"` Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getLoadBalancer.
type LookupLoadBalancerOutputArgs ¶ added in v4.21.0
type LookupLoadBalancerOutputArgs struct { // The unique name of the load balancer. Name pulumi.StringInput `pulumi:"name"` Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getLoadBalancer.
func (LookupLoadBalancerOutputArgs) ElementType ¶ added in v4.21.0
func (LookupLoadBalancerOutputArgs) ElementType() reflect.Type
type LookupLoadBalancerResult ¶
type LookupLoadBalancerResult struct { AccessLogs GetLoadBalancerAccessLogs `pulumi:"accessLogs"` Arn string `pulumi:"arn"` AvailabilityZones []string `pulumi:"availabilityZones"` ConnectionDraining bool `pulumi:"connectionDraining"` ConnectionDrainingTimeout int `pulumi:"connectionDrainingTimeout"` CrossZoneLoadBalancing bool `pulumi:"crossZoneLoadBalancing"` DesyncMitigationMode string `pulumi:"desyncMitigationMode"` DnsName string `pulumi:"dnsName"` HealthCheck GetLoadBalancerHealthCheck `pulumi:"healthCheck"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` IdleTimeout int `pulumi:"idleTimeout"` Instances []string `pulumi:"instances"` Internal bool `pulumi:"internal"` Listeners []GetLoadBalancerListener `pulumi:"listeners"` Name string `pulumi:"name"` SecurityGroups []string `pulumi:"securityGroups"` SourceSecurityGroup string `pulumi:"sourceSecurityGroup"` SourceSecurityGroupId string `pulumi:"sourceSecurityGroupId"` Subnets []string `pulumi:"subnets"` Tags map[string]string `pulumi:"tags"` ZoneId string `pulumi:"zoneId"` }
A collection of values returned by getLoadBalancer.
func LookupLoadBalancer
deprecated
func LookupLoadBalancer(ctx *pulumi.Context, args *LookupLoadBalancerArgs, opts ...pulumi.InvokeOption) (*LookupLoadBalancerResult, error)
Provides information about a "classic" Elastic Load Balancer (ELB). See `LB` Data Source if you are looking for "v2" Application Load Balancer (ALB) or Network Load Balancer (NLB).
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/elb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") lbName := "" if param := cfg.Get("lbName"); param != "" { lbName = param } _, err := elb.LookupLoadBalancer(ctx, &elb.LookupLoadBalancerArgs{ Name: lbName, }, nil) if err != nil { return err } return nil }) }
```
Deprecated: aws.elasticloadbalancing.getLoadBalancer has been deprecated in favor of aws.elb.getLoadBalancer
type LookupLoadBalancerResultOutput ¶ added in v4.21.0
type LookupLoadBalancerResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLoadBalancer.
func LookupLoadBalancerOutput ¶ added in v4.21.0
func LookupLoadBalancerOutput(ctx *pulumi.Context, args LookupLoadBalancerOutputArgs, opts ...pulumi.InvokeOption) LookupLoadBalancerResultOutput
func (LookupLoadBalancerResultOutput) AccessLogs ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) AccessLogs() GetLoadBalancerAccessLogsOutput
func (LookupLoadBalancerResultOutput) Arn ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) Arn() pulumi.StringOutput
func (LookupLoadBalancerResultOutput) AvailabilityZones ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) AvailabilityZones() pulumi.StringArrayOutput
func (LookupLoadBalancerResultOutput) ConnectionDraining ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) ConnectionDraining() pulumi.BoolOutput
func (LookupLoadBalancerResultOutput) ConnectionDrainingTimeout ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) ConnectionDrainingTimeout() pulumi.IntOutput
func (LookupLoadBalancerResultOutput) CrossZoneLoadBalancing ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) CrossZoneLoadBalancing() pulumi.BoolOutput
func (LookupLoadBalancerResultOutput) DesyncMitigationMode ¶ added in v4.30.0
func (o LookupLoadBalancerResultOutput) DesyncMitigationMode() pulumi.StringOutput
func (LookupLoadBalancerResultOutput) DnsName ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) DnsName() pulumi.StringOutput
func (LookupLoadBalancerResultOutput) ElementType ¶ added in v4.21.0
func (LookupLoadBalancerResultOutput) ElementType() reflect.Type
func (LookupLoadBalancerResultOutput) HealthCheck ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) HealthCheck() GetLoadBalancerHealthCheckOutput
func (LookupLoadBalancerResultOutput) Id ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupLoadBalancerResultOutput) IdleTimeout ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) IdleTimeout() pulumi.IntOutput
func (LookupLoadBalancerResultOutput) Instances ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) Instances() pulumi.StringArrayOutput
func (LookupLoadBalancerResultOutput) Internal ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) Internal() pulumi.BoolOutput
func (LookupLoadBalancerResultOutput) Listeners ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) Listeners() GetLoadBalancerListenerArrayOutput
func (LookupLoadBalancerResultOutput) Name ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) Name() pulumi.StringOutput
func (LookupLoadBalancerResultOutput) SecurityGroups ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) SecurityGroups() pulumi.StringArrayOutput
func (LookupLoadBalancerResultOutput) SourceSecurityGroup ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) SourceSecurityGroup() pulumi.StringOutput
func (LookupLoadBalancerResultOutput) SourceSecurityGroupId ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) SourceSecurityGroupId() pulumi.StringOutput
func (LookupLoadBalancerResultOutput) Subnets ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) Subnets() pulumi.StringArrayOutput
func (LookupLoadBalancerResultOutput) Tags ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) Tags() pulumi.StringMapOutput
func (LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutput ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutput() LookupLoadBalancerResultOutput
func (LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutputWithContext ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutputWithContext(ctx context.Context) LookupLoadBalancerResultOutput
func (LookupLoadBalancerResultOutput) ZoneId ¶ added in v4.21.0
func (o LookupLoadBalancerResultOutput) ZoneId() pulumi.StringOutput
type SslNegotiationPolicy
deprecated
type SslNegotiationPolicy struct { pulumi.CustomResourceState // An SSL Negotiation policy attribute. Each has two properties: Attributes SslNegotiationPolicyAttributeArrayOutput `pulumi:"attributes"` // The load balancer port to which the policy // should be applied. This must be an active listener on the load // balancer. LbPort pulumi.IntOutput `pulumi:"lbPort"` // The load balancer to which the policy // should be attached. LoadBalancer pulumi.StringOutput `pulumi:"loadBalancer"` // The name of the attribute Name pulumi.StringOutput `pulumi:"name"` }
Provides a load balancer SSL negotiation policy, which allows an ELB to control the ciphers and protocols that are supported during SSL negotiations between a client and a load balancer.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/elb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { lb, err := elb.NewLoadBalancer(ctx, "lb", &elb.LoadBalancerArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-east-1a"), }, Listeners: elb.LoadBalancerListenerArray{ &elb.LoadBalancerListenerArgs{ InstancePort: pulumi.Int(8000), InstanceProtocol: pulumi.String("https"), LbPort: pulumi.Int(443), LbProtocol: pulumi.String("https"), SslCertificateId: pulumi.String("arn:aws:iam::123456789012:server-certificate/certName"), }, }, }) if err != nil { return err } _, err = elb.NewSslNegotiationPolicy(ctx, "foo", &elb.SslNegotiationPolicyArgs{ LoadBalancer: lb.ID(), LbPort: pulumi.Int(443), Attributes: elb.SslNegotiationPolicyAttributeArray{ &elb.SslNegotiationPolicyAttributeArgs{ Name: pulumi.String("Protocol-TLSv1"), Value: pulumi.String("false"), }, &elb.SslNegotiationPolicyAttributeArgs{ Name: pulumi.String("Protocol-TLSv1.1"), Value: pulumi.String("false"), }, &elb.SslNegotiationPolicyAttributeArgs{ Name: pulumi.String("Protocol-TLSv1.2"), Value: pulumi.String("true"), }, &elb.SslNegotiationPolicyAttributeArgs{ Name: pulumi.String("Server-Defined-Cipher-Order"), Value: pulumi.String("true"), }, &elb.SslNegotiationPolicyAttributeArgs{ Name: pulumi.String("ECDHE-RSA-AES128-GCM-SHA256"), Value: pulumi.String("true"), }, &elb.SslNegotiationPolicyAttributeArgs{ Name: pulumi.String("AES128-GCM-SHA256"), Value: pulumi.String("true"), }, &elb.SslNegotiationPolicyAttributeArgs{ Name: pulumi.String("EDH-RSA-DES-CBC3-SHA"), Value: pulumi.String("false"), }, }, }) if err != nil { return err } return nil }) }
```
Deprecated: aws.elasticloadbalancing.SslNegotiationPolicy has been deprecated in favor of aws.elb.SslNegotiationPolicy
func GetSslNegotiationPolicy ¶
func GetSslNegotiationPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SslNegotiationPolicyState, opts ...pulumi.ResourceOption) (*SslNegotiationPolicy, error)
GetSslNegotiationPolicy gets an existing SslNegotiationPolicy 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 NewSslNegotiationPolicy ¶
func NewSslNegotiationPolicy(ctx *pulumi.Context, name string, args *SslNegotiationPolicyArgs, opts ...pulumi.ResourceOption) (*SslNegotiationPolicy, error)
NewSslNegotiationPolicy registers a new resource with the given unique name, arguments, and options.
func (*SslNegotiationPolicy) ElementType ¶
func (*SslNegotiationPolicy) ElementType() reflect.Type
func (*SslNegotiationPolicy) ToSslNegotiationPolicyOutput ¶
func (i *SslNegotiationPolicy) ToSslNegotiationPolicyOutput() SslNegotiationPolicyOutput
func (*SslNegotiationPolicy) ToSslNegotiationPolicyOutputWithContext ¶
func (i *SslNegotiationPolicy) ToSslNegotiationPolicyOutputWithContext(ctx context.Context) SslNegotiationPolicyOutput
type SslNegotiationPolicyArgs ¶
type SslNegotiationPolicyArgs struct { // An SSL Negotiation policy attribute. Each has two properties: Attributes SslNegotiationPolicyAttributeArrayInput // The load balancer port to which the policy // should be applied. This must be an active listener on the load // balancer. LbPort pulumi.IntInput // The load balancer to which the policy // should be attached. LoadBalancer pulumi.StringInput // The name of the attribute Name pulumi.StringPtrInput }
The set of arguments for constructing a SslNegotiationPolicy resource.
func (SslNegotiationPolicyArgs) ElementType ¶
func (SslNegotiationPolicyArgs) ElementType() reflect.Type
type SslNegotiationPolicyArray ¶
type SslNegotiationPolicyArray []SslNegotiationPolicyInput
func (SslNegotiationPolicyArray) ElementType ¶
func (SslNegotiationPolicyArray) ElementType() reflect.Type
func (SslNegotiationPolicyArray) ToSslNegotiationPolicyArrayOutput ¶
func (i SslNegotiationPolicyArray) ToSslNegotiationPolicyArrayOutput() SslNegotiationPolicyArrayOutput
func (SslNegotiationPolicyArray) ToSslNegotiationPolicyArrayOutputWithContext ¶
func (i SslNegotiationPolicyArray) ToSslNegotiationPolicyArrayOutputWithContext(ctx context.Context) SslNegotiationPolicyArrayOutput
type SslNegotiationPolicyArrayInput ¶
type SslNegotiationPolicyArrayInput interface { pulumi.Input ToSslNegotiationPolicyArrayOutput() SslNegotiationPolicyArrayOutput ToSslNegotiationPolicyArrayOutputWithContext(context.Context) SslNegotiationPolicyArrayOutput }
SslNegotiationPolicyArrayInput is an input type that accepts SslNegotiationPolicyArray and SslNegotiationPolicyArrayOutput values. You can construct a concrete instance of `SslNegotiationPolicyArrayInput` via:
SslNegotiationPolicyArray{ SslNegotiationPolicyArgs{...} }
type SslNegotiationPolicyArrayOutput ¶
type SslNegotiationPolicyArrayOutput struct{ *pulumi.OutputState }
func (SslNegotiationPolicyArrayOutput) ElementType ¶
func (SslNegotiationPolicyArrayOutput) ElementType() reflect.Type
func (SslNegotiationPolicyArrayOutput) Index ¶
func (o SslNegotiationPolicyArrayOutput) Index(i pulumi.IntInput) SslNegotiationPolicyOutput
func (SslNegotiationPolicyArrayOutput) ToSslNegotiationPolicyArrayOutput ¶
func (o SslNegotiationPolicyArrayOutput) ToSslNegotiationPolicyArrayOutput() SslNegotiationPolicyArrayOutput
func (SslNegotiationPolicyArrayOutput) ToSslNegotiationPolicyArrayOutputWithContext ¶
func (o SslNegotiationPolicyArrayOutput) ToSslNegotiationPolicyArrayOutputWithContext(ctx context.Context) SslNegotiationPolicyArrayOutput
type SslNegotiationPolicyAttributeArgs ¶
type SslNegotiationPolicyAttributeArgs struct { // The name of the attribute Name pulumi.StringInput `pulumi:"name"` // The value of the attribute Value pulumi.StringInput `pulumi:"value"` }
func (SslNegotiationPolicyAttributeArgs) ElementType ¶
func (SslNegotiationPolicyAttributeArgs) ElementType() reflect.Type
func (SslNegotiationPolicyAttributeArgs) ToSslNegotiationPolicyAttributeOutput ¶
func (i SslNegotiationPolicyAttributeArgs) ToSslNegotiationPolicyAttributeOutput() SslNegotiationPolicyAttributeOutput
func (SslNegotiationPolicyAttributeArgs) ToSslNegotiationPolicyAttributeOutputWithContext ¶
func (i SslNegotiationPolicyAttributeArgs) ToSslNegotiationPolicyAttributeOutputWithContext(ctx context.Context) SslNegotiationPolicyAttributeOutput
type SslNegotiationPolicyAttributeArray ¶
type SslNegotiationPolicyAttributeArray []SslNegotiationPolicyAttributeInput
func (SslNegotiationPolicyAttributeArray) ElementType ¶
func (SslNegotiationPolicyAttributeArray) ElementType() reflect.Type
func (SslNegotiationPolicyAttributeArray) ToSslNegotiationPolicyAttributeArrayOutput ¶
func (i SslNegotiationPolicyAttributeArray) ToSslNegotiationPolicyAttributeArrayOutput() SslNegotiationPolicyAttributeArrayOutput
func (SslNegotiationPolicyAttributeArray) ToSslNegotiationPolicyAttributeArrayOutputWithContext ¶
func (i SslNegotiationPolicyAttributeArray) ToSslNegotiationPolicyAttributeArrayOutputWithContext(ctx context.Context) SslNegotiationPolicyAttributeArrayOutput
type SslNegotiationPolicyAttributeArrayInput ¶
type SslNegotiationPolicyAttributeArrayInput interface { pulumi.Input ToSslNegotiationPolicyAttributeArrayOutput() SslNegotiationPolicyAttributeArrayOutput ToSslNegotiationPolicyAttributeArrayOutputWithContext(context.Context) SslNegotiationPolicyAttributeArrayOutput }
SslNegotiationPolicyAttributeArrayInput is an input type that accepts SslNegotiationPolicyAttributeArray and SslNegotiationPolicyAttributeArrayOutput values. You can construct a concrete instance of `SslNegotiationPolicyAttributeArrayInput` via:
SslNegotiationPolicyAttributeArray{ SslNegotiationPolicyAttributeArgs{...} }
type SslNegotiationPolicyAttributeArrayOutput ¶
type SslNegotiationPolicyAttributeArrayOutput struct{ *pulumi.OutputState }
func (SslNegotiationPolicyAttributeArrayOutput) ElementType ¶
func (SslNegotiationPolicyAttributeArrayOutput) ElementType() reflect.Type
func (SslNegotiationPolicyAttributeArrayOutput) ToSslNegotiationPolicyAttributeArrayOutput ¶
func (o SslNegotiationPolicyAttributeArrayOutput) ToSslNegotiationPolicyAttributeArrayOutput() SslNegotiationPolicyAttributeArrayOutput
func (SslNegotiationPolicyAttributeArrayOutput) ToSslNegotiationPolicyAttributeArrayOutputWithContext ¶
func (o SslNegotiationPolicyAttributeArrayOutput) ToSslNegotiationPolicyAttributeArrayOutputWithContext(ctx context.Context) SslNegotiationPolicyAttributeArrayOutput
type SslNegotiationPolicyAttributeInput ¶
type SslNegotiationPolicyAttributeInput interface { pulumi.Input ToSslNegotiationPolicyAttributeOutput() SslNegotiationPolicyAttributeOutput ToSslNegotiationPolicyAttributeOutputWithContext(context.Context) SslNegotiationPolicyAttributeOutput }
SslNegotiationPolicyAttributeInput is an input type that accepts SslNegotiationPolicyAttributeArgs and SslNegotiationPolicyAttributeOutput values. You can construct a concrete instance of `SslNegotiationPolicyAttributeInput` via:
SslNegotiationPolicyAttributeArgs{...}
type SslNegotiationPolicyAttributeOutput ¶
type SslNegotiationPolicyAttributeOutput struct{ *pulumi.OutputState }
func (SslNegotiationPolicyAttributeOutput) ElementType ¶
func (SslNegotiationPolicyAttributeOutput) ElementType() reflect.Type
func (SslNegotiationPolicyAttributeOutput) Name ¶
func (o SslNegotiationPolicyAttributeOutput) Name() pulumi.StringOutput
The name of the attribute
func (SslNegotiationPolicyAttributeOutput) ToSslNegotiationPolicyAttributeOutput ¶
func (o SslNegotiationPolicyAttributeOutput) ToSslNegotiationPolicyAttributeOutput() SslNegotiationPolicyAttributeOutput
func (SslNegotiationPolicyAttributeOutput) ToSslNegotiationPolicyAttributeOutputWithContext ¶
func (o SslNegotiationPolicyAttributeOutput) ToSslNegotiationPolicyAttributeOutputWithContext(ctx context.Context) SslNegotiationPolicyAttributeOutput
func (SslNegotiationPolicyAttributeOutput) Value ¶
func (o SslNegotiationPolicyAttributeOutput) Value() pulumi.StringOutput
The value of the attribute
type SslNegotiationPolicyInput ¶
type SslNegotiationPolicyInput interface { pulumi.Input ToSslNegotiationPolicyOutput() SslNegotiationPolicyOutput ToSslNegotiationPolicyOutputWithContext(ctx context.Context) SslNegotiationPolicyOutput }
type SslNegotiationPolicyMap ¶
type SslNegotiationPolicyMap map[string]SslNegotiationPolicyInput
func (SslNegotiationPolicyMap) ElementType ¶
func (SslNegotiationPolicyMap) ElementType() reflect.Type
func (SslNegotiationPolicyMap) ToSslNegotiationPolicyMapOutput ¶
func (i SslNegotiationPolicyMap) ToSslNegotiationPolicyMapOutput() SslNegotiationPolicyMapOutput
func (SslNegotiationPolicyMap) ToSslNegotiationPolicyMapOutputWithContext ¶
func (i SslNegotiationPolicyMap) ToSslNegotiationPolicyMapOutputWithContext(ctx context.Context) SslNegotiationPolicyMapOutput
type SslNegotiationPolicyMapInput ¶
type SslNegotiationPolicyMapInput interface { pulumi.Input ToSslNegotiationPolicyMapOutput() SslNegotiationPolicyMapOutput ToSslNegotiationPolicyMapOutputWithContext(context.Context) SslNegotiationPolicyMapOutput }
SslNegotiationPolicyMapInput is an input type that accepts SslNegotiationPolicyMap and SslNegotiationPolicyMapOutput values. You can construct a concrete instance of `SslNegotiationPolicyMapInput` via:
SslNegotiationPolicyMap{ "key": SslNegotiationPolicyArgs{...} }
type SslNegotiationPolicyMapOutput ¶
type SslNegotiationPolicyMapOutput struct{ *pulumi.OutputState }
func (SslNegotiationPolicyMapOutput) ElementType ¶
func (SslNegotiationPolicyMapOutput) ElementType() reflect.Type
func (SslNegotiationPolicyMapOutput) MapIndex ¶
func (o SslNegotiationPolicyMapOutput) MapIndex(k pulumi.StringInput) SslNegotiationPolicyOutput
func (SslNegotiationPolicyMapOutput) ToSslNegotiationPolicyMapOutput ¶
func (o SslNegotiationPolicyMapOutput) ToSslNegotiationPolicyMapOutput() SslNegotiationPolicyMapOutput
func (SslNegotiationPolicyMapOutput) ToSslNegotiationPolicyMapOutputWithContext ¶
func (o SslNegotiationPolicyMapOutput) ToSslNegotiationPolicyMapOutputWithContext(ctx context.Context) SslNegotiationPolicyMapOutput
type SslNegotiationPolicyOutput ¶
type SslNegotiationPolicyOutput struct{ *pulumi.OutputState }
func (SslNegotiationPolicyOutput) ElementType ¶
func (SslNegotiationPolicyOutput) ElementType() reflect.Type
func (SslNegotiationPolicyOutput) ToSslNegotiationPolicyOutput ¶
func (o SslNegotiationPolicyOutput) ToSslNegotiationPolicyOutput() SslNegotiationPolicyOutput
func (SslNegotiationPolicyOutput) ToSslNegotiationPolicyOutputWithContext ¶
func (o SslNegotiationPolicyOutput) ToSslNegotiationPolicyOutputWithContext(ctx context.Context) SslNegotiationPolicyOutput
type SslNegotiationPolicyState ¶
type SslNegotiationPolicyState struct { // An SSL Negotiation policy attribute. Each has two properties: Attributes SslNegotiationPolicyAttributeArrayInput // The load balancer port to which the policy // should be applied. This must be an active listener on the load // balancer. LbPort pulumi.IntPtrInput // The load balancer to which the policy // should be attached. LoadBalancer pulumi.StringPtrInput // The name of the attribute Name pulumi.StringPtrInput }
func (SslNegotiationPolicyState) ElementType ¶
func (SslNegotiationPolicyState) ElementType() reflect.Type