The bundle ID to use for the distribution.A distribution bundle describes the specifications of your distribution, such as the monthly cost and monthly network transfer quota.Use the GetDistributionBundles action to get a list of distribution bundle IDs that you can specify.
Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
An array of objects that describe the per-path cache behavior for the distribution. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | CacheBehaviors |
-CacheBehaviorSettings_AllowedHTTPMethod <
String>
The HTTP methods that are processed and forwarded to the distribution's origin.You can specify the following options:
- GET,HEAD - The distribution forwards the GET and HEAD methods.
- GET,HEAD,OPTIONS - The distribution forwards the GET, HEAD, and OPTIONS methods.
- GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE methods.
If you specify the third option, you might need to restrict access to your distribution's origin so users can't perform operations that you don't want them to. For example, you might not want users to have permission to delete objects from your origin.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | CacheBehaviorSettings_AllowedHTTPMethods |
-CacheBehaviorSettings_CachedHTTPMethod <
String>
The HTTP method responses that are cached by your distribution.You can specify the following options:
- GET,HEAD - The distribution caches responses to the GET and HEAD methods.
- GET,HEAD,OPTIONS - The distribution caches responses to the GET, HEAD, and OPTIONS methods.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | CacheBehaviorSettings_CachedHTTPMethods |
-CacheBehaviorSettings_DefaultTTL <Int64>
The default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated.The value specified applies only when the origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
-CacheBehaviorSettings_MaximumTTL <Int64>
The maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.The value specified applies only when the origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
-CacheBehaviorSettings_MinimumTTL <Int64>
The minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.A value of 0 must be specified for minimumTTL if the distribution is configured to forward all headers to the origin.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The name of the SSL/TLS certificate that you want to attach to the distribution.Use the
GetCertificates action to get a list of certificate names that you can specify.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Amazon.PowerShell.Cmdlets.LS.AmazonLightsailClientCmdlet.ClientConfig
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The cache behavior of the distribution.The following cache behaviors can be specified:
- cache - This option is best for static sites. When specified, your distribution caches and serves your entire website as static content. This behavior is ideal for websites with static content that doesn't change depending on who views it, or for websites that don't use cookies, headers, or query strings to personalize content.
- dont-cache - This option is best for sites that serve a mix of static and dynamic content. When specified, your distribution caches and serve only the content that is specified in the distribution's CacheBehaviorPerPath parameter. This behavior is ideal for websites or web applications that use cookies, headers, and query strings to personalize content for individual users.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The name for the distribution.
Required? | True |
Position? | 1 |
Accept pipeline input? | True (ByValue, ByPropertyName) |
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
-ForwardedCookies_CookiesAllowList <
String[]>
The specific cookies to forward to your distribution's origin. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | CacheBehaviorSettings_ForwardedCookies_CookiesAllowList |
Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | CacheBehaviorSettings_ForwardedCookies_Option |
-ForwardedHeaders_HeadersAllowList <
String[]>
The specific headers to forward to your distribution's origin. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | CacheBehaviorSettings_ForwardedHeaders_HeadersAllowList |
The headers that you want your distribution to forward to your origin and base caching on.You can configure your distribution to do one of the following:
- all - Forward all headers to your origin.
- none - Forward only the default headers.
- allow-list - Forward only the headers you specify using the headersAllowList parameter.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | CacheBehaviorSettings_ForwardedHeaders_Option |
-ForwardedQueryStrings_Option <
Boolean>
Indicates whether the distribution forwards and caches based on query strings.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | CacheBehaviorSettings_ForwardedQueryStrings_Option |
-ForwardedQueryStrings_QueryStringsAllowList <
String[]>
The specific query strings that the distribution forwards to the origin.Your distribution will cache content based on the specified query strings.If the option parameter is true, then your distribution forwards all query strings, regardless of what you specify using the queryStringsAllowList parameter. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | CacheBehaviorSettings_ForwardedQueryStrings_QueryStringsAllowList |
The IP address type for the distribution.The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.The default value is dualstack.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The name of the origin resource.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The AWS Region name of the origin resource.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
-Origin_ResponseTimeout <
Int32>
The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Use the -Select parameter to control the cmdlet output. The default value is '*'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Lightsail.Model.CreateDistributionResponse). Specifying the name of a property of type Amazon.Lightsail.Model.CreateDistributionResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The tag keys and optional values to add to the distribution during create.Use the TagResource action to tag a resource after it's created. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Tags |
The minimum TLS protocol version for the SSL/TLS certificate.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |