@pulumi/aws 7.12.0-alpha.1762435934 → 7.12.0-alpha.1763660660
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/acm/certificate.d.ts +2 -2
- package/acm/certificate.js +2 -2
- package/acmpca/certificate.d.ts +2 -2
- package/acmpca/certificate.js +2 -2
- package/apigateway/account.d.ts +0 -2
- package/apigateway/account.js +0 -2
- package/apigateway/account.js.map +1 -1
- package/appsync/graphQLApi.d.ts +45 -0
- package/appsync/graphQLApi.js +45 -0
- package/appsync/graphQLApi.js.map +1 -1
- package/bedrock/agentAgentAlias.d.ts +55 -0
- package/bedrock/agentAgentAlias.js +55 -0
- package/bedrock/agentAgentAlias.js.map +1 -1
- package/bedrock/agentcoreAgentRuntime.d.ts +2 -2
- package/bedrock/agentcoreAgentRuntime.js +2 -2
- package/bedrock/agentcoreBrowser.d.ts +22 -0
- package/bedrock/agentcoreBrowser.js +22 -0
- package/bedrock/agentcoreBrowser.js.map +1 -1
- package/bedrock/agentcoreGatewayTarget.d.ts +117 -3
- package/bedrock/agentcoreGatewayTarget.js +114 -0
- package/bedrock/agentcoreGatewayTarget.js.map +1 -1
- package/bedrock/agentcoreMemory.d.ts +19 -4
- package/bedrock/agentcoreMemory.js +16 -1
- package/bedrock/agentcoreMemory.js.map +1 -1
- package/bedrock/agentcoreOauth2CredentialProvider.d.ts +20 -0
- package/bedrock/agentcoreOauth2CredentialProvider.js +20 -0
- package/bedrock/agentcoreOauth2CredentialProvider.js.map +1 -1
- package/bedrockmodel/invocationLoggingConfiguration.d.ts +1 -1
- package/bedrockmodel/invocationLoggingConfiguration.js +1 -1
- package/cloudfront/distribution.d.ts +8 -0
- package/cloudfront/distribution.js +2 -0
- package/cloudfront/distribution.js.map +1 -1
- package/cloudhsmv2/cluster.d.ts +36 -0
- package/cloudhsmv2/cluster.js +36 -0
- package/cloudhsmv2/cluster.js.map +1 -1
- package/cloudtrail/trail.d.ts +1 -1
- package/cloudtrail/trail.js +1 -1
- package/cloudwatch/contributorManagedInsightRule.d.ts +11 -0
- package/cloudwatch/contributorManagedInsightRule.js +11 -0
- package/cloudwatch/contributorManagedInsightRule.js.map +1 -1
- package/cloudwatch/logDeliveryDestination.d.ts +21 -5
- package/cloudwatch/logDeliveryDestination.js +13 -1
- package/cloudwatch/logDeliveryDestination.js.map +1 -1
- package/codebuild/webhook.d.ts +1 -1
- package/codebuild/webhook.js +1 -1
- package/codepipeline/webhook.d.ts +1 -1
- package/codepipeline/webhook.js +1 -1
- package/connect/routingProfile.d.ts +21 -9
- package/connect/routingProfile.js +17 -5
- package/connect/routingProfile.js.map +1 -1
- package/datasync/locationFsxOntapFileSystem.d.ts +18 -0
- package/datasync/locationFsxOntapFileSystem.js +18 -0
- package/datasync/locationFsxOntapFileSystem.js.map +1 -1
- package/datazone/project.d.ts +13 -0
- package/datazone/project.js +13 -0
- package/datazone/project.js.map +1 -1
- package/detective/organizationConfiguration.d.ts +11 -0
- package/detective/organizationConfiguration.js +11 -0
- package/detective/organizationConfiguration.js.map +1 -1
- package/ec2/allowedImagesSettings.d.ts +124 -0
- package/ec2/allowedImagesSettings.js +106 -0
- package/ec2/allowedImagesSettings.js.map +1 -0
- package/ec2/getCoipPools.d.ts +32 -0
- package/ec2/getCoipPools.js +32 -0
- package/ec2/getCoipPools.js.map +1 -1
- package/ec2/imageBlockPublicAccess.d.ts +12 -0
- package/ec2/imageBlockPublicAccess.js +2 -0
- package/ec2/imageBlockPublicAccess.js.map +1 -1
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +10 -5
- package/ec2/index.js.map +1 -1
- package/ec2/securityGroup.d.ts +2 -2
- package/ec2/securityGroup.js +2 -2
- package/ec2/serialConsoleAccess.d.ts +12 -0
- package/ec2/serialConsoleAccess.js +2 -0
- package/ec2/serialConsoleAccess.js.map +1 -1
- package/ec2/vpcEndpoint.d.ts +50 -0
- package/ec2/vpcEndpoint.js +50 -0
- package/ec2/vpcEndpoint.js.map +1 -1
- package/ec2clientvpn/authorizationRule.d.ts +3 -3
- package/ec2clientvpn/route.d.ts +3 -3
- package/ec2transitgateway/instanceConnectEndpoint.d.ts +12 -0
- package/ec2transitgateway/instanceConnectEndpoint.js +2 -0
- package/ec2transitgateway/instanceConnectEndpoint.js.map +1 -1
- package/ecrpublic/getImages.d.ts +36 -0
- package/ecrpublic/getImages.js +36 -0
- package/ecrpublic/getImages.js.map +1 -1
- package/ecs/getService.d.ts +94 -3
- package/ecs/getService.js.map +1 -1
- package/ecs/service.d.ts +40 -0
- package/ecs/service.js +40 -0
- package/ecs/service.js.map +1 -1
- package/elasticache/getReplicationGroup.d.ts +12 -8
- package/elasticache/getReplicationGroup.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +47 -0
- package/elasticache/replicationGroup.js +37 -0
- package/elasticache/replicationGroup.js.map +1 -1
- package/elasticache/reservedCacheNode.d.ts +17 -0
- package/elasticache/reservedCacheNode.js +17 -0
- package/elasticache/reservedCacheNode.js.map +1 -1
- package/finspace/kxCluster.d.ts +39 -0
- package/finspace/kxCluster.js +39 -0
- package/finspace/kxCluster.js.map +1 -1
- package/fis/index.d.ts +3 -0
- package/fis/index.js +6 -1
- package/fis/index.js.map +1 -1
- package/fis/targetAccountConfiguration.d.ts +129 -0
- package/fis/targetAccountConfiguration.js +90 -0
- package/fis/targetAccountConfiguration.js.map +1 -0
- package/glue/job.d.ts +3 -3
- package/guardduty/malwareProtectionPlan.d.ts +26 -0
- package/guardduty/malwareProtectionPlan.js +26 -0
- package/guardduty/malwareProtectionPlan.js.map +1 -1
- package/guardduty/memberDetectorFeature.d.ts +23 -0
- package/guardduty/memberDetectorFeature.js +23 -0
- package/guardduty/memberDetectorFeature.js.map +1 -1
- package/index.d.ts +4 -1
- package/index.js +10 -3
- package/index.js.map +1 -1
- package/invoicing/index.d.ts +3 -0
- package/invoicing/index.js +22 -0
- package/invoicing/index.js.map +1 -0
- package/invoicing/invoiceUnit.d.ts +195 -0
- package/invoicing/invoiceUnit.js +102 -0
- package/invoicing/invoiceUnit.js.map +1 -0
- package/iot/caCertificate.d.ts +6 -6
- package/iot/caCertificate.js +6 -6
- package/iot/getRegistrationCode.d.ts +6 -6
- package/iot/getRegistrationCode.js +6 -6
- package/ivschat/loggingConfiguration.d.ts +15 -0
- package/ivschat/loggingConfiguration.js +15 -0
- package/ivschat/loggingConfiguration.js.map +1 -1
- package/kinesis/getStream.d.ts +4 -0
- package/kinesis/getStream.js.map +1 -1
- package/kinesis/stream.d.ts +12 -0
- package/kinesis/stream.js +2 -0
- package/kinesis/stream.js.map +1 -1
- package/kms/key.d.ts +3 -3
- package/licensemanager/licenseGrant.d.ts +19 -0
- package/licensemanager/licenseGrant.js +19 -0
- package/licensemanager/licenseGrant.js.map +1 -1
- package/m2/environment.d.ts +79 -0
- package/m2/environment.js +79 -0
- package/m2/environment.js.map +1 -1
- package/networkfirewall/tlsInspectionConfiguration.d.ts +44 -0
- package/networkfirewall/tlsInspectionConfiguration.js +44 -0
- package/networkfirewall/tlsInspectionConfiguration.js.map +1 -1
- package/networkflowmonitor/index.d.ts +6 -0
- package/networkflowmonitor/index.js +27 -0
- package/networkflowmonitor/index.js.map +1 -0
- package/networkflowmonitor/monitor.d.ts +187 -0
- package/networkflowmonitor/monitor.js +113 -0
- package/networkflowmonitor/monitor.js.map +1 -0
- package/networkflowmonitor/scope.d.ts +153 -0
- package/networkflowmonitor/scope.js +97 -0
- package/networkflowmonitor/scope.js.map +1 -0
- package/observabilityadmin/centralizationRuleForOrganization.d.ts +246 -0
- package/observabilityadmin/centralizationRuleForOrganization.js +189 -0
- package/observabilityadmin/centralizationRuleForOrganization.js.map +1 -0
- package/observabilityadmin/index.d.ts +3 -0
- package/observabilityadmin/index.js +22 -0
- package/observabilityadmin/index.js.map +1 -0
- package/opensearch/authorizeVpcEndpointAccess.d.ts +2 -2
- package/opensearch/authorizeVpcEndpointAccess.js +2 -2
- package/opensearch/domain.d.ts +21 -0
- package/opensearch/domain.js +2 -0
- package/opensearch/domain.js.map +1 -1
- package/opensearch/getDomain.d.ts +5 -10
- package/opensearch/getDomain.js +0 -2
- package/opensearch/getDomain.js.map +1 -1
- package/opensearchingest/pipeline.d.ts +1 -1
- package/opensearchingest/pipeline.js +1 -1
- package/organizations/getPolicies.d.ts +2 -2
- package/organizations/getPoliciesForTarget.d.ts +2 -2
- package/organizations/getPolicy.d.ts +1 -1
- package/organizations/organization.d.ts +3 -3
- package/organizations/policy.d.ts +15 -3
- package/organizations/policy.js.map +1 -1
- package/package.json +2 -2
- package/quicksight/analysis.d.ts +55 -0
- package/quicksight/analysis.js +55 -0
- package/quicksight/analysis.js.map +1 -1
- package/quicksight/dashboard.d.ts +56 -0
- package/quicksight/dashboard.js +56 -0
- package/quicksight/dashboard.js.map +1 -1
- package/quicksight/dataSource.d.ts +1 -1
- package/quicksight/dataSource.js +1 -1
- package/quicksight/template.d.ts +64 -0
- package/quicksight/template.js +64 -0
- package/quicksight/template.js.map +1 -1
- package/redshift/clusterSnapshot.d.ts +14 -0
- package/redshift/clusterSnapshot.js +14 -0
- package/redshift/clusterSnapshot.js.map +1 -1
- package/redshift/getCluster.d.ts +58 -0
- package/redshift/getCluster.js +58 -0
- package/redshift/getCluster.js.map +1 -1
- package/redshift/snapshotCopyGrant.d.ts +11 -0
- package/redshift/snapshotCopyGrant.js +11 -0
- package/redshift/snapshotCopyGrant.js.map +1 -1
- package/route53/profilesAssociation.d.ts +16 -0
- package/route53/profilesAssociation.js +16 -0
- package/route53/profilesAssociation.js.map +1 -1
- package/route53/profilesResourceAssociation.d.ts +19 -0
- package/route53/profilesResourceAssociation.js +19 -0
- package/route53/profilesResourceAssociation.js.map +1 -1
- package/s3control/multiRegionAccessPointPolicy.d.ts +39 -0
- package/s3control/multiRegionAccessPointPolicy.js +39 -0
- package/s3control/multiRegionAccessPointPolicy.js.map +1 -1
- package/s3tables/table.d.ts +30 -0
- package/s3tables/table.js +4 -0
- package/s3tables/table.js.map +1 -1
- package/s3tables/tableBucket.d.ts +30 -0
- package/s3tables/tableBucket.js +4 -0
- package/s3tables/tableBucket.js.map +1 -1
- package/sagemaker/endpointConfiguration.d.ts +40 -28
- package/sagemaker/endpointConfiguration.js +2 -0
- package/sagemaker/endpointConfiguration.js.map +1 -1
- package/ssmincidents/getResponsePlan.d.ts +14 -0
- package/ssmincidents/getResponsePlan.js +14 -0
- package/ssmincidents/getResponsePlan.js.map +1 -1
- package/ssoadmin/accountAssignment.d.ts +2 -2
- package/ssoadmin/accountAssignment.js +2 -2
- package/transfer/profile.d.ts +11 -0
- package/transfer/profile.js +11 -0
- package/transfer/profile.js.map +1 -1
- package/transfer/server.d.ts +3 -0
- package/transfer/server.js.map +1 -1
- package/transfer/sshKey.d.ts +3 -3
- package/transfer/sshKey.js +3 -3
- package/types/input.d.ts +462 -140
- package/types/input.js.map +1 -1
- package/types/output.d.ts +779 -95
- package/types/output.js.map +1 -1
- package/wafv2/ruleGroup.d.ts +223 -0
- package/wafv2/ruleGroup.js +223 -0
- package/wafv2/ruleGroup.js.map +1 -1
- package/workspacesweb/sessionLoggerAssociation.d.ts +47 -0
- package/workspacesweb/sessionLoggerAssociation.js +47 -0
- package/workspacesweb/sessionLoggerAssociation.js.map +1 -1
- package/workspacesweb/trustStoreAssociation.d.ts +17 -0
- package/workspacesweb/trustStoreAssociation.js +17 -0
- package/workspacesweb/trustStoreAssociation.js.map +1 -1
package/quicksight/template.js
CHANGED
|
@@ -30,6 +30,70 @@ const utilities = require("../utilities");
|
|
|
30
30
|
*
|
|
31
31
|
* ### With Definition
|
|
32
32
|
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as aws from "@pulumi/aws";
|
|
36
|
+
*
|
|
37
|
+
* const example = new aws.quicksight.Template("example", {
|
|
38
|
+
* templateId: "example-id",
|
|
39
|
+
* name: "example-name",
|
|
40
|
+
* versionDescription: "version",
|
|
41
|
+
* definition: {
|
|
42
|
+
* dataSetConfigurations: [{
|
|
43
|
+
* dataSetSchema: {
|
|
44
|
+
* columnSchemaLists: [
|
|
45
|
+
* {
|
|
46
|
+
* name: "Column1",
|
|
47
|
+
* dataType: "STRING",
|
|
48
|
+
* },
|
|
49
|
+
* {
|
|
50
|
+
* name: "Column2",
|
|
51
|
+
* dataType: "INTEGER",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* placeholder: "1",
|
|
56
|
+
* }],
|
|
57
|
+
* sheets: [{
|
|
58
|
+
* title: "Test",
|
|
59
|
+
* sheetId: "Test1",
|
|
60
|
+
* visuals: [{
|
|
61
|
+
* barChartVisual: {
|
|
62
|
+
* visualId: "BarChart",
|
|
63
|
+
* chartConfiguration: {
|
|
64
|
+
* fieldWells: {
|
|
65
|
+
* barChartAggregatedFieldWells: {
|
|
66
|
+
* categories: [{
|
|
67
|
+
* categoricalDimensionField: {
|
|
68
|
+
* fieldId: "1",
|
|
69
|
+
* column: {
|
|
70
|
+
* columnName: "Column1",
|
|
71
|
+
* dataSetIdentifier: "1",
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* }],
|
|
75
|
+
* values: [{
|
|
76
|
+
* numericalMeasureField: {
|
|
77
|
+
* fieldId: "2",
|
|
78
|
+
* column: {
|
|
79
|
+
* columnName: "Column2",
|
|
80
|
+
* dataSetIdentifier: "1",
|
|
81
|
+
* },
|
|
82
|
+
* aggregationFunction: {
|
|
83
|
+
* simpleNumericalAggregation: "SUM",
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* }],
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* },
|
|
91
|
+
* }],
|
|
92
|
+
* }],
|
|
93
|
+
* },
|
|
94
|
+
* });
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
33
97
|
* ## Import
|
|
34
98
|
*
|
|
35
99
|
* Using `pulumi import`, import a QuickSight Template using the AWS account ID and template ID separated by a comma (`,`). For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.js","sourceRoot":"","sources":["../../quicksight/template.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"template.js","sourceRoot":"","sources":["../../quicksight/template.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAsED,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;YACnC,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CA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umi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = new aws.redshift.ClusterSnapshot("example", {
|
|
12
|
+
* clusterSnapshotName: "example",
|
|
13
|
+
* clusterSnapshotContent: JSON.stringify({
|
|
14
|
+
* AllowDBUserOverride: "1",
|
|
15
|
+
* Client_ID: "ExampleClientID",
|
|
16
|
+
* App_ID: "example",
|
|
17
|
+
* }),
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
7
21
|
* ## Import
|
|
8
22
|
*
|
|
9
23
|
* Using `pulumi import`, import Redshift Cluster Snapshots using `snapshot_identifier`. For example:
|
|
@@ -10,6 +10,20 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = new aws.redshift.ClusterSnapshot("example", {
|
|
18
|
+
* clusterSnapshotName: "example",
|
|
19
|
+
* clusterSnapshotContent: JSON.stringify({
|
|
20
|
+
* AllowDBUserOverride: "1",
|
|
21
|
+
* Client_ID: "ExampleClientID",
|
|
22
|
+
* App_ID: "example",
|
|
23
|
+
* }),
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
13
27
|
* ## Import
|
|
14
28
|
*
|
|
15
29
|
* Using `pulumi import`, import Redshift Cluster Snapshots using `snapshot_identifier`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusterSnapshot.js","sourceRoot":"","sources":["../../redshift/clusterSnapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"clusterSnapshot.js","sourceRoot":"","sources":["../../redshift/clusterSnapshot.ts"],"names":[],"m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B;AACO,4BAAY,GAAG,8CAA8C,CAAC"}
|
package/redshift/getCluster.d.ts
CHANGED
|
@@ -4,6 +4,35 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
* Provides details about a specific redshift cluster.
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aws from "@pulumi/aws";
|
|
11
|
+
*
|
|
12
|
+
* const example = aws.redshift.getCluster({
|
|
13
|
+
* clusterIdentifier: "example-cluster",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleStream = new aws.kinesis.FirehoseDeliveryStream("example_stream", {
|
|
16
|
+
* name: "kinesis-firehose-example-stream",
|
|
17
|
+
* destination: "redshift",
|
|
18
|
+
* redshiftConfiguration: {
|
|
19
|
+
* roleArn: firehoseRole.arn,
|
|
20
|
+
* clusterJdbcurl: Promise.all([example, example]).then(([example, example1]) => `jdbc:redshift://${example.endpoint}/${example1.databaseName}`),
|
|
21
|
+
* username: "exampleuser",
|
|
22
|
+
* password: "Exampl3Pass",
|
|
23
|
+
* dataTableName: "example-table",
|
|
24
|
+
* copyOptions: "delimiter '|'",
|
|
25
|
+
* dataTableColumns: "example-col",
|
|
26
|
+
* s3Configuration: {
|
|
27
|
+
* roleArn: firehoseRole.arn,
|
|
28
|
+
* bucketArn: bucket.arn,
|
|
29
|
+
* bufferSize: 10,
|
|
30
|
+
* bufferInterval: 400,
|
|
31
|
+
* compressionFormat: "GZIP",
|
|
32
|
+
* },
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
7
36
|
*/
|
|
8
37
|
export declare function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>;
|
|
9
38
|
/**
|
|
@@ -198,6 +227,35 @@ export interface GetClusterResult {
|
|
|
198
227
|
* Provides details about a specific redshift cluster.
|
|
199
228
|
*
|
|
200
229
|
* ## Example Usage
|
|
230
|
+
*
|
|
231
|
+
* ```typescript
|
|
232
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
233
|
+
* import * as aws from "@pulumi/aws";
|
|
234
|
+
*
|
|
235
|
+
* const example = aws.redshift.getCluster({
|
|
236
|
+
* clusterIdentifier: "example-cluster",
|
|
237
|
+
* });
|
|
238
|
+
* const exampleStream = new aws.kinesis.FirehoseDeliveryStream("example_stream", {
|
|
239
|
+
* name: "kinesis-firehose-example-stream",
|
|
240
|
+
* destination: "redshift",
|
|
241
|
+
* redshiftConfiguration: {
|
|
242
|
+
* roleArn: firehoseRole.arn,
|
|
243
|
+
* clusterJdbcurl: Promise.all([example, example]).then(([example, example1]) => `jdbc:redshift://${example.endpoint}/${example1.databaseName}`),
|
|
244
|
+
* username: "exampleuser",
|
|
245
|
+
* password: "Exampl3Pass",
|
|
246
|
+
* dataTableName: "example-table",
|
|
247
|
+
* copyOptions: "delimiter '|'",
|
|
248
|
+
* dataTableColumns: "example-col",
|
|
249
|
+
* s3Configuration: {
|
|
250
|
+
* roleArn: firehoseRole.arn,
|
|
251
|
+
* bucketArn: bucket.arn,
|
|
252
|
+
* bufferSize: 10,
|
|
253
|
+
* bufferInterval: 400,
|
|
254
|
+
* compressionFormat: "GZIP",
|
|
255
|
+
* },
|
|
256
|
+
* },
|
|
257
|
+
* });
|
|
258
|
+
* ```
|
|
201
259
|
*/
|
|
202
260
|
export declare function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClusterResult>;
|
|
203
261
|
/**
|
package/redshift/getCluster.js
CHANGED
|
@@ -9,6 +9,35 @@ const utilities = require("../utilities");
|
|
|
9
9
|
* Provides details about a specific redshift cluster.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = aws.redshift.getCluster({
|
|
18
|
+
* clusterIdentifier: "example-cluster",
|
|
19
|
+
* });
|
|
20
|
+
* const exampleStream = new aws.kinesis.FirehoseDeliveryStream("example_stream", {
|
|
21
|
+
* name: "kinesis-firehose-example-stream",
|
|
22
|
+
* destination: "redshift",
|
|
23
|
+
* redshiftConfiguration: {
|
|
24
|
+
* roleArn: firehoseRole.arn,
|
|
25
|
+
* clusterJdbcurl: Promise.all([example, example]).then(([example, example1]) => `jdbc:redshift://${example.endpoint}/${example1.databaseName}`),
|
|
26
|
+
* username: "exampleuser",
|
|
27
|
+
* password: "Exampl3Pass",
|
|
28
|
+
* dataTableName: "example-table",
|
|
29
|
+
* copyOptions: "delimiter '|'",
|
|
30
|
+
* dataTableColumns: "example-col",
|
|
31
|
+
* s3Configuration: {
|
|
32
|
+
* roleArn: firehoseRole.arn,
|
|
33
|
+
* bucketArn: bucket.arn,
|
|
34
|
+
* bufferSize: 10,
|
|
35
|
+
* bufferInterval: 400,
|
|
36
|
+
* compressionFormat: "GZIP",
|
|
37
|
+
* },
|
|
38
|
+
* },
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
12
41
|
*/
|
|
13
42
|
function getCluster(args, opts) {
|
|
14
43
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -23,6 +52,35 @@ exports.getCluster = getCluster;
|
|
|
23
52
|
* Provides details about a specific redshift cluster.
|
|
24
53
|
*
|
|
25
54
|
* ## Example Usage
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as aws from "@pulumi/aws";
|
|
59
|
+
*
|
|
60
|
+
* const example = aws.redshift.getCluster({
|
|
61
|
+
* clusterIdentifier: "example-cluster",
|
|
62
|
+
* });
|
|
63
|
+
* const exampleStream = new aws.kinesis.FirehoseDeliveryStream("example_stream", {
|
|
64
|
+
* name: "kinesis-firehose-example-stream",
|
|
65
|
+
* destination: "redshift",
|
|
66
|
+
* redshiftConfiguration: {
|
|
67
|
+
* roleArn: firehoseRole.arn,
|
|
68
|
+
* clusterJdbcurl: Promise.all([example, example]).then(([example, example1]) => `jdbc:redshift://${example.endpoint}/${example1.databaseName}`),
|
|
69
|
+
* username: "exampleuser",
|
|
70
|
+
* password: "Exampl3Pass",
|
|
71
|
+
* dataTableName: "example-table",
|
|
72
|
+
* copyOptions: "delimiter '|'",
|
|
73
|
+
* dataTableColumns: "example-col",
|
|
74
|
+
* s3Configuration: {
|
|
75
|
+
* roleArn: firehoseRole.arn,
|
|
76
|
+
* bucketArn: bucket.arn,
|
|
77
|
+
* bufferSize: 10,
|
|
78
|
+
* bufferInterval: 400,
|
|
79
|
+
* compressionFormat: "GZIP",
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
26
84
|
*/
|
|
27
85
|
function getClusterOutput(args, opts) {
|
|
28
86
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../../redshift/getCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../../redshift/getCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AA2LD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4CAOC"}
|
|
@@ -6,6 +6,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const test = new aws.redshift.SnapshotCopyGrant("test", {snapshotCopyGrantName: "my-grant"});
|
|
14
|
+
* const testCluster = new aws.redshift.Cluster("test", {snapshotCopy: [{
|
|
15
|
+
* destinationRegion: "us-east-2",
|
|
16
|
+
* grantName: test.snapshotCopyGrantName,
|
|
17
|
+
* }]});
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
9
20
|
* ## Import
|
|
10
21
|
*
|
|
11
22
|
* Using `pulumi import`, import Redshift Snapshot Copy Grants by name. For example:
|
|
@@ -12,6 +12,17 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const test = new aws.redshift.SnapshotCopyGrant("test", {snapshotCopyGrantName: "my-grant"});
|
|
20
|
+
* const testCluster = new aws.redshift.Cluster("test", {snapshotCopy: [{
|
|
21
|
+
* destinationRegion: "us-east-2",
|
|
22
|
+
* grantName: test.snapshotCopyGrantName,
|
|
23
|
+
* }]});
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
15
26
|
* ## Import
|
|
16
27
|
*
|
|
17
28
|
* Using `pulumi import`, import Redshift Snapshot Copy Grants by name. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshotCopyGrant.js","sourceRoot":"","sources":["../../redshift/snapshotCopyGrant.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"snapshotCopyGrant.js","sourceRoot":"","sources":["../../redshift/snapshotCopyGrant.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,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Y,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAtFL,8CAuFC;AAzEG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -8,6 +8,22 @@ import * as outputs from "../types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* ### Basic Usage
|
|
10
10
|
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const example = new aws.route53.ProfilesProfile("example", {name: "example"});
|
|
16
|
+
* const exampleVpc = new aws.ec2.Vpc("example", {cidr: "10.0.0.0/16"});
|
|
17
|
+
* const exampleProfilesAssociation = new aws.route53.ProfilesAssociation("example", {
|
|
18
|
+
* name: "example",
|
|
19
|
+
* profileId: example.id,
|
|
20
|
+
* resourceId: exampleVpc.id,
|
|
21
|
+
* tags: {
|
|
22
|
+
* Environment: "dev",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
11
27
|
* ## Import
|
|
12
28
|
*
|
|
13
29
|
* Using `pulumi import`, import Route 53 Profiles Association using the `id`. For example:
|
|
@@ -12,6 +12,22 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ### Basic Usage
|
|
14
14
|
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.route53.ProfilesProfile("example", {name: "example"});
|
|
20
|
+
* const exampleVpc = new aws.ec2.Vpc("example", {cidr: "10.0.0.0/16"});
|
|
21
|
+
* const exampleProfilesAssociation = new aws.route53.ProfilesAssociation("example", {
|
|
22
|
+
* name: "example",
|
|
23
|
+
* profileId: example.id,
|
|
24
|
+
* resourceId: exampleVpc.id,
|
|
25
|
+
* tags: {
|
|
26
|
+
* Environment: "dev",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
15
31
|
* ## Import
|
|
16
32
|
*
|
|
17
33
|
* Using `pulumi import`, import Route 53 Profiles Association using the `id`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profilesAssociation.js","sourceRoot":"","sources":["../../route53/profilesAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"profilesAssociation.js","sourceRoot":"","sources":["../../route53/profilesAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IA8CD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,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,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA9GL,kDA+GC;AAjGG,gBAAgB;AACO,gCAAY,GAAG,qDAAqD,CAAC"}
|
|
@@ -8,6 +8,25 @@ import * as outputs from "../types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* ### Basic Usage
|
|
10
10
|
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const example = new aws.route53.ProfilesProfile("example", {name: "example"});
|
|
16
|
+
* const exampleVpc = new aws.ec2.Vpc("example", {cidr: "10.0.0.0/16"});
|
|
17
|
+
* const exampleZone = new aws.route53.Zone("example", {
|
|
18
|
+
* name: "example.com",
|
|
19
|
+
* vpcs: [{
|
|
20
|
+
* vpcId: exampleVpc.id,
|
|
21
|
+
* }],
|
|
22
|
+
* });
|
|
23
|
+
* const exampleProfilesResourceAssociation = new aws.route53.ProfilesResourceAssociation("example", {
|
|
24
|
+
* name: "example",
|
|
25
|
+
* profileId: example.id,
|
|
26
|
+
* resourceArn: exampleZone.arn,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
11
30
|
* ## Import
|
|
12
31
|
*
|
|
13
32
|
* Using `pulumi import`, import Route 53 Profiles Resource Association using the `id`. For example:
|
|
@@ -12,6 +12,25 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ### Basic Usage
|
|
14
14
|
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.route53.ProfilesProfile("example", {name: "example"});
|
|
20
|
+
* const exampleVpc = new aws.ec2.Vpc("example", {cidr: "10.0.0.0/16"});
|
|
21
|
+
* const exampleZone = new aws.route53.Zone("example", {
|
|
22
|
+
* name: "example.com",
|
|
23
|
+
* vpcs: [{
|
|
24
|
+
* vpcId: exampleVpc.id,
|
|
25
|
+
* }],
|
|
26
|
+
* });
|
|
27
|
+
* const exampleProfilesResourceAssociation = new aws.route53.ProfilesResourceAssociation("example", {
|
|
28
|
+
* name: "example",
|
|
29
|
+
* profileId: example.id,
|
|
30
|
+
* resourceArn: exampleZone.arn,
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
15
34
|
* ## Import
|
|
16
35
|
*
|
|
17
36
|
* Using `pulumi import`, import Route 53 Profiles Resource Association using the `id`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profilesResourceAssociation.js","sourceRoot":"","sources":["../../route53/profilesResourceAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version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AC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AA3GL,kEA4GC;AA9FG,gBAAgB;AACO,wCAAY,GAAG,qEAAqE,CAAC"}
|
|
@@ -6,6 +6,45 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ### Basic Example
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
* import * as std from "@pulumi/std";
|
|
15
|
+
*
|
|
16
|
+
* const current = aws.getCallerIdentity({});
|
|
17
|
+
* const currentGetPartition = aws.getPartition({});
|
|
18
|
+
* const fooBucket = new aws.s3.Bucket("foo_bucket", {bucket: "example-bucket-foo"});
|
|
19
|
+
* const example = new aws.s3control.MultiRegionAccessPoint("example", {details: {
|
|
20
|
+
* name: "example",
|
|
21
|
+
* regions: [{
|
|
22
|
+
* bucket: fooBucket.id,
|
|
23
|
+
* }],
|
|
24
|
+
* }});
|
|
25
|
+
* const exampleMultiRegionAccessPointPolicy = new aws.s3control.MultiRegionAccessPointPolicy("example", {details: {
|
|
26
|
+
* name: std.splitOutput({
|
|
27
|
+
* separator: ":",
|
|
28
|
+
* text: example.id,
|
|
29
|
+
* }).apply(invoke => invoke.result)[1],
|
|
30
|
+
* policy: pulumi.jsonStringify({
|
|
31
|
+
* Version: "2012-10-17",
|
|
32
|
+
* Statement: [{
|
|
33
|
+
* Sid: "Example",
|
|
34
|
+
* Effect: "Allow",
|
|
35
|
+
* Principal: {
|
|
36
|
+
* AWS: current.then(current => current.accountId),
|
|
37
|
+
* },
|
|
38
|
+
* Action: [
|
|
39
|
+
* "s3:GetObject",
|
|
40
|
+
* "s3:PutObject",
|
|
41
|
+
* ],
|
|
42
|
+
* Resource: pulumi.all([currentGetPartition, current, example.alias]).apply(([currentGetPartition, current, alias]) => `arn:${currentGetPartition.partition}:s3::${current.accountId}:accesspoint/${alias}/object/*`),
|
|
43
|
+
* }],
|
|
44
|
+
* }),
|
|
45
|
+
* }});
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
9
48
|
* ## Import
|
|
10
49
|
*
|
|
11
50
|
* Using `pulumi import`, import Multi-Region Access Point Policies using the `account_id` and `name` of the Multi-Region Access Point separated by a colon (`:`). For example:
|
|
@@ -10,6 +10,45 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ### Basic Example
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
* import * as std from "@pulumi/std";
|
|
19
|
+
*
|
|
20
|
+
* const current = aws.getCallerIdentity({});
|
|
21
|
+
* const currentGetPartition = aws.getPartition({});
|
|
22
|
+
* const fooBucket = new aws.s3.Bucket("foo_bucket", {bucket: "example-bucket-foo"});
|
|
23
|
+
* const example = new aws.s3control.MultiRegionAccessPoint("example", {details: {
|
|
24
|
+
* name: "example",
|
|
25
|
+
* regions: [{
|
|
26
|
+
* bucket: fooBucket.id,
|
|
27
|
+
* }],
|
|
28
|
+
* }});
|
|
29
|
+
* const exampleMultiRegionAccessPointPolicy = new aws.s3control.MultiRegionAccessPointPolicy("example", {details: {
|
|
30
|
+
* name: std.splitOutput({
|
|
31
|
+
* separator: ":",
|
|
32
|
+
* text: example.id,
|
|
33
|
+
* }).apply(invoke => invoke.result)[1],
|
|
34
|
+
* policy: pulumi.jsonStringify({
|
|
35
|
+
* Version: "2012-10-17",
|
|
36
|
+
* Statement: [{
|
|
37
|
+
* Sid: "Example",
|
|
38
|
+
* Effect: "Allow",
|
|
39
|
+
* Principal: {
|
|
40
|
+
* AWS: current.then(current => current.accountId),
|
|
41
|
+
* },
|
|
42
|
+
* Action: [
|
|
43
|
+
* "s3:GetObject",
|
|
44
|
+
* "s3:PutObject",
|
|
45
|
+
* ],
|
|
46
|
+
* Resource: pulumi.all([currentGetPartition, current, example.alias]).apply(([currentGetPartition, current, alias]) => `arn:${currentGetPartition.partition}:s3::${current.accountId}:accesspoint/${alias}/object/*`),
|
|
47
|
+
* }],
|
|
48
|
+
* }),
|
|
49
|
+
* }});
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
13
52
|
* ## Import
|
|
14
53
|
*
|
|
15
54
|
* Using `pulumi import`, import Multi-Region Access Point Policies using the `account_id` and `name` of the Multi-Region Access Point separated by a colon (`:`). For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiRegionAccessPointPolicy.js","sourceRoot":"","sources":["../../s3control/multiRegionAccessPointPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"multiRegionAccessPointPolicy.js","sourceRoot":"","sources":["../../s3control/multiRegionAccessPointPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC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,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AAhFL,oEAiFC;AAnEG,gBAAgB;AACO,yCAAY,GAAG,yEAAyE,CAAC"}
|
package/s3tables/table.d.ts
CHANGED
|
@@ -167,6 +167,18 @@ export declare class Table extends pulumi.CustomResource {
|
|
|
167
167
|
* The following arguments are optional:
|
|
168
168
|
*/
|
|
169
169
|
readonly tableBucketArn: pulumi.Output<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
172
|
+
*/
|
|
173
|
+
readonly tags: pulumi.Output<{
|
|
174
|
+
[key: string]: string;
|
|
175
|
+
} | undefined>;
|
|
176
|
+
/**
|
|
177
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
178
|
+
*/
|
|
179
|
+
readonly tagsAll: pulumi.Output<{
|
|
180
|
+
[key: string]: string;
|
|
181
|
+
}>;
|
|
170
182
|
/**
|
|
171
183
|
* Type of the table.
|
|
172
184
|
* One of `customer` or `aws`.
|
|
@@ -264,6 +276,18 @@ export interface TableState {
|
|
|
264
276
|
* The following arguments are optional:
|
|
265
277
|
*/
|
|
266
278
|
tableBucketArn?: pulumi.Input<string>;
|
|
279
|
+
/**
|
|
280
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
281
|
+
*/
|
|
282
|
+
tags?: pulumi.Input<{
|
|
283
|
+
[key: string]: pulumi.Input<string>;
|
|
284
|
+
}>;
|
|
285
|
+
/**
|
|
286
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
287
|
+
*/
|
|
288
|
+
tagsAll?: pulumi.Input<{
|
|
289
|
+
[key: string]: pulumi.Input<string>;
|
|
290
|
+
}>;
|
|
267
291
|
/**
|
|
268
292
|
* Type of the table.
|
|
269
293
|
* One of `customer` or `aws`.
|
|
@@ -325,4 +349,10 @@ export interface TableArgs {
|
|
|
325
349
|
* The following arguments are optional:
|
|
326
350
|
*/
|
|
327
351
|
tableBucketArn: pulumi.Input<string>;
|
|
352
|
+
/**
|
|
353
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
354
|
+
*/
|
|
355
|
+
tags?: pulumi.Input<{
|
|
356
|
+
[key: string]: pulumi.Input<string>;
|
|
357
|
+
}>;
|
|
328
358
|
}
|
package/s3tables/table.js
CHANGED
|
@@ -127,6 +127,8 @@ class Table extends pulumi.CustomResource {
|
|
|
127
127
|
resourceInputs["ownerAccountId"] = state?.ownerAccountId;
|
|
128
128
|
resourceInputs["region"] = state?.region;
|
|
129
129
|
resourceInputs["tableBucketArn"] = state?.tableBucketArn;
|
|
130
|
+
resourceInputs["tags"] = state?.tags;
|
|
131
|
+
resourceInputs["tagsAll"] = state?.tagsAll;
|
|
130
132
|
resourceInputs["type"] = state?.type;
|
|
131
133
|
resourceInputs["versionToken"] = state?.versionToken;
|
|
132
134
|
resourceInputs["warehouseLocation"] = state?.warehouseLocation;
|
|
@@ -150,6 +152,7 @@ class Table extends pulumi.CustomResource {
|
|
|
150
152
|
resourceInputs["namespace"] = args?.namespace;
|
|
151
153
|
resourceInputs["region"] = args?.region;
|
|
152
154
|
resourceInputs["tableBucketArn"] = args?.tableBucketArn;
|
|
155
|
+
resourceInputs["tags"] = args?.tags;
|
|
153
156
|
resourceInputs["arn"] = undefined /*out*/;
|
|
154
157
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
155
158
|
resourceInputs["createdBy"] = undefined /*out*/;
|
|
@@ -157,6 +160,7 @@ class Table extends pulumi.CustomResource {
|
|
|
157
160
|
resourceInputs["modifiedAt"] = undefined /*out*/;
|
|
158
161
|
resourceInputs["modifiedBy"] = undefined /*out*/;
|
|
159
162
|
resourceInputs["ownerAccountId"] = undefined /*out*/;
|
|
163
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
160
164
|
resourceInputs["type"] = undefined /*out*/;
|
|
161
165
|
resourceInputs["versionToken"] = undefined /*out*/;
|
|
162
166
|
resourceInputs["warehouseLocation"] = undefined /*out*/;
|