Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ContinuousDeploymentSingleHeaderConfig = ContinuousDeploymentSingleHeaderConfig' {}
- newContinuousDeploymentSingleHeaderConfig :: Text -> Text -> ContinuousDeploymentSingleHeaderConfig
- continuousDeploymentSingleHeaderConfig_header :: Lens' ContinuousDeploymentSingleHeaderConfig Text
- continuousDeploymentSingleHeaderConfig_value :: Lens' ContinuousDeploymentSingleHeaderConfig Text
Documentation
data ContinuousDeploymentSingleHeaderConfig Source #
This configuration determines which HTTP requests are sent to the staging distribution. If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution.
See: newContinuousDeploymentSingleHeaderConfig
smart constructor.
Instances
newContinuousDeploymentSingleHeaderConfig Source #
Create a value of ContinuousDeploymentSingleHeaderConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:header:ContinuousDeploymentSingleHeaderConfig'
, continuousDeploymentSingleHeaderConfig_header
- The request header name that you want CloudFront to send to your staging
distribution. The header must contain the prefix aws-cf-cd-
.
$sel:value:ContinuousDeploymentSingleHeaderConfig'
, continuousDeploymentSingleHeaderConfig_value
- The request header value.
continuousDeploymentSingleHeaderConfig_header :: Lens' ContinuousDeploymentSingleHeaderConfig Text Source #
The request header name that you want CloudFront to send to your staging
distribution. The header must contain the prefix aws-cf-cd-
.
continuousDeploymentSingleHeaderConfig_value :: Lens' ContinuousDeploymentSingleHeaderConfig Text Source #
The request header value.