@pulumi/aws 7.0.0-alpha.1 → 7.0.0-alpha.1752855061
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessanalyzer/analyzer.d.ts +54 -7
- package/accessanalyzer/analyzer.js +48 -1
- package/accessanalyzer/analyzer.js.map +1 -1
- package/amp/index.d.ts +3 -0
- package/amp/index.js +6 -1
- package/amp/index.js.map +1 -1
- package/amp/queryLoggingConfiguration.d.ts +107 -0
- package/amp/queryLoggingConfiguration.js +82 -0
- package/amp/queryLoggingConfiguration.js.map +1 -0
- package/amplify/app.d.ts +26 -0
- package/amplify/app.js +16 -0
- package/amplify/app.js.map +1 -1
- package/amplify/branch.d.ts +12 -0
- package/amplify/branch.js +2 -0
- package/amplify/branch.js.map +1 -1
- package/bedrock/agentAgent.d.ts +2 -2
- package/bedrock/agentAgent.js +2 -2
- package/bedrock/agentAgentCollaborator.d.ts +4 -4
- package/bedrock/agentAgentCollaborator.js +4 -4
- package/cloudfront/distribution.d.ts +12 -0
- package/cloudfront/distribution.js +2 -0
- package/cloudfront/distribution.js.map +1 -1
- package/cloudfront/getDistribution.d.ts +4 -0
- package/cloudfront/getDistribution.js.map +1 -1
- package/cloudtrail/trail.d.ts +2 -2
- package/cloudtrail/trail.js +2 -2
- package/cloudwatch/eventArchive.d.ts +91 -15
- package/cloudwatch/eventArchive.js +67 -1
- package/cloudwatch/eventArchive.js.map +1 -1
- package/cloudwatch/logGroup.d.ts +6 -6
- package/codeartifact/domainPermissions.d.ts +1 -1
- package/codeartifact/domainPermissions.js +0 -3
- package/codeartifact/domainPermissions.js.map +1 -1
- package/connect/botAssociation.d.ts +1 -1
- package/connect/botAssociation.js +1 -1
- package/controltower/controlTowerControl.d.ts +1 -1
- package/controltower/controlTowerControl.js +1 -1
- package/cur/reportDefinition.d.ts +3 -3
- package/datasync/agent.d.ts +1 -1
- package/datasync/agent.js +1 -1
- package/dynamodb/table.d.ts +36 -1
- package/dynamodb/table.js +36 -1
- package/dynamodb/table.js.map +1 -1
- package/dynamodb/tag.d.ts +1 -1
- package/dynamodb/tag.js +1 -1
- package/ec2/getManagedPrefixList.d.ts +2 -2
- package/ec2/getManagedPrefixList.js +2 -2
- package/ec2/securityGroupRule.d.ts +1 -1
- package/ec2/securityGroupRule.js +1 -1
- package/ec2/vpc.d.ts +2 -2
- package/ec2/vpc.js +2 -2
- package/ec2/vpcIpam.d.ts +1 -1
- package/ec2/vpcIpam.js +1 -1
- package/ec2/vpcIpamPool.d.ts +4 -4
- package/ec2/vpcIpamPool.js +4 -4
- package/ec2/vpcIpamPoolCidr.d.ts +3 -3
- package/ec2/vpcIpamPoolCidr.js +3 -3
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +4 -4
- package/ec2/vpcIpamPoolCidrAllocation.js +4 -4
- package/ec2/vpcIpamPreviewNextCidr.d.ts +2 -2
- package/ec2/vpcIpamPreviewNextCidr.js +2 -2
- package/ec2/vpcIpamResourceDiscovery.d.ts +1 -1
- package/ec2/vpcIpamResourceDiscovery.js +1 -1
- package/ec2/vpcIpamScope.d.ts +1 -1
- package/ec2/vpcIpamScope.js +1 -1
- package/ecr/index.d.ts +1 -0
- package/ecr/index.js +1 -0
- package/ecr/index.js.map +1 -1
- package/ecr/lifecyclePolicyDocument.d.ts +5 -0
- package/ecr/lifecyclePolicyDocument.js +3 -0
- package/ecr/lifecyclePolicyDocument.js.map +1 -0
- package/ecr/registryPolicy.d.ts +1 -1
- package/ecr/registryPolicy.js +1 -1
- package/eks/cluster.d.ts +2 -4
- package/eks/cluster.js +0 -2
- package/eks/cluster.js.map +1 -1
- package/eks/podIdentityAssociation.d.ts +32 -0
- package/eks/podIdentityAssociation.js +6 -0
- package/eks/podIdentityAssociation.js.map +1 -1
- package/elasticsearch/domain.d.ts +2 -2
- package/elasticsearch/domain.js +2 -2
- package/emr/cluster.d.ts +12 -0
- package/emr/cluster.js +2 -0
- package/emr/cluster.js.map +1 -1
- package/fms/policy.d.ts +12 -0
- package/fms/policy.js +2 -0
- package/fms/policy.js.map +1 -1
- package/getRegion.d.ts +2 -2
- package/getService.d.ts +2 -2
- package/getService.js +2 -2
- package/glue/job.d.ts +12 -0
- package/glue/job.js +2 -0
- package/glue/job.js.map +1 -1
- package/glue/resourcePolicy.d.ts +1 -1
- package/glue/resourcePolicy.js +1 -1
- package/guardduty/detectorFeature.d.ts +21 -0
- package/guardduty/detectorFeature.js +21 -0
- package/guardduty/detectorFeature.js.map +1 -1
- package/guardduty/memberDetectorFeature.d.ts +1 -11
- package/guardduty/memberDetectorFeature.js +1 -11
- package/guardduty/memberDetectorFeature.js.map +1 -1
- package/guardduty/publishingDestination.d.ts +2 -2
- package/guardduty/publishingDestination.js +2 -2
- package/iam/documents.d.ts +5 -0
- package/iam/rolePolicy.d.ts +21 -15
- package/iam/rolePolicy.js.map +1 -1
- package/imagebuilder/imageRecipe.d.ts +1 -1
- package/imagebuilder/imageRecipe.js +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +1 -1
- package/kinesis/firehoseDeliveryStream.js +1 -1
- package/kinesis/getStreamConsumer.d.ts +9 -0
- package/kinesis/getStreamConsumer.js +2 -0
- package/kinesis/getStreamConsumer.js.map +1 -1
- package/kinesis/streamConsumer.d.ts +15 -0
- package/kinesis/streamConsumer.js +4 -0
- package/kinesis/streamConsumer.js.map +1 -1
- package/kms/getKey.d.ts +1 -1
- package/kms/key.d.ts +3 -3
- package/lightsail/instancePublicPorts.d.ts +6 -6
- package/macie/findingsFilter.d.ts +1 -1
- package/macie/findingsFilter.js +1 -1
- package/mediastore/containerPolicy.d.ts +1 -1
- package/mediastore/containerPolicy.js +1 -1
- package/networkfirewall/firewallPolicy.d.ts +51 -2
- package/networkfirewall/firewallPolicy.js +51 -2
- package/networkfirewall/firewallPolicy.js.map +1 -1
- package/networkmanager/dxGatewayAttachment.d.ts +1 -1
- package/networkmanager/dxGatewayAttachment.js +1 -1
- package/opensearch/domain.d.ts +2 -2
- package/opensearch/domain.js +2 -2
- package/opensearch/inboundConnectionAccepter.d.ts +2 -2
- package/opensearch/inboundConnectionAccepter.js +2 -2
- package/opensearch/outboundConnection.d.ts +2 -2
- package/opensearch/outboundConnection.js +2 -2
- package/opensearchingest/pipeline.d.ts +1 -1
- package/opensearchingest/pipeline.js +1 -1
- package/package.json +2 -2
- package/quicksight/dataSource.d.ts +1 -1
- package/quicksight/dataSource.js +1 -1
- package/rbin/rule.d.ts +52 -17
- package/rbin/rule.js +26 -1
- package/rbin/rule.js.map +1 -1
- package/route53/getTrafficPolicyDocument.d.ts +4 -4
- package/route53/getTrafficPolicyDocument.js +4 -4
- package/route53/profilesResourceAssociation.d.ts +1 -1
- package/s3/bucket.d.ts +5 -4
- package/s3/bucketAccelerateConfiguration.js +1 -1
- package/s3/bucketAccelerateConfiguration.js.map +1 -1
- package/s3/bucketAccelerateConfigurationV2.d.ts +122 -0
- package/s3/bucketAccelerateConfigurationV2.js +103 -0
- package/s3/bucketAccelerateConfigurationV2.js.map +1 -0
- package/s3/bucketAcl.js +1 -1
- package/s3/bucketAcl.js.map +1 -1
- package/s3/bucketAclV2.d.ts +241 -0
- package/s3/bucketAclV2.js +207 -0
- package/s3/bucketAclV2.js.map +1 -0
- package/s3/bucketCorsConfiguration.js +1 -1
- package/s3/bucketCorsConfiguration.js.map +1 -1
- package/s3/bucketCorsConfigurationV2.d.ts +141 -0
- package/s3/bucketCorsConfigurationV2.js +120 -0
- package/s3/bucketCorsConfigurationV2.js.map +1 -0
- package/s3/bucketLifecycleConfiguration.js +1 -1
- package/s3/bucketLifecycleConfiguration.js.map +1 -1
- package/s3/bucketLifecycleConfigurationV2.d.ts +437 -0
- package/s3/bucketLifecycleConfigurationV2.js +402 -0
- package/s3/bucketLifecycleConfigurationV2.js.map +1 -0
- package/s3/bucketLogging.js +1 -1
- package/s3/bucketLogging.js.map +1 -1
- package/s3/bucketLoggingV2.d.ts +174 -0
- package/s3/bucketLoggingV2.js +126 -0
- package/s3/bucketLoggingV2.js.map +1 -0
- package/s3/bucketObjectLockConfiguration.js +1 -1
- package/s3/bucketObjectLockConfiguration.js.map +1 -1
- package/s3/bucketObjectLockConfigurationV2.d.ts +164 -0
- package/s3/bucketObjectLockConfigurationV2.js +119 -0
- package/s3/bucketObjectLockConfigurationV2.js.map +1 -0
- package/s3/bucketPolicy.d.ts +2 -0
- package/s3/bucketPolicy.js +2 -0
- package/s3/bucketPolicy.js.map +1 -1
- package/s3/bucketRequestPaymentConfiguration.js +1 -1
- package/s3/bucketRequestPaymentConfiguration.js.map +1 -1
- package/s3/bucketRequestPaymentConfigurationV2.d.ts +123 -0
- package/s3/bucketRequestPaymentConfigurationV2.js +104 -0
- package/s3/bucketRequestPaymentConfigurationV2.js.map +1 -0
- package/s3/bucketServerSideEncryptionConfiguration.js +1 -1
- package/s3/bucketServerSideEncryptionConfiguration.js.map +1 -1
- package/s3/bucketServerSideEncryptionConfigurationV2.d.ts +133 -0
- package/s3/bucketServerSideEncryptionConfigurationV2.js +112 -0
- package/s3/bucketServerSideEncryptionConfigurationV2.js.map +1 -0
- package/s3/bucketV2.d.ts +518 -0
- package/s3/bucketV2.js +138 -0
- package/s3/bucketV2.js.map +1 -0
- package/s3/bucketVersioning.js +1 -1
- package/s3/bucketVersioning.js.map +1 -1
- package/s3/bucketVersioningV2.d.ts +195 -0
- package/s3/bucketVersioningV2.js +164 -0
- package/s3/bucketVersioningV2.js.map +1 -0
- package/s3/bucketWebsiteConfiguration.js +1 -1
- package/s3/bucketWebsiteConfiguration.js.map +1 -1
- package/s3/bucketWebsiteConfigurationV2.d.ts +231 -0
- package/s3/bucketWebsiteConfigurationV2.js +152 -0
- package/s3/bucketWebsiteConfigurationV2.js.map +1 -0
- package/s3/directoryBucket.d.ts +30 -0
- package/s3/directoryBucket.js +4 -0
- package/s3/directoryBucket.js.map +1 -1
- package/s3/index.d.ts +33 -0
- package/s3/index.js +57 -1
- package/s3/index.js.map +1 -1
- package/s3tables/table.d.ts +62 -0
- package/s3tables/table.js +49 -0
- package/s3tables/table.js.map +1 -1
- package/sagemaker/flowDefinition.d.ts +1 -1
- package/sagemaker/flowDefinition.js +1 -1
- package/securityhub/productSubscription.d.ts +1 -1
- package/securityhub/productSubscription.js +1 -1
- package/securityhub/standardsSubscription.d.ts +1 -1
- package/securityhub/standardsSubscription.js +1 -1
- package/serverlessrepository/cloudFormationStack.d.ts +1 -1
- package/serverlessrepository/cloudFormationStack.js +1 -1
- package/shield/drtAccessLogBucketAssociation.d.ts +1 -1
- package/shield/drtAccessLogBucketAssociation.js +1 -1
- package/shield/protection.d.ts +1 -1
- package/shield/protection.js +1 -1
- package/shield/protectionGroup.d.ts +2 -2
- package/shield/protectionGroup.js +2 -2
- package/shield/protectionHealthCheckAssociation.d.ts +1 -1
- package/shield/protectionHealthCheckAssociation.js +1 -1
- package/ssm/parameter.d.ts +1 -1
- package/ssm/quicksetupConfigurationManager.d.ts +2 -2
- package/ssm/quicksetupConfigurationManager.js +2 -2
- package/ssoadmin/applicationAccessScope.d.ts +1 -1
- package/ssoadmin/applicationAccessScope.js +1 -1
- package/ssoadmin/applicationAssignment.d.ts +2 -2
- package/ssoadmin/applicationAssignment.js +2 -2
- package/ssoadmin/applicationAssignmentConfiguration.d.ts +1 -1
- package/ssoadmin/applicationAssignmentConfiguration.js +1 -1
- package/ssoadmin/getApplicationAssignments.d.ts +2 -2
- package/ssoadmin/getApplicationAssignments.js +2 -2
- package/types/enums/index.d.ts +1 -0
- package/types/enums/index.js +1 -0
- package/types/enums/index.js.map +1 -1
- package/types/input.d.ts +977 -34
- package/types/input.js +1 -20
- package/types/input.js.map +1 -1
- package/types/output.d.ts +971 -35
- package/types/output.js +1 -20
- package/types/output.js.map +1 -1
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides an S3 bucket website configuration resource. For more information, see [Hosting Websites on S3](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html).
|
|
6
|
+
*
|
|
7
|
+
* > This resource cannot be used with S3 directory buckets.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### With `routingRule` configured
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = new aws.s3.BucketWebsiteConfiguration("example", {
|
|
18
|
+
* bucket: exampleAwsS3Bucket.id,
|
|
19
|
+
* indexDocument: {
|
|
20
|
+
* suffix: "index.html",
|
|
21
|
+
* },
|
|
22
|
+
* errorDocument: {
|
|
23
|
+
* key: "error.html",
|
|
24
|
+
* },
|
|
25
|
+
* routingRules: [{
|
|
26
|
+
* condition: {
|
|
27
|
+
* keyPrefixEquals: "docs/",
|
|
28
|
+
* },
|
|
29
|
+
* redirect: {
|
|
30
|
+
* replaceKeyPrefixWith: "documents/",
|
|
31
|
+
* },
|
|
32
|
+
* }],
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ### With `routingRules` configured
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as aws from "@pulumi/aws";
|
|
41
|
+
*
|
|
42
|
+
* const example = new aws.s3.BucketWebsiteConfiguration("example", {
|
|
43
|
+
* bucket: exampleAwsS3Bucket.id,
|
|
44
|
+
* indexDocument: {
|
|
45
|
+
* suffix: "index.html",
|
|
46
|
+
* },
|
|
47
|
+
* errorDocument: {
|
|
48
|
+
* key: "error.html",
|
|
49
|
+
* },
|
|
50
|
+
* routingRuleDetails: `[{
|
|
51
|
+
* "Condition": {
|
|
52
|
+
* "KeyPrefixEquals": "docs/"
|
|
53
|
+
* },
|
|
54
|
+
* "Redirect": {
|
|
55
|
+
* "ReplaceKeyPrefixWith": ""
|
|
56
|
+
* }
|
|
57
|
+
* }]
|
|
58
|
+
* `,
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* ## Import
|
|
63
|
+
*
|
|
64
|
+
* If the owner (account ID) of the source bucket differs from the account used to configure the AWS Provider, import using the `bucket` and `expected_bucket_owner` separated by a comma (`,`):
|
|
65
|
+
*
|
|
66
|
+
* __Using `pulumi import` to import__ S3 bucket website configuration using the `bucket` or using the `bucket` and `expected_bucket_owner` separated by a comma (`,`). For example:
|
|
67
|
+
*
|
|
68
|
+
* If the owner (account ID) of the source bucket is the same account used to configure the AWS Provider, import using the `bucket`:
|
|
69
|
+
*
|
|
70
|
+
* ```sh
|
|
71
|
+
* $ pulumi import aws:s3/bucketWebsiteConfigurationV2:BucketWebsiteConfigurationV2 example bucket-name
|
|
72
|
+
* ```
|
|
73
|
+
* If the owner (account ID) of the source bucket differs from the account used to configure the AWS Provider, import using the `bucket` and `expected_bucket_owner` separated by a comma (`,`):
|
|
74
|
+
*
|
|
75
|
+
* ```sh
|
|
76
|
+
* $ pulumi import aws:s3/bucketWebsiteConfigurationV2:BucketWebsiteConfigurationV2 example bucket-name,123456789012
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @deprecated aws.s3/bucketwebsiteconfigurationv2.BucketWebsiteConfigurationV2 has been deprecated in favor of aws.s3/bucketwebsiteconfiguration.BucketWebsiteConfiguration
|
|
80
|
+
*/
|
|
81
|
+
export declare class BucketWebsiteConfigurationV2 extends pulumi.CustomResource {
|
|
82
|
+
/**
|
|
83
|
+
* Get an existing BucketWebsiteConfigurationV2 resource's state with the given name, ID, and optional extra
|
|
84
|
+
* properties used to qualify the lookup.
|
|
85
|
+
*
|
|
86
|
+
* @param name The _unique_ name of the resulting resource.
|
|
87
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
88
|
+
* @param state Any extra arguments used during the lookup.
|
|
89
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
90
|
+
*/
|
|
91
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BucketWebsiteConfigurationV2State, opts?: pulumi.CustomResourceOptions): BucketWebsiteConfigurationV2;
|
|
92
|
+
/**
|
|
93
|
+
* Returns true if the given object is an instance of BucketWebsiteConfigurationV2. This is designed to work even
|
|
94
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
95
|
+
*/
|
|
96
|
+
static isInstance(obj: any): obj is BucketWebsiteConfigurationV2;
|
|
97
|
+
/**
|
|
98
|
+
* Name of the bucket.
|
|
99
|
+
*/
|
|
100
|
+
readonly bucket: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Name of the error document for the website. See below.
|
|
103
|
+
*/
|
|
104
|
+
readonly errorDocument: pulumi.Output<outputs.s3.BucketWebsiteConfigurationV2ErrorDocument | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Account ID of the expected bucket owner.
|
|
107
|
+
*/
|
|
108
|
+
readonly expectedBucketOwner: pulumi.Output<string | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* Name of the index document for the website. See below.
|
|
111
|
+
*/
|
|
112
|
+
readonly indexDocument: pulumi.Output<outputs.s3.BucketWebsiteConfigurationV2IndexDocument | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* Redirect behavior for every request to this bucket's website endpoint. See below. Conflicts with `errorDocument`, `indexDocument`, and `routingRule`.
|
|
115
|
+
*/
|
|
116
|
+
readonly redirectAllRequestsTo: pulumi.Output<outputs.s3.BucketWebsiteConfigurationV2RedirectAllRequestsTo | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
119
|
+
*/
|
|
120
|
+
readonly region: pulumi.Output<string>;
|
|
121
|
+
/**
|
|
122
|
+
* JSON array containing [routing rules](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules.html)
|
|
123
|
+
* 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.
|
|
124
|
+
*/
|
|
125
|
+
readonly routingRuleDetails: pulumi.Output<string>;
|
|
126
|
+
/**
|
|
127
|
+
* List of rules that define when a redirect is applied and the redirect behavior. See below.
|
|
128
|
+
*/
|
|
129
|
+
readonly routingRules: pulumi.Output<outputs.s3.BucketWebsiteConfigurationV2RoutingRule[]>;
|
|
130
|
+
/**
|
|
131
|
+
* Domain of the website endpoint. This is used to create Route 53 alias records.
|
|
132
|
+
*/
|
|
133
|
+
readonly websiteDomain: pulumi.Output<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Website endpoint.
|
|
136
|
+
*/
|
|
137
|
+
readonly websiteEndpoint: pulumi.Output<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Create a BucketWebsiteConfigurationV2 resource with the given unique name, arguments, and options.
|
|
140
|
+
*
|
|
141
|
+
* @param name The _unique_ name of the resource.
|
|
142
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
143
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
144
|
+
*/
|
|
145
|
+
/** @deprecated aws.s3/bucketwebsiteconfigurationv2.BucketWebsiteConfigurationV2 has been deprecated in favor of aws.s3/bucketwebsiteconfiguration.BucketWebsiteConfiguration */
|
|
146
|
+
constructor(name: string, args: BucketWebsiteConfigurationV2Args, opts?: pulumi.CustomResourceOptions);
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Input properties used for looking up and filtering BucketWebsiteConfigurationV2 resources.
|
|
150
|
+
*/
|
|
151
|
+
export interface BucketWebsiteConfigurationV2State {
|
|
152
|
+
/**
|
|
153
|
+
* Name of the bucket.
|
|
154
|
+
*/
|
|
155
|
+
bucket?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* Name of the error document for the website. See below.
|
|
158
|
+
*/
|
|
159
|
+
errorDocument?: pulumi.Input<inputs.s3.BucketWebsiteConfigurationV2ErrorDocument>;
|
|
160
|
+
/**
|
|
161
|
+
* Account ID of the expected bucket owner.
|
|
162
|
+
*/
|
|
163
|
+
expectedBucketOwner?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Name of the index document for the website. See below.
|
|
166
|
+
*/
|
|
167
|
+
indexDocument?: pulumi.Input<inputs.s3.BucketWebsiteConfigurationV2IndexDocument>;
|
|
168
|
+
/**
|
|
169
|
+
* Redirect behavior for every request to this bucket's website endpoint. See below. Conflicts with `errorDocument`, `indexDocument`, and `routingRule`.
|
|
170
|
+
*/
|
|
171
|
+
redirectAllRequestsTo?: pulumi.Input<inputs.s3.BucketWebsiteConfigurationV2RedirectAllRequestsTo>;
|
|
172
|
+
/**
|
|
173
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
174
|
+
*/
|
|
175
|
+
region?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* JSON array containing [routing rules](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules.html)
|
|
178
|
+
* 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.
|
|
179
|
+
*/
|
|
180
|
+
routingRuleDetails?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* List of rules that define when a redirect is applied and the redirect behavior. See below.
|
|
183
|
+
*/
|
|
184
|
+
routingRules?: pulumi.Input<pulumi.Input<inputs.s3.BucketWebsiteConfigurationV2RoutingRule>[]>;
|
|
185
|
+
/**
|
|
186
|
+
* Domain of the website endpoint. This is used to create Route 53 alias records.
|
|
187
|
+
*/
|
|
188
|
+
websiteDomain?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Website endpoint.
|
|
191
|
+
*/
|
|
192
|
+
websiteEndpoint?: pulumi.Input<string>;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* The set of arguments for constructing a BucketWebsiteConfigurationV2 resource.
|
|
196
|
+
*/
|
|
197
|
+
export interface BucketWebsiteConfigurationV2Args {
|
|
198
|
+
/**
|
|
199
|
+
* Name of the bucket.
|
|
200
|
+
*/
|
|
201
|
+
bucket: pulumi.Input<string>;
|
|
202
|
+
/**
|
|
203
|
+
* Name of the error document for the website. See below.
|
|
204
|
+
*/
|
|
205
|
+
errorDocument?: pulumi.Input<inputs.s3.BucketWebsiteConfigurationV2ErrorDocument>;
|
|
206
|
+
/**
|
|
207
|
+
* Account ID of the expected bucket owner.
|
|
208
|
+
*/
|
|
209
|
+
expectedBucketOwner?: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* Name of the index document for the website. See below.
|
|
212
|
+
*/
|
|
213
|
+
indexDocument?: pulumi.Input<inputs.s3.BucketWebsiteConfigurationV2IndexDocument>;
|
|
214
|
+
/**
|
|
215
|
+
* Redirect behavior for every request to this bucket's website endpoint. See below. Conflicts with `errorDocument`, `indexDocument`, and `routingRule`.
|
|
216
|
+
*/
|
|
217
|
+
redirectAllRequestsTo?: pulumi.Input<inputs.s3.BucketWebsiteConfigurationV2RedirectAllRequestsTo>;
|
|
218
|
+
/**
|
|
219
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
220
|
+
*/
|
|
221
|
+
region?: pulumi.Input<string>;
|
|
222
|
+
/**
|
|
223
|
+
* JSON array containing [routing rules](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules.html)
|
|
224
|
+
* 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.
|
|
225
|
+
*/
|
|
226
|
+
routingRuleDetails?: pulumi.Input<string>;
|
|
227
|
+
/**
|
|
228
|
+
* List of rules that define when a redirect is applied and the redirect behavior. See below.
|
|
229
|
+
*/
|
|
230
|
+
routingRules?: pulumi.Input<pulumi.Input<inputs.s3.BucketWebsiteConfigurationV2RoutingRule>[]>;
|
|
231
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.BucketWebsiteConfigurationV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an S3 bucket website configuration resource. For more information, see [Hosting Websites on S3](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html).
|
|
10
|
+
*
|
|
11
|
+
* > This resource cannot be used with S3 directory buckets.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### With `routingRule` configured
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as aws from "@pulumi/aws";
|
|
20
|
+
*
|
|
21
|
+
* const example = new aws.s3.BucketWebsiteConfiguration("example", {
|
|
22
|
+
* bucket: exampleAwsS3Bucket.id,
|
|
23
|
+
* indexDocument: {
|
|
24
|
+
* suffix: "index.html",
|
|
25
|
+
* },
|
|
26
|
+
* errorDocument: {
|
|
27
|
+
* key: "error.html",
|
|
28
|
+
* },
|
|
29
|
+
* routingRules: [{
|
|
30
|
+
* condition: {
|
|
31
|
+
* keyPrefixEquals: "docs/",
|
|
32
|
+
* },
|
|
33
|
+
* redirect: {
|
|
34
|
+
* replaceKeyPrefixWith: "documents/",
|
|
35
|
+
* },
|
|
36
|
+
* }],
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* ### With `routingRules` configured
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as aws from "@pulumi/aws";
|
|
45
|
+
*
|
|
46
|
+
* const example = new aws.s3.BucketWebsiteConfiguration("example", {
|
|
47
|
+
* bucket: exampleAwsS3Bucket.id,
|
|
48
|
+
* indexDocument: {
|
|
49
|
+
* suffix: "index.html",
|
|
50
|
+
* },
|
|
51
|
+
* errorDocument: {
|
|
52
|
+
* key: "error.html",
|
|
53
|
+
* },
|
|
54
|
+
* routingRuleDetails: `[{
|
|
55
|
+
* "Condition": {
|
|
56
|
+
* "KeyPrefixEquals": "docs/"
|
|
57
|
+
* },
|
|
58
|
+
* "Redirect": {
|
|
59
|
+
* "ReplaceKeyPrefixWith": ""
|
|
60
|
+
* }
|
|
61
|
+
* }]
|
|
62
|
+
* `,
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* ## Import
|
|
67
|
+
*
|
|
68
|
+
* If the owner (account ID) of the source bucket differs from the account used to configure the AWS Provider, import using the `bucket` and `expected_bucket_owner` separated by a comma (`,`):
|
|
69
|
+
*
|
|
70
|
+
* __Using `pulumi import` to import__ S3 bucket website configuration using the `bucket` or using the `bucket` and `expected_bucket_owner` separated by a comma (`,`). For example:
|
|
71
|
+
*
|
|
72
|
+
* If the owner (account ID) of the source bucket is the same account used to configure the AWS Provider, import using the `bucket`:
|
|
73
|
+
*
|
|
74
|
+
* ```sh
|
|
75
|
+
* $ pulumi import aws:s3/bucketWebsiteConfigurationV2:BucketWebsiteConfigurationV2 example bucket-name
|
|
76
|
+
* ```
|
|
77
|
+
* If the owner (account ID) of the source bucket differs from the account used to configure the AWS Provider, import using the `bucket` and `expected_bucket_owner` separated by a comma (`,`):
|
|
78
|
+
*
|
|
79
|
+
* ```sh
|
|
80
|
+
* $ pulumi import aws:s3/bucketWebsiteConfigurationV2:BucketWebsiteConfigurationV2 example bucket-name,123456789012
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* @deprecated aws.s3/bucketwebsiteconfigurationv2.BucketWebsiteConfigurationV2 has been deprecated in favor of aws.s3/bucketwebsiteconfiguration.BucketWebsiteConfiguration
|
|
84
|
+
*/
|
|
85
|
+
class BucketWebsiteConfigurationV2 extends pulumi.CustomResource {
|
|
86
|
+
/**
|
|
87
|
+
* Get an existing BucketWebsiteConfigurationV2 resource's state with the given name, ID, and optional extra
|
|
88
|
+
* properties used to qualify the lookup.
|
|
89
|
+
*
|
|
90
|
+
* @param name The _unique_ name of the resulting resource.
|
|
91
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
92
|
+
* @param state Any extra arguments used during the lookup.
|
|
93
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
94
|
+
*/
|
|
95
|
+
static get(name, id, state, opts) {
|
|
96
|
+
pulumi.log.warn("BucketWebsiteConfigurationV2 is deprecated: aws.s3/bucketwebsiteconfigurationv2.BucketWebsiteConfigurationV2 has been deprecated in favor of aws.s3/bucketwebsiteconfiguration.BucketWebsiteConfiguration");
|
|
97
|
+
return new BucketWebsiteConfigurationV2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Returns true if the given object is an instance of BucketWebsiteConfigurationV2. This is designed to work even
|
|
101
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
102
|
+
*/
|
|
103
|
+
static isInstance(obj) {
|
|
104
|
+
if (obj === undefined || obj === null) {
|
|
105
|
+
return false;
|
|
106
|
+
}
|
|
107
|
+
return obj['__pulumiType'] === BucketWebsiteConfigurationV2.__pulumiType;
|
|
108
|
+
}
|
|
109
|
+
/** @deprecated aws.s3/bucketwebsiteconfigurationv2.BucketWebsiteConfigurationV2 has been deprecated in favor of aws.s3/bucketwebsiteconfiguration.BucketWebsiteConfiguration */
|
|
110
|
+
constructor(name, argsOrState, opts) {
|
|
111
|
+
pulumi.log.warn("BucketWebsiteConfigurationV2 is deprecated: aws.s3/bucketwebsiteconfigurationv2.BucketWebsiteConfigurationV2 has been deprecated in favor of aws.s3/bucketwebsiteconfiguration.BucketWebsiteConfiguration");
|
|
112
|
+
let resourceInputs = {};
|
|
113
|
+
opts = opts || {};
|
|
114
|
+
if (opts.id) {
|
|
115
|
+
const state = argsOrState;
|
|
116
|
+
resourceInputs["bucket"] = state ? state.bucket : undefined;
|
|
117
|
+
resourceInputs["errorDocument"] = state ? state.errorDocument : undefined;
|
|
118
|
+
resourceInputs["expectedBucketOwner"] = state ? state.expectedBucketOwner : undefined;
|
|
119
|
+
resourceInputs["indexDocument"] = state ? state.indexDocument : undefined;
|
|
120
|
+
resourceInputs["redirectAllRequestsTo"] = state ? state.redirectAllRequestsTo : undefined;
|
|
121
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
122
|
+
resourceInputs["routingRuleDetails"] = state ? state.routingRuleDetails : undefined;
|
|
123
|
+
resourceInputs["routingRules"] = state ? state.routingRules : undefined;
|
|
124
|
+
resourceInputs["websiteDomain"] = state ? state.websiteDomain : undefined;
|
|
125
|
+
resourceInputs["websiteEndpoint"] = state ? state.websiteEndpoint : undefined;
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
const args = argsOrState;
|
|
129
|
+
if ((!args || args.bucket === undefined) && !opts.urn) {
|
|
130
|
+
throw new Error("Missing required property 'bucket'");
|
|
131
|
+
}
|
|
132
|
+
resourceInputs["bucket"] = args ? args.bucket : undefined;
|
|
133
|
+
resourceInputs["errorDocument"] = args ? args.errorDocument : undefined;
|
|
134
|
+
resourceInputs["expectedBucketOwner"] = args ? args.expectedBucketOwner : undefined;
|
|
135
|
+
resourceInputs["indexDocument"] = args ? args.indexDocument : undefined;
|
|
136
|
+
resourceInputs["redirectAllRequestsTo"] = args ? args.redirectAllRequestsTo : undefined;
|
|
137
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
138
|
+
resourceInputs["routingRuleDetails"] = args ? args.routingRuleDetails : undefined;
|
|
139
|
+
resourceInputs["routingRules"] = args ? args.routingRules : undefined;
|
|
140
|
+
resourceInputs["websiteDomain"] = undefined /*out*/;
|
|
141
|
+
resourceInputs["websiteEndpoint"] = undefined /*out*/;
|
|
142
|
+
}
|
|
143
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
144
|
+
const aliasOpts = { aliases: [{ type: "aws:s3/bucketWebsiteConfigurationV2:BucketWebsiteConfigurationV2" }] };
|
|
145
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
146
|
+
super(BucketWebsiteConfigurationV2.__pulumiType, name, resourceInputs, opts);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
exports.BucketWebsiteConfigurationV2 = BucketWebsiteConfigurationV2;
|
|
150
|
+
/** @internal */
|
|
151
|
+
BucketWebsiteConfigurationV2.__pulumiType = 'aws:s3/bucketWebsiteConfigurationV2:BucketWebsiteConfigurationV2';
|
|
152
|
+
//# sourceMappingURL=bucketWebsiteConfigurationV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucketWebsiteConfigurationV2.js","sourceRoot":"","sources":["../../s3/bucketWebsiteConfigurationV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,2MAA2M,CAAC,CAAA;QAC5N,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EA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,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,kEAAkE,EAAE,CAAC,EAAE,CAAC;QAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AArHL,oEAsHC;AAvGG,gBAAgB;AACO,yCAAY,GAAG,kEAAkE,CAAC"}
|
package/s3/directoryBucket.d.ts
CHANGED
|
@@ -83,6 +83,18 @@ export declare class DirectoryBucket extends pulumi.CustomResource {
|
|
|
83
83
|
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
84
84
|
*/
|
|
85
85
|
readonly region: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Map of tags to assign to the bucket. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
88
|
+
*/
|
|
89
|
+
readonly tags: pulumi.Output<{
|
|
90
|
+
[key: string]: string;
|
|
91
|
+
} | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
94
|
+
*/
|
|
95
|
+
readonly tagsAll: pulumi.Output<{
|
|
96
|
+
[key: string]: string;
|
|
97
|
+
}>;
|
|
86
98
|
/**
|
|
87
99
|
* Bucket type. Valid values: `Directory`.
|
|
88
100
|
*/
|
|
@@ -124,6 +136,18 @@ export interface DirectoryBucketState {
|
|
|
124
136
|
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
125
137
|
*/
|
|
126
138
|
region?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Map of tags to assign to the bucket. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
141
|
+
*/
|
|
142
|
+
tags?: pulumi.Input<{
|
|
143
|
+
[key: string]: pulumi.Input<string>;
|
|
144
|
+
}>;
|
|
145
|
+
/**
|
|
146
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
147
|
+
*/
|
|
148
|
+
tagsAll?: pulumi.Input<{
|
|
149
|
+
[key: string]: pulumi.Input<string>;
|
|
150
|
+
}>;
|
|
127
151
|
/**
|
|
128
152
|
* Bucket type. Valid values: `Directory`.
|
|
129
153
|
*/
|
|
@@ -153,6 +177,12 @@ export interface DirectoryBucketArgs {
|
|
|
153
177
|
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
154
178
|
*/
|
|
155
179
|
region?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Map of tags to assign to the bucket. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
182
|
+
*/
|
|
183
|
+
tags?: pulumi.Input<{
|
|
184
|
+
[key: string]: pulumi.Input<string>;
|
|
185
|
+
}>;
|
|
156
186
|
/**
|
|
157
187
|
* Bucket type. Valid values: `Directory`.
|
|
158
188
|
*/
|
package/s3/directoryBucket.js
CHANGED
|
@@ -81,6 +81,8 @@ class DirectoryBucket extends pulumi.CustomResource {
|
|
|
81
81
|
resourceInputs["forceDestroy"] = state ? state.forceDestroy : undefined;
|
|
82
82
|
resourceInputs["location"] = state ? state.location : undefined;
|
|
83
83
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
84
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
85
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
84
86
|
resourceInputs["type"] = state ? state.type : undefined;
|
|
85
87
|
}
|
|
86
88
|
else {
|
|
@@ -93,8 +95,10 @@ class DirectoryBucket extends pulumi.CustomResource {
|
|
|
93
95
|
resourceInputs["forceDestroy"] = args ? args.forceDestroy : undefined;
|
|
94
96
|
resourceInputs["location"] = args ? args.location : undefined;
|
|
95
97
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
98
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
96
99
|
resourceInputs["type"] = args ? args.type : undefined;
|
|
97
100
|
resourceInputs["arn"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
98
102
|
}
|
|
99
103
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
104
|
super(DirectoryBucket.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directoryBucket.js","sourceRoot":"","sources":["../../s3/directoryBucket.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA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Args, BucketAccelerateConfigurationState } from "./bucketAccelerateConfiguration";
|
|
14
14
|
export type BucketAccelerateConfiguration = import("./bucketAccelerateConfiguration").BucketAccelerateConfiguration;
|
|
15
15
|
export declare const BucketAccelerateConfiguration: typeof import("./bucketAccelerateConfiguration").BucketAccelerateConfiguration;
|
|
16
|
+
export { BucketAccelerateConfigurationV2Args, BucketAccelerateConfigurationV2State } from "./bucketAccelerateConfigurationV2";
|
|
17
|
+
export type BucketAccelerateConfigurationV2 = import("./bucketAccelerateConfigurationV2").BucketAccelerateConfigurationV2;
|
|
18
|
+
export declare const BucketAccelerateConfigurationV2: typeof import("./bucketAccelerateConfigurationV2").BucketAccelerateConfigurationV2;
|
|
16
19
|
export { BucketAclArgs, BucketAclState } from "./bucketAcl";
|
|
17
20
|
export type BucketAcl = import("./bucketAcl").BucketAcl;
|
|
18
21
|
export declare const BucketAcl: typeof import("./bucketAcl").BucketAcl;
|
|
22
|
+
export { BucketAclV2Args, BucketAclV2State } from "./bucketAclV2";
|
|
23
|
+
export type BucketAclV2 = import("./bucketAclV2").BucketAclV2;
|
|
24
|
+
export declare const BucketAclV2: typeof import("./bucketAclV2").BucketAclV2;
|
|
19
25
|
export { BucketCorsConfigurationArgs, BucketCorsConfigurationState } from "./bucketCorsConfiguration";
|
|
20
26
|
export type BucketCorsConfiguration = import("./bucketCorsConfiguration").BucketCorsConfiguration;
|
|
21
27
|
export declare const BucketCorsConfiguration: typeof import("./bucketCorsConfiguration").BucketCorsConfiguration;
|
|
28
|
+
export { BucketCorsConfigurationV2Args, BucketCorsConfigurationV2State } from "./bucketCorsConfigurationV2";
|
|
29
|
+
export type BucketCorsConfigurationV2 = import("./bucketCorsConfigurationV2").BucketCorsConfigurationV2;
|
|
30
|
+
export declare const BucketCorsConfigurationV2: typeof import("./bucketCorsConfigurationV2").BucketCorsConfigurationV2;
|
|
22
31
|
export { BucketIntelligentTieringConfigurationArgs, BucketIntelligentTieringConfigurationState } from "./bucketIntelligentTieringConfiguration";
|
|
23
32
|
export type BucketIntelligentTieringConfiguration = import("./bucketIntelligentTieringConfiguration").BucketIntelligentTieringConfiguration;
|
|
24
33
|
export declare const BucketIntelligentTieringConfiguration: typeof import("./bucketIntelligentTieringConfiguration").BucketIntelligentTieringConfiguration;
|
|
25
34
|
export { BucketLifecycleConfigurationArgs, BucketLifecycleConfigurationState } from "./bucketLifecycleConfiguration";
|
|
26
35
|
export type BucketLifecycleConfiguration = import("./bucketLifecycleConfiguration").BucketLifecycleConfiguration;
|
|
27
36
|
export declare const BucketLifecycleConfiguration: typeof import("./bucketLifecycleConfiguration").BucketLifecycleConfiguration;
|
|
37
|
+
export { BucketLifecycleConfigurationV2Args, BucketLifecycleConfigurationV2State } from "./bucketLifecycleConfigurationV2";
|
|
38
|
+
export type BucketLifecycleConfigurationV2 = import("./bucketLifecycleConfigurationV2").BucketLifecycleConfigurationV2;
|
|
39
|
+
export declare const BucketLifecycleConfigurationV2: typeof import("./bucketLifecycleConfigurationV2").BucketLifecycleConfigurationV2;
|
|
28
40
|
export { BucketLoggingArgs, BucketLoggingState } from "./bucketLogging";
|
|
29
41
|
export type BucketLogging = import("./bucketLogging").BucketLogging;
|
|
30
42
|
export declare const BucketLogging: typeof import("./bucketLogging").BucketLogging;
|
|
43
|
+
export { BucketLoggingV2Args, BucketLoggingV2State } from "./bucketLoggingV2";
|
|
44
|
+
export type BucketLoggingV2 = import("./bucketLoggingV2").BucketLoggingV2;
|
|
45
|
+
export declare const BucketLoggingV2: typeof import("./bucketLoggingV2").BucketLoggingV2;
|
|
31
46
|
export { BucketMetricArgs, BucketMetricState } from "./bucketMetric";
|
|
32
47
|
export type BucketMetric = import("./bucketMetric").BucketMetric;
|
|
33
48
|
export declare const BucketMetric: typeof import("./bucketMetric").BucketMetric;
|
|
@@ -40,6 +55,9 @@ export declare const BucketObject: typeof import("./bucketObject").BucketObject;
|
|
|
40
55
|
export { BucketObjectLockConfigurationArgs, BucketObjectLockConfigurationState } from "./bucketObjectLockConfiguration";
|
|
41
56
|
export type BucketObjectLockConfiguration = import("./bucketObjectLockConfiguration").BucketObjectLockConfiguration;
|
|
42
57
|
export declare const BucketObjectLockConfiguration: typeof import("./bucketObjectLockConfiguration").BucketObjectLockConfiguration;
|
|
58
|
+
export { BucketObjectLockConfigurationV2Args, BucketObjectLockConfigurationV2State } from "./bucketObjectLockConfigurationV2";
|
|
59
|
+
export type BucketObjectLockConfigurationV2 = import("./bucketObjectLockConfigurationV2").BucketObjectLockConfigurationV2;
|
|
60
|
+
export declare const BucketObjectLockConfigurationV2: typeof import("./bucketObjectLockConfigurationV2").BucketObjectLockConfigurationV2;
|
|
43
61
|
export { BucketObjectv2Args, BucketObjectv2State } from "./bucketObjectv2";
|
|
44
62
|
export type BucketObjectv2 = import("./bucketObjectv2").BucketObjectv2;
|
|
45
63
|
export declare const BucketObjectv2: typeof import("./bucketObjectv2").BucketObjectv2;
|
|
@@ -58,15 +76,30 @@ export declare const BucketReplicationConfig: typeof import("./bucketReplication
|
|
|
58
76
|
export { BucketRequestPaymentConfigurationArgs, BucketRequestPaymentConfigurationState } from "./bucketRequestPaymentConfiguration";
|
|
59
77
|
export type BucketRequestPaymentConfiguration = import("./bucketRequestPaymentConfiguration").BucketRequestPaymentConfiguration;
|
|
60
78
|
export declare const BucketRequestPaymentConfiguration: typeof import("./bucketRequestPaymentConfiguration").BucketRequestPaymentConfiguration;
|
|
79
|
+
export { BucketRequestPaymentConfigurationV2Args, BucketRequestPaymentConfigurationV2State } from "./bucketRequestPaymentConfigurationV2";
|
|
80
|
+
export type BucketRequestPaymentConfigurationV2 = import("./bucketRequestPaymentConfigurationV2").BucketRequestPaymentConfigurationV2;
|
|
81
|
+
export declare const BucketRequestPaymentConfigurationV2: typeof import("./bucketRequestPaymentConfigurationV2").BucketRequestPaymentConfigurationV2;
|
|
61
82
|
export { BucketServerSideEncryptionConfigurationArgs, BucketServerSideEncryptionConfigurationState } from "./bucketServerSideEncryptionConfiguration";
|
|
62
83
|
export type BucketServerSideEncryptionConfiguration = import("./bucketServerSideEncryptionConfiguration").BucketServerSideEncryptionConfiguration;
|
|
63
84
|
export declare const BucketServerSideEncryptionConfiguration: typeof import("./bucketServerSideEncryptionConfiguration").BucketServerSideEncryptionConfiguration;
|
|
85
|
+
export { BucketServerSideEncryptionConfigurationV2Args, BucketServerSideEncryptionConfigurationV2State } from "./bucketServerSideEncryptionConfigurationV2";
|
|
86
|
+
export type BucketServerSideEncryptionConfigurationV2 = import("./bucketServerSideEncryptionConfigurationV2").BucketServerSideEncryptionConfigurationV2;
|
|
87
|
+
export declare const BucketServerSideEncryptionConfigurationV2: typeof import("./bucketServerSideEncryptionConfigurationV2").BucketServerSideEncryptionConfigurationV2;
|
|
88
|
+
export { BucketV2Args, BucketV2State } from "./bucketV2";
|
|
89
|
+
export type BucketV2 = import("./bucketV2").BucketV2;
|
|
90
|
+
export declare const BucketV2: typeof import("./bucketV2").BucketV2;
|
|
64
91
|
export { BucketVersioningArgs, BucketVersioningState } from "./bucketVersioning";
|
|
65
92
|
export type BucketVersioning = import("./bucketVersioning").BucketVersioning;
|
|
66
93
|
export declare const BucketVersioning: typeof import("./bucketVersioning").BucketVersioning;
|
|
94
|
+
export { BucketVersioningV2Args, BucketVersioningV2State } from "./bucketVersioningV2";
|
|
95
|
+
export type BucketVersioningV2 = import("./bucketVersioningV2").BucketVersioningV2;
|
|
96
|
+
export declare const BucketVersioningV2: typeof import("./bucketVersioningV2").BucketVersioningV2;
|
|
67
97
|
export { BucketWebsiteConfigurationArgs, BucketWebsiteConfigurationState } from "./bucketWebsiteConfiguration";
|
|
68
98
|
export type BucketWebsiteConfiguration = import("./bucketWebsiteConfiguration").BucketWebsiteConfiguration;
|
|
69
99
|
export declare const BucketWebsiteConfiguration: typeof import("./bucketWebsiteConfiguration").BucketWebsiteConfiguration;
|
|
100
|
+
export { BucketWebsiteConfigurationV2Args, BucketWebsiteConfigurationV2State } from "./bucketWebsiteConfigurationV2";
|
|
101
|
+
export type BucketWebsiteConfigurationV2 = import("./bucketWebsiteConfigurationV2").BucketWebsiteConfigurationV2;
|
|
102
|
+
export declare const BucketWebsiteConfigurationV2: typeof import("./bucketWebsiteConfigurationV2").BucketWebsiteConfigurationV2;
|
|
70
103
|
export { DirectoryBucketArgs, DirectoryBucketState } from "./directoryBucket";
|
|
71
104
|
export type DirectoryBucket = import("./directoryBucket").DirectoryBucket;
|
|
72
105
|
export declare const DirectoryBucket: typeof import("./directoryBucket").DirectoryBucket;
|