Add-VSElasticLoadBalancingV2ListenerRuleFixedResponseConfig
Add-VSElasticLoadBalancingV2ListenerRuleFixedResponseConfig
SYNOPSIS
Adds an AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig resource property to the template. Specifies information required when returning a custom HTTP response.
SYNTAX
Add-VSElasticLoadBalancingV2ListenerRuleFixedResponseConfig [[-ContentType] <Object>] [[-MessageBody] <Object>]
[-StatusCode] <Object> [<CommonParameters>]
DESCRIPTION
Adds an AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig resource property to the template. Specifies information required when returning a custom HTTP response.
PARAMETERS
-ContentType
The content type. Valid Values: text/plain | text/css | text/html | application/javascript | application/json
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-fixedresponseconfig.html#cfn-elasticloadbalancingv2-listenerrule-fixedresponseconfig-contenttype PrimitiveType: String UpdateType: Mutable
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-MessageBody
The message.
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-fixedresponseconfig.html#cfn-elasticloadbalancingv2-listenerrule-fixedresponseconfig-messagebody PrimitiveType: String UpdateType: Mutable
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-StatusCode
The HTTP response code 2XX, 4XX, or 5XX.
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-fixedresponseconfig.html#cfn-elasticloadbalancingv2-listenerrule-fixedresponseconfig-statuscode PrimitiveType: String UpdateType: Mutable
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.