BucketWebsiteConfigurationState class
Input properties used for looking up and filtering BucketWebsiteConfiguration resources.
Constructors
-
BucketWebsiteConfigurationState({Input<
String?> ? bucket, Input<BucketWebsiteConfigurationErrorDocument?> ? errorDocument, Input<String?> ? expectedBucketOwner, Input<BucketWebsiteConfigurationIndexDocument?> ? indexDocument, Input<BucketWebsiteConfigurationRedirectAllRequestsTo?> ? redirectAllRequestsTo, Input<String?> ? region, Input<String?> ? routingRuleDetails, Input<List< ? routingRules, Input<BucketWebsiteConfigurationRoutingRule> ?>String?> ? websiteDomain, Input<String?> ? websiteEndpoint}) -
Creates a new BucketWebsiteConfigurationState.
bucketName of the bucket.errorDocumentName of the error document for the website. See below.expectedBucketOwnerAccount ID of the expected bucket owner.indexDocumentName of the index document for the website. See below.redirectAllRequestsToRedirect behavior for every request to this bucket's website endpoint. See below. Conflicts witherrorDocument,indexDocument, androutingRule.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.routingRuleDetailsJSON array containing routing rules describing redirect behavior and when redirects are applied. Use this parameter when your routing rules contain empty String values ("") as seen in the example above.routingRulesList of rules that define when a redirect is applied and the redirect behavior. See below.websiteDomainDomain of the website endpoint. This is used to create Route 53 alias records.websiteEndpointWebsite endpoint.const -
BucketWebsiteConfigurationState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
bucket
→ Input<
String?> ? -
Name of the bucket.
final
-
errorDocument
→ Input<
BucketWebsiteConfigurationErrorDocument?> ? -
Name of the error document for the website. See below.
final
-
expectedBucketOwner
→ Input<
String?> ? -
Account ID of the expected bucket owner.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
indexDocument
→ Input<
BucketWebsiteConfigurationIndexDocument?> ? -
Name of the index document for the website. See below.
final
-
redirectAllRequestsTo
→ Input<
BucketWebsiteConfigurationRedirectAllRequestsTo?> ? -
Redirect behavior for every request to this bucket's website endpoint. See below. Conflicts with
errorDocument,indexDocument, androutingRule.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
routingRuleDetails
→ Input<
String?> ? -
JSON array containing routing rules describing redirect behavior and when redirects are applied. Use this parameter when your routing rules contain empty String values (
"") as seen in the example above.final -
routingRules
→ Input<
List< ?BucketWebsiteConfigurationRoutingRule> ?> -
List of rules that define when a redirect is applied and the redirect behavior. See below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
websiteDomain
→ Input<
String?> ? -
Domain of the website endpoint. This is used to create Route 53 alias records.
final
-
websiteEndpoint
→ Input<
String?> ? -
Website endpoint.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited