@pulumi/aws 7.0.0-alpha.2 → 7.0.0-rc.1
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/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/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/bucketPolicy.d.ts +2 -0
- package/s3/bucketPolicy.js +2 -0
- package/s3/bucketPolicy.js.map +1 -1
- package/s3/directoryBucket.d.ts +30 -0
- package/s3/directoryBucket.js +4 -0
- package/s3/directoryBucket.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/input.d.ts +217 -26
- package/types/input.js.map +1 -1
- package/types/output.d.ts +209 -25
- package/types/output.js.map +1 -1
package/s3/bucketPolicy.js
CHANGED
|
@@ -41,6 +41,8 @@ const utilities = require("../utilities");
|
|
|
41
41
|
* });
|
|
42
42
|
* ```
|
|
43
43
|
*
|
|
44
|
+
* > Only one `aws.s3.BucketPolicy` resource should be defined per S3 bucket. Defining multiple `aws.s3.BucketPolicy` resources with different Pulumi names but the same `bucket` value may result in unexpected policy overwrites. Each resource uses the `PutBucketPolicy` API, which replaces the entire existing policy without error or warning. Because Pulumi treats each resource independently, the policy applied last will silently override any previously applied policy.
|
|
45
|
+
*
|
|
44
46
|
* ## Import
|
|
45
47
|
*
|
|
46
48
|
* Using `pulumi import`, import S3 bucket policies using the bucket name. For example:
|
package/s3/bucketPolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bucketPolicy.js","sourceRoot":"","sources":["../../s3/bucketPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"bucketPolicy.js","sourceRoot":"","sources":["../../s3/bucketPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAA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AC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAvEL,oCAwEC;AA1DG,gBAAgB;AACO,yBAAY,GAAG,kCAAkC,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,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,K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C,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAxGL,0CAyGC;AA3FG,gBAAgB;AACO,4BAAY,GAAG,wCAAwC,CAAC"}
|
package/s3tables/table.d.ts
CHANGED
|
@@ -25,6 +25,53 @@ import * as outputs from "../types/output";
|
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
27
|
*
|
|
28
|
+
* ### With Metadata Schema
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as aws from "@pulumi/aws";
|
|
33
|
+
*
|
|
34
|
+
* const exampleTableBucket = new aws.s3tables.TableBucket("example", {name: "example-bucket"});
|
|
35
|
+
* const exampleNamespace = new aws.s3tables.Namespace("example", {
|
|
36
|
+
* namespace: "example_namespace",
|
|
37
|
+
* tableBucketArn: exampleTableBucket.arn,
|
|
38
|
+
* });
|
|
39
|
+
* const example = new aws.s3tables.Table("example", {
|
|
40
|
+
* name: "example_table",
|
|
41
|
+
* namespace: exampleNamespace.namespace,
|
|
42
|
+
* tableBucketArn: exampleNamespace.tableBucketArn,
|
|
43
|
+
* format: "ICEBERG",
|
|
44
|
+
* metadata: {
|
|
45
|
+
* iceberg: {
|
|
46
|
+
* schema: {
|
|
47
|
+
* fields: [
|
|
48
|
+
* {
|
|
49
|
+
* name: "id",
|
|
50
|
+
* type: "long",
|
|
51
|
+
* required: true,
|
|
52
|
+
* },
|
|
53
|
+
* {
|
|
54
|
+
* name: "name",
|
|
55
|
+
* type: "string",
|
|
56
|
+
* required: true,
|
|
57
|
+
* },
|
|
58
|
+
* {
|
|
59
|
+
* name: "created_at",
|
|
60
|
+
* type: "timestamp",
|
|
61
|
+
* required: false,
|
|
62
|
+
* },
|
|
63
|
+
* {
|
|
64
|
+
* name: "price",
|
|
65
|
+
* type: "decimal(10,2)",
|
|
66
|
+
* required: false,
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
28
75
|
* ## Import
|
|
29
76
|
*
|
|
30
77
|
* Using `pulumi import`, import S3 Tables Table using the `table_bucket_arn`, the value of `namespace`, and the value of `name`, separated by a semicolon (`;`). For example:
|
|
@@ -76,6 +123,11 @@ export declare class Table extends pulumi.CustomResource {
|
|
|
76
123
|
* See `maintenanceConfiguration` below.
|
|
77
124
|
*/
|
|
78
125
|
readonly maintenanceConfiguration: pulumi.Output<outputs.s3tables.TableMaintenanceConfiguration>;
|
|
126
|
+
/**
|
|
127
|
+
* Contains details about the table metadata. This configuration specifies the metadata format and schema for the table. Currently only supports Iceberg format.
|
|
128
|
+
* See `metadata` below.
|
|
129
|
+
*/
|
|
130
|
+
readonly metadata: pulumi.Output<outputs.s3tables.TableMetadata | undefined>;
|
|
79
131
|
/**
|
|
80
132
|
* Location of table metadata.
|
|
81
133
|
*/
|
|
@@ -168,6 +220,11 @@ export interface TableState {
|
|
|
168
220
|
* See `maintenanceConfiguration` below.
|
|
169
221
|
*/
|
|
170
222
|
maintenanceConfiguration?: pulumi.Input<inputs.s3tables.TableMaintenanceConfiguration>;
|
|
223
|
+
/**
|
|
224
|
+
* Contains details about the table metadata. This configuration specifies the metadata format and schema for the table. Currently only supports Iceberg format.
|
|
225
|
+
* See `metadata` below.
|
|
226
|
+
*/
|
|
227
|
+
metadata?: pulumi.Input<inputs.s3tables.TableMetadata>;
|
|
171
228
|
/**
|
|
172
229
|
* Location of table metadata.
|
|
173
230
|
*/
|
|
@@ -240,6 +297,11 @@ export interface TableArgs {
|
|
|
240
297
|
* See `maintenanceConfiguration` below.
|
|
241
298
|
*/
|
|
242
299
|
maintenanceConfiguration?: pulumi.Input<inputs.s3tables.TableMaintenanceConfiguration>;
|
|
300
|
+
/**
|
|
301
|
+
* Contains details about the table metadata. This configuration specifies the metadata format and schema for the table. Currently only supports Iceberg format.
|
|
302
|
+
* See `metadata` below.
|
|
303
|
+
*/
|
|
304
|
+
metadata?: pulumi.Input<inputs.s3tables.TableMetadata>;
|
|
243
305
|
/**
|
|
244
306
|
* Name of the table.
|
|
245
307
|
* Must be between 1 and 255 characters in length.
|
package/s3tables/table.js
CHANGED
|
@@ -29,6 +29,53 @@ const utilities = require("../utilities");
|
|
|
29
29
|
* });
|
|
30
30
|
* ```
|
|
31
31
|
*
|
|
32
|
+
* ### With Metadata Schema
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as aws from "@pulumi/aws";
|
|
37
|
+
*
|
|
38
|
+
* const exampleTableBucket = new aws.s3tables.TableBucket("example", {name: "example-bucket"});
|
|
39
|
+
* const exampleNamespace = new aws.s3tables.Namespace("example", {
|
|
40
|
+
* namespace: "example_namespace",
|
|
41
|
+
* tableBucketArn: exampleTableBucket.arn,
|
|
42
|
+
* });
|
|
43
|
+
* const example = new aws.s3tables.Table("example", {
|
|
44
|
+
* name: "example_table",
|
|
45
|
+
* namespace: exampleNamespace.namespace,
|
|
46
|
+
* tableBucketArn: exampleNamespace.tableBucketArn,
|
|
47
|
+
* format: "ICEBERG",
|
|
48
|
+
* metadata: {
|
|
49
|
+
* iceberg: {
|
|
50
|
+
* schema: {
|
|
51
|
+
* fields: [
|
|
52
|
+
* {
|
|
53
|
+
* name: "id",
|
|
54
|
+
* type: "long",
|
|
55
|
+
* required: true,
|
|
56
|
+
* },
|
|
57
|
+
* {
|
|
58
|
+
* name: "name",
|
|
59
|
+
* type: "string",
|
|
60
|
+
* required: true,
|
|
61
|
+
* },
|
|
62
|
+
* {
|
|
63
|
+
* name: "created_at",
|
|
64
|
+
* type: "timestamp",
|
|
65
|
+
* required: false,
|
|
66
|
+
* },
|
|
67
|
+
* {
|
|
68
|
+
* name: "price",
|
|
69
|
+
* type: "decimal(10,2)",
|
|
70
|
+
* required: false,
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
32
79
|
* ## Import
|
|
33
80
|
*
|
|
34
81
|
* Using `pulumi import`, import S3 Tables Table using the `table_bucket_arn`, the value of `namespace`, and the value of `name`, separated by a semicolon (`;`). For example:
|
|
@@ -71,6 +118,7 @@ class Table extends pulumi.CustomResource {
|
|
|
71
118
|
resourceInputs["encryptionConfiguration"] = state ? state.encryptionConfiguration : undefined;
|
|
72
119
|
resourceInputs["format"] = state ? state.format : undefined;
|
|
73
120
|
resourceInputs["maintenanceConfiguration"] = state ? state.maintenanceConfiguration : undefined;
|
|
121
|
+
resourceInputs["metadata"] = state ? state.metadata : undefined;
|
|
74
122
|
resourceInputs["metadataLocation"] = state ? state.metadataLocation : undefined;
|
|
75
123
|
resourceInputs["modifiedAt"] = state ? state.modifiedAt : undefined;
|
|
76
124
|
resourceInputs["modifiedBy"] = state ? state.modifiedBy : undefined;
|
|
@@ -97,6 +145,7 @@ class Table extends pulumi.CustomResource {
|
|
|
97
145
|
resourceInputs["encryptionConfiguration"] = args ? args.encryptionConfiguration : undefined;
|
|
98
146
|
resourceInputs["format"] = args ? args.format : undefined;
|
|
99
147
|
resourceInputs["maintenanceConfiguration"] = args ? args.maintenanceConfiguration : undefined;
|
|
148
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
100
149
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
101
150
|
resourceInputs["namespace"] = args ? args.namespace : undefined;
|
|
102
151
|
resourceInputs["region"] = args ? args.region : undefined;
|
package/s3tables/table.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../s3tables/table.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../s3tables/table.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,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,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAhLL,sBAiLC;AAnKG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
|
|
@@ -44,7 +44,7 @@ import * as outputs from "../types/output";
|
|
|
44
44
|
* taskCount: 1,
|
|
45
45
|
* taskDescription: "example",
|
|
46
46
|
* taskTitle: "example",
|
|
47
|
-
* workteamArn: `arn:aws:sagemaker:${current.
|
|
47
|
+
* workteamArn: `arn:aws:sagemaker:${current.region}:394669845002:workteam/public-crowd/default`,
|
|
48
48
|
* publicWorkforceTaskPrice: {
|
|
49
49
|
* amountInUsd: {
|
|
50
50
|
* cents: 1,
|
|
@@ -48,7 +48,7 @@ const utilities = require("../utilities");
|
|
|
48
48
|
* taskCount: 1,
|
|
49
49
|
* taskDescription: "example",
|
|
50
50
|
* taskTitle: "example",
|
|
51
|
-
* workteamArn: `arn:aws:sagemaker:${current.
|
|
51
|
+
* workteamArn: `arn:aws:sagemaker:${current.region}:394669845002:workteam/public-crowd/default`,
|
|
52
52
|
* publicWorkforceTaskPrice: {
|
|
53
53
|
* amountInUsd: {
|
|
54
54
|
* cents: 1,
|
|
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* const example = new aws.securityhub.Account("example", {});
|
|
12
12
|
* const current = aws.getRegion({});
|
|
13
|
-
* const exampleProductSubscription = new aws.securityhub.ProductSubscription("example", {productArn: current.then(current => `arn:aws:securityhub:${current.
|
|
13
|
+
* const exampleProductSubscription = new aws.securityhub.ProductSubscription("example", {productArn: current.then(current => `arn:aws:securityhub:${current.region}:733251395267:product/alertlogic/althreatmanagement`)}, {
|
|
14
14
|
* dependsOn: [example],
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
@@ -16,7 +16,7 @@ const utilities = require("../utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const example = new aws.securityhub.Account("example", {});
|
|
18
18
|
* const current = aws.getRegion({});
|
|
19
|
-
* const exampleProductSubscription = new aws.securityhub.ProductSubscription("example", {productArn: current.then(current => `arn:aws:securityhub:${current.
|
|
19
|
+
* const exampleProductSubscription = new aws.securityhub.ProductSubscription("example", {productArn: current.then(current => `arn:aws:securityhub:${current.region}:733251395267:product/alertlogic/althreatmanagement`)}, {
|
|
20
20
|
* dependsOn: [example],
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
@@ -13,7 +13,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
* const cis = new aws.securityhub.StandardsSubscription("cis", {standardsArn: "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0"}, {
|
|
14
14
|
* dependsOn: [example],
|
|
15
15
|
* });
|
|
16
|
-
* const pci321 = new aws.securityhub.StandardsSubscription("pci_321", {standardsArn: current.then(current => `arn:aws:securityhub:${current.
|
|
16
|
+
* const pci321 = new aws.securityhub.StandardsSubscription("pci_321", {standardsArn: current.then(current => `arn:aws:securityhub:${current.region}::standards/pci-dss/v/3.2.1`)}, {
|
|
17
17
|
* dependsOn: [example],
|
|
18
18
|
* });
|
|
19
19
|
* ```
|
|
@@ -19,7 +19,7 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* const cis = new aws.securityhub.StandardsSubscription("cis", {standardsArn: "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0"}, {
|
|
20
20
|
* dependsOn: [example],
|
|
21
21
|
* });
|
|
22
|
-
* const pci321 = new aws.securityhub.StandardsSubscription("pci_321", {standardsArn: current.then(current => `arn:aws:securityhub:${current.
|
|
22
|
+
* const pci321 = new aws.securityhub.StandardsSubscription("pci_321", {standardsArn: current.then(current => `arn:aws:securityhub:${current.region}::standards/pci-dss/v/3.2.1`)}, {
|
|
23
23
|
* dependsOn: [example],
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
@@ -19,7 +19,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
* ],
|
|
20
20
|
* parameters: {
|
|
21
21
|
* functionName: "func-postgres-rotator",
|
|
22
|
-
* endpoint: Promise.all([currentGetRegion, current]).then(([currentGetRegion, current]) => `secretsmanager.${currentGetRegion.
|
|
22
|
+
* endpoint: Promise.all([currentGetRegion, current]).then(([currentGetRegion, current]) => `secretsmanager.${currentGetRegion.region}.${current.dnsSuffix}`),
|
|
23
23
|
* },
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
@@ -25,7 +25,7 @@ const utilities = require("../utilities");
|
|
|
25
25
|
* ],
|
|
26
26
|
* parameters: {
|
|
27
27
|
* functionName: "func-postgres-rotator",
|
|
28
|
-
* endpoint: Promise.all([currentGetRegion, current]).then(([currentGetRegion, current]) => `secretsmanager.${currentGetRegion.
|
|
28
|
+
* endpoint: Promise.all([currentGetRegion, current]).then(([currentGetRegion, current]) => `secretsmanager.${currentGetRegion.region}.${current.dnsSuffix}`),
|
|
29
29
|
* },
|
|
30
30
|
* });
|
|
31
31
|
* ```
|
|
@@ -13,7 +13,7 @@ import * as outputs from "../types/output";
|
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as aws from "@pulumi/aws";
|
|
15
15
|
*
|
|
16
|
-
* const test = new aws.shield.DrtAccessRoleArnAssociation("test", {roleArn: `arn:aws:iam:${current.
|
|
16
|
+
* const test = new aws.shield.DrtAccessRoleArnAssociation("test", {roleArn: `arn:aws:iam:${current.region}:${currentAwsCallerIdentity.accountId}:${shieldDrtAccessRoleName}`});
|
|
17
17
|
* const testDrtAccessLogBucketAssociation = new aws.shield.DrtAccessLogBucketAssociation("test", {
|
|
18
18
|
* logBucket: shieldDrtAccessLogBucket,
|
|
19
19
|
* roleArnAssociationId: test.id,
|
|
@@ -17,7 +17,7 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
18
|
* import * as aws from "@pulumi/aws";
|
|
19
19
|
*
|
|
20
|
-
* const test = new aws.shield.DrtAccessRoleArnAssociation("test", {roleArn: `arn:aws:iam:${current.
|
|
20
|
+
* const test = new aws.shield.DrtAccessRoleArnAssociation("test", {roleArn: `arn:aws:iam:${current.region}:${currentAwsCallerIdentity.accountId}:${shieldDrtAccessRoleName}`});
|
|
21
21
|
* const testDrtAccessLogBucketAssociation = new aws.shield.DrtAccessLogBucketAssociation("test", {
|
|
22
22
|
* logBucket: shieldDrtAccessLogBucket,
|
|
23
23
|
* roleArnAssociationId: test.id,
|
package/shield/protection.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
* const example = new aws.ec2.Eip("example", {domain: "vpc"});
|
|
18
18
|
* const exampleProtection = new aws.shield.Protection("example", {
|
|
19
19
|
* name: "example",
|
|
20
|
-
* resourceArn: pulumi.all([current, currentGetCallerIdentity, example.id]).apply(([current, currentGetCallerIdentity, id]) => `arn:aws:ec2:${current.
|
|
20
|
+
* resourceArn: pulumi.all([current, currentGetCallerIdentity, example.id]).apply(([current, currentGetCallerIdentity, id]) => `arn:aws:ec2:${current.region}:${currentGetCallerIdentity.accountId}:eip-allocation/${id}`),
|
|
21
21
|
* tags: {
|
|
22
22
|
* Environment: "Dev",
|
|
23
23
|
* },
|
package/shield/protection.js
CHANGED
|
@@ -23,7 +23,7 @@ const utilities = require("../utilities");
|
|
|
23
23
|
* const example = new aws.ec2.Eip("example", {domain: "vpc"});
|
|
24
24
|
* const exampleProtection = new aws.shield.Protection("example", {
|
|
25
25
|
* name: "example",
|
|
26
|
-
* resourceArn: pulumi.all([current, currentGetCallerIdentity, example.id]).apply(([current, currentGetCallerIdentity, id]) => `arn:aws:ec2:${current.
|
|
26
|
+
* resourceArn: pulumi.all([current, currentGetCallerIdentity, example.id]).apply(([current, currentGetCallerIdentity, id]) => `arn:aws:ec2:${current.region}:${currentGetCallerIdentity.accountId}:eip-allocation/${id}`),
|
|
27
27
|
* tags: {
|
|
28
28
|
* Environment: "Dev",
|
|
29
29
|
* },
|
|
@@ -30,13 +30,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
30
|
* const example = new aws.ec2.Eip("example", {domain: "vpc"});
|
|
31
31
|
* const exampleProtection = new aws.shield.Protection("example", {
|
|
32
32
|
* name: "example",
|
|
33
|
-
* resourceArn: pulumi.all([current, currentGetCallerIdentity, example.id]).apply(([current, currentGetCallerIdentity, id]) => `arn:aws:ec2:${current.
|
|
33
|
+
* resourceArn: pulumi.all([current, currentGetCallerIdentity, example.id]).apply(([current, currentGetCallerIdentity, id]) => `arn:aws:ec2:${current.region}:${currentGetCallerIdentity.accountId}:eip-allocation/${id}`),
|
|
34
34
|
* });
|
|
35
35
|
* const exampleProtectionGroup = new aws.shield.ProtectionGroup("example", {
|
|
36
36
|
* protectionGroupId: "example",
|
|
37
37
|
* aggregation: "MEAN",
|
|
38
38
|
* pattern: "ARBITRARY",
|
|
39
|
-
* members: [pulumi.all([current, currentGetCallerIdentity, example.id]).apply(([current, currentGetCallerIdentity, id]) => `arn:aws:ec2:${current.
|
|
39
|
+
* members: [pulumi.all([current, currentGetCallerIdentity, example.id]).apply(([current, currentGetCallerIdentity, id]) => `arn:aws:ec2:${current.region}:${currentGetCallerIdentity.accountId}:eip-allocation/${id}`)],
|
|
40
40
|
* }, {
|
|
41
41
|
* dependsOn: [exampleProtection],
|
|
42
42
|
* });
|
|
@@ -36,13 +36,13 @@ const utilities = require("../utilities");
|
|
|
36
36
|
* const example = new aws.ec2.Eip("example", {domain: "vpc"});
|
|
37
37
|
* const exampleProtection = new aws.shield.Protection("example", {
|
|
38
38
|
* name: "example",
|
|
39
|
-
* resourceArn: pulumi.all([current, currentGetCallerIdentity, example.id]).apply(([current, currentGetCallerIdentity, id]) => `arn:aws:ec2:${current.
|
|
39
|
+
* resourceArn: pulumi.all([current, currentGetCallerIdentity, example.id]).apply(([current, currentGetCallerIdentity, id]) => `arn:aws:ec2:${current.region}:${currentGetCallerIdentity.accountId}:eip-allocation/${id}`),
|
|
40
40
|
* });
|
|
41
41
|
* const exampleProtectionGroup = new aws.shield.ProtectionGroup("example", {
|
|
42
42
|
* protectionGroupId: "example",
|
|
43
43
|
* aggregation: "MEAN",
|
|
44
44
|
* pattern: "ARBITRARY",
|
|
45
|
-
* members: [pulumi.all([current, currentGetCallerIdentity, example.id]).apply(([current, currentGetCallerIdentity, id]) => `arn:aws:ec2:${current.
|
|
45
|
+
* members: [pulumi.all([current, currentGetCallerIdentity, example.id]).apply(([current, currentGetCallerIdentity, id]) => `arn:aws:ec2:${current.region}:${currentGetCallerIdentity.accountId}:eip-allocation/${id}`)],
|
|
46
46
|
* }, {
|
|
47
47
|
* dependsOn: [exampleProtection],
|
|
48
48
|
* });
|
|
@@ -24,7 +24,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
24
|
* });
|
|
25
25
|
* const exampleProtection = new aws.shield.Protection("example", {
|
|
26
26
|
* name: "example-protection",
|
|
27
|
-
* resourceArn: pulumi.all([currentGetPartition, current, currentGetCallerIdentity, example.id]).apply(([currentGetPartition, current, currentGetCallerIdentity, id]) => `arn:${currentGetPartition.partition}:ec2:${current.
|
|
27
|
+
* resourceArn: pulumi.all([currentGetPartition, current, currentGetCallerIdentity, example.id]).apply(([currentGetPartition, current, currentGetCallerIdentity, id]) => `arn:${currentGetPartition.partition}:ec2:${current.region}:${currentGetCallerIdentity.accountId}:eip-allocation/${id}`),
|
|
28
28
|
* });
|
|
29
29
|
* const exampleHealthCheck = new aws.route53.HealthCheck("example", {
|
|
30
30
|
* ipAddress: example.publicIp,
|
|
@@ -30,7 +30,7 @@ const utilities = require("../utilities");
|
|
|
30
30
|
* });
|
|
31
31
|
* const exampleProtection = new aws.shield.Protection("example", {
|
|
32
32
|
* name: "example-protection",
|
|
33
|
-
* resourceArn: pulumi.all([currentGetPartition, current, currentGetCallerIdentity, example.id]).apply(([currentGetPartition, current, currentGetCallerIdentity, id]) => `arn:${currentGetPartition.partition}:ec2:${current.
|
|
33
|
+
* resourceArn: pulumi.all([currentGetPartition, current, currentGetCallerIdentity, example.id]).apply(([currentGetPartition, current, currentGetCallerIdentity, id]) => `arn:${currentGetPartition.partition}:ec2:${current.region}:${currentGetCallerIdentity.accountId}:eip-allocation/${id}`),
|
|
34
34
|
* });
|
|
35
35
|
* const exampleHealthCheck = new aws.route53.HealthCheck("example", {
|
|
36
36
|
* ipAddress: example.publicIp,
|
package/ssm/parameter.d.ts
CHANGED
|
@@ -124,7 +124,7 @@ export declare class Parameter extends pulumi.CustomResource {
|
|
|
124
124
|
/**
|
|
125
125
|
* Parameter tier to assign to the parameter. If not specified, will use the default parameter tier for the region. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. Downgrading an `Advanced` tier parameter to `Standard` will recreate the resource. For more information on parameter tiers, see the [AWS SSM Parameter tier comparison and guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html).
|
|
126
126
|
*/
|
|
127
|
-
readonly tier: pulumi.Output<string
|
|
127
|
+
readonly tier: pulumi.Output<string>;
|
|
128
128
|
/**
|
|
129
129
|
* Type of the parameter. Valid types are `String`, `StringList` and `SecureString`.
|
|
130
130
|
*
|
|
@@ -36,7 +36,7 @@ import * as outputs from "../types/output";
|
|
|
36
36
|
* ConfigurationOptionsPatchOperation: "Scan",
|
|
37
37
|
* ConfigurationOptionsScanValue: "cron(0 1 * * ? *)",
|
|
38
38
|
* ConfigurationOptionsScanNextInterval: "false",
|
|
39
|
-
* PatchBaselineRegion: currentGetRegion.then(currentGetRegion => currentGetRegion.
|
|
39
|
+
* PatchBaselineRegion: currentGetRegion.then(currentGetRegion => currentGetRegion.region),
|
|
40
40
|
* PatchBaselineUseDefault: "default",
|
|
41
41
|
* PatchPolicyName: "example",
|
|
42
42
|
* SelectedPatchBaselines: selectedPatchBaselines,
|
|
@@ -45,7 +45,7 @@ import * as outputs from "../types/output";
|
|
|
45
45
|
* RateControlErrorThreshold: "2%",
|
|
46
46
|
* IsPolicyAttachAllowed: "false",
|
|
47
47
|
* TargetAccounts: current.then(current => current.accountId),
|
|
48
|
-
* TargetRegions: currentGetRegion.then(currentGetRegion => currentGetRegion.
|
|
48
|
+
* TargetRegions: currentGetRegion.then(currentGetRegion => currentGetRegion.region),
|
|
49
49
|
* TargetType: "*",
|
|
50
50
|
* },
|
|
51
51
|
* },
|
|
@@ -40,7 +40,7 @@ const utilities = require("../utilities");
|
|
|
40
40
|
* ConfigurationOptionsPatchOperation: "Scan",
|
|
41
41
|
* ConfigurationOptionsScanValue: "cron(0 1 * * ? *)",
|
|
42
42
|
* ConfigurationOptionsScanNextInterval: "false",
|
|
43
|
-
* PatchBaselineRegion: currentGetRegion.then(currentGetRegion => currentGetRegion.
|
|
43
|
+
* PatchBaselineRegion: currentGetRegion.then(currentGetRegion => currentGetRegion.region),
|
|
44
44
|
* PatchBaselineUseDefault: "default",
|
|
45
45
|
* PatchPolicyName: "example",
|
|
46
46
|
* SelectedPatchBaselines: selectedPatchBaselines,
|
|
@@ -49,7 +49,7 @@ const utilities = require("../utilities");
|
|
|
49
49
|
* RateControlErrorThreshold: "2%",
|
|
50
50
|
* IsPolicyAttachAllowed: "false",
|
|
51
51
|
* TargetAccounts: current.then(current => current.accountId),
|
|
52
|
-
* TargetRegions: currentGetRegion.then(currentGetRegion => currentGetRegion.
|
|
52
|
+
* TargetRegions: currentGetRegion.then(currentGetRegion => currentGetRegion.region),
|
|
53
53
|
* TargetType: "*",
|
|
54
54
|
* },
|
|
55
55
|
* },
|
|
@@ -17,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
* instanceArn: example.then(example => example.arns?.[0]),
|
|
18
18
|
* });
|
|
19
19
|
* const exampleApplicationAccessScope = new aws.ssoadmin.ApplicationAccessScope("example", {
|
|
20
|
-
* applicationArn: exampleApplication.
|
|
20
|
+
* applicationArn: exampleApplication.arn,
|
|
21
21
|
* authorizedTargets: ["arn:aws:sso::123456789012:application/ssoins-123456789012/apl-123456789012"],
|
|
22
22
|
* scope: "sso:account:access",
|
|
23
23
|
* });
|
|
@@ -23,7 +23,7 @@ const utilities = require("../utilities");
|
|
|
23
23
|
* instanceArn: example.then(example => example.arns?.[0]),
|
|
24
24
|
* });
|
|
25
25
|
* const exampleApplicationAccessScope = new aws.ssoadmin.ApplicationAccessScope("example", {
|
|
26
|
-
* applicationArn: exampleApplication.
|
|
26
|
+
* applicationArn: exampleApplication.arn,
|
|
27
27
|
* authorizedTargets: ["arn:aws:sso::123456789012:application/ssoins-123456789012/apl-123456789012"],
|
|
28
28
|
* scope: "sso:account:access",
|
|
29
29
|
* });
|
|
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
* import * as aws from "@pulumi/aws";
|
|
12
12
|
*
|
|
13
13
|
* const example = new aws.ssoadmin.ApplicationAssignment("example", {
|
|
14
|
-
* applicationArn: exampleAwsSsoadminApplication.
|
|
14
|
+
* applicationArn: exampleAwsSsoadminApplication.arn,
|
|
15
15
|
* principalId: exampleAwsIdentitystoreUser.userId,
|
|
16
16
|
* principalType: "USER",
|
|
17
17
|
* });
|
|
@@ -24,7 +24,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
24
|
* import * as aws from "@pulumi/aws";
|
|
25
25
|
*
|
|
26
26
|
* const example = new aws.ssoadmin.ApplicationAssignment("example", {
|
|
27
|
-
* applicationArn: exampleAwsSsoadminApplication.
|
|
27
|
+
* applicationArn: exampleAwsSsoadminApplication.arn,
|
|
28
28
|
* principalId: exampleAwsIdentitystoreGroup.groupId,
|
|
29
29
|
* principalType: "GROUP",
|
|
30
30
|
* });
|
|
@@ -17,7 +17,7 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* import * as aws from "@pulumi/aws";
|
|
18
18
|
*
|
|
19
19
|
* const example = new aws.ssoadmin.ApplicationAssignment("example", {
|
|
20
|
-
* applicationArn: exampleAwsSsoadminApplication.
|
|
20
|
+
* applicationArn: exampleAwsSsoadminApplication.arn,
|
|
21
21
|
* principalId: exampleAwsIdentitystoreUser.userId,
|
|
22
22
|
* principalType: "USER",
|
|
23
23
|
* });
|
|
@@ -30,7 +30,7 @@ const utilities = require("../utilities");
|
|
|
30
30
|
* import * as aws from "@pulumi/aws";
|
|
31
31
|
*
|
|
32
32
|
* const example = new aws.ssoadmin.ApplicationAssignment("example", {
|
|
33
|
-
* applicationArn: exampleAwsSsoadminApplication.
|
|
33
|
+
* applicationArn: exampleAwsSsoadminApplication.arn,
|
|
34
34
|
* principalId: exampleAwsIdentitystoreGroup.groupId,
|
|
35
35
|
* principalType: "GROUP",
|
|
36
36
|
* });
|
|
@@ -16,7 +16,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* import * as aws from "@pulumi/aws";
|
|
17
17
|
*
|
|
18
18
|
* const example = new aws.ssoadmin.ApplicationAssignmentConfiguration("example", {
|
|
19
|
-
* applicationArn: exampleAwsSsoadminApplication.
|
|
19
|
+
* applicationArn: exampleAwsSsoadminApplication.arn,
|
|
20
20
|
* assignmentRequired: true,
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
@@ -22,7 +22,7 @@ const utilities = require("../utilities");
|
|
|
22
22
|
* import * as aws from "@pulumi/aws";
|
|
23
23
|
*
|
|
24
24
|
* const example = new aws.ssoadmin.ApplicationAssignmentConfiguration("example", {
|
|
25
|
-
* applicationArn: exampleAwsSsoadminApplication.
|
|
25
|
+
* applicationArn: exampleAwsSsoadminApplication.arn,
|
|
26
26
|
* assignmentRequired: true,
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
@@ -12,7 +12,7 @@ import * as outputs from "../types/output";
|
|
|
12
12
|
* import * as aws from "@pulumi/aws";
|
|
13
13
|
*
|
|
14
14
|
* const example = aws.ssoadmin.getApplicationAssignments({
|
|
15
|
-
* applicationArn: exampleAwsSsoadminApplication.
|
|
15
|
+
* applicationArn: exampleAwsSsoadminApplication.arn,
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
@@ -57,7 +57,7 @@ export interface GetApplicationAssignmentsResult {
|
|
|
57
57
|
* import * as aws from "@pulumi/aws";
|
|
58
58
|
*
|
|
59
59
|
* const example = aws.ssoadmin.getApplicationAssignments({
|
|
60
|
-
* applicationArn: exampleAwsSsoadminApplication.
|
|
60
|
+
* applicationArn: exampleAwsSsoadminApplication.arn,
|
|
61
61
|
* });
|
|
62
62
|
* ```
|
|
63
63
|
*/
|