BucketWebsiteConfigurationV2Args class
The set of arguments for BucketWebsiteConfigurationV2. The set of arguments for BucketWebsiteConfigurationV2.
Constructors
-
BucketWebsiteConfigurationV2Args({required Input<
String> bucket, Input<BucketWebsiteConfigurationV2ErrorDocument?> ? errorDocument, Input<String?> ? expectedBucketOwner, Input<BucketWebsiteConfigurationV2IndexDocument?> ? indexDocument, Input<BucketWebsiteConfigurationV2RedirectAllRequestsTo?> ? redirectAllRequestsTo, Input<String?> ? region, Input<String?> ? routingRuleDetails, Input<List< ? routingRules})BucketWebsiteConfigurationV2RoutingRule> ?> -
Creates a new BucketWebsiteConfigurationV2Args.
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.const -
BucketWebsiteConfigurationV2Args.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
bucket
→ Input<
String> -
Name of the bucket.
final
-
errorDocument
→ Input<
BucketWebsiteConfigurationV2ErrorDocument?> ? -
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<
BucketWebsiteConfigurationV2IndexDocument?> ? -
Name of the index document for the website. See below.
final
-
redirectAllRequestsTo
→ Input<
BucketWebsiteConfigurationV2RedirectAllRequestsTo?> ? -
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< ?BucketWebsiteConfigurationV2RoutingRule> ?> -
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
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