@pulumi/aws 7.8.0-alpha.1759766983 → 7.8.0
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/alb/getLoadBalancer.d.ts +1 -0
- package/alb/getLoadBalancer.js.map +1 -1
- package/appconfig/getApplication.d.ts +85 -0
- package/appconfig/getApplication.js +60 -0
- package/appconfig/getApplication.js.map +1 -0
- package/appconfig/index.d.ts +3 -0
- package/appconfig/index.js +4 -1
- package/appconfig/index.js.map +1 -1
- package/cleanrooms/configuredTable.d.ts +15 -3
- package/cleanrooms/configuredTable.js +15 -3
- package/cleanrooms/configuredTable.js.map +1 -1
- package/connect/instance.d.ts +15 -3
- package/connect/instance.js +15 -3
- package/connect/instance.js.map +1 -1
- package/connect/phoneNumber.d.ts +15 -3
- package/connect/phoneNumber.js +15 -3
- package/connect/phoneNumber.js.map +1 -1
- package/dms/endpoint.d.ts +12 -0
- package/dms/endpoint.js +2 -0
- package/dms/endpoint.js.map +1 -1
- package/dms/getEndpoint.d.ts +1 -0
- package/dms/getEndpoint.js.map +1 -1
- package/dsql/cluster.d.ts +19 -1
- package/dsql/cluster.js +2 -0
- package/dsql/cluster.js.map +1 -1
- package/ec2/getInstanceTypeOffering.d.ts +4 -0
- package/ec2/getInstanceTypeOffering.js.map +1 -1
- package/ecs/capacityProvider.d.ts +76 -6
- package/ecs/capacityProvider.js +50 -3
- package/ecs/capacityProvider.js.map +1 -1
- package/ecs/service.d.ts +3 -3
- package/eks/addon.d.ts +2 -2
- package/eks/addon.js +2 -2
- package/eks/cluster.d.ts +2 -2
- package/elasticbeanstalk/configurationTemplate.d.ts +6 -6
- package/elasticbeanstalk/configurationTemplate.js +6 -6
- package/elasticbeanstalk/environment.d.ts +6 -6
- package/elasticbeanstalk/environment.js +6 -6
- package/iam/serviceSpecificCredential.d.ts +68 -8
- package/iam/serviceSpecificCredential.js +27 -1
- package/iam/serviceSpecificCredential.js.map +1 -1
- package/lakeformation/index.d.ts +3 -0
- package/lakeformation/index.js +6 -1
- package/lakeformation/index.js.map +1 -1
- package/lakeformation/lfTagExpression.d.ts +136 -0
- package/lakeformation/lfTagExpression.js +89 -0
- package/lakeformation/lfTagExpression.js.map +1 -0
- package/lambda/alias.d.ts +0 -1
- package/lambda/alias.js +0 -1
- package/lambda/alias.js.map +1 -1
- package/lb/getLoadBalancer.d.ts +1 -0
- package/lb/getLoadBalancer.js.map +1 -1
- package/networkfirewall/loggingConfiguration.d.ts +12 -0
- package/networkfirewall/loggingConfiguration.js +2 -0
- package/networkfirewall/loggingConfiguration.js.map +1 -1
- package/odb/cloudVmCluster.d.ts +15 -11
- package/odb/cloudVmCluster.js +5 -4
- package/odb/cloudVmCluster.js.map +1 -1
- package/odb/getCloudVmCluster.d.ts +26 -4
- package/odb/getCloudVmCluster.js +24 -2
- package/odb/getCloudVmCluster.js.map +1 -1
- package/odb/getDbNode.d.ts +195 -0
- package/odb/getDbNode.js +64 -0
- package/odb/getDbNode.js.map +1 -0
- package/odb/getDbNodes.d.ts +85 -0
- package/odb/getDbNodes.js +60 -0
- package/odb/getDbNodes.js.map +1 -0
- package/odb/getDbServer.d.ts +164 -0
- package/odb/getDbServer.js +64 -0
- package/odb/getDbServer.js.map +1 -0
- package/odb/getDbServers.d.ts +85 -0
- package/odb/getDbServers.js +60 -0
- package/odb/getDbServers.js.map +1 -0
- package/odb/getDbSystemShapes.d.ts +77 -0
- package/odb/getDbSystemShapes.js +58 -0
- package/odb/getDbSystemShapes.js.map +1 -0
- package/odb/getGiVersions.d.ts +59 -0
- package/odb/getGiVersions.js +40 -0
- package/odb/getGiVersions.js.map +1 -0
- package/odb/index.d.ts +18 -0
- package/odb/index.js +19 -1
- package/odb/index.js.map +1 -1
- package/opensearch/domain.d.ts +3 -0
- package/opensearch/domain.js +2 -0
- package/opensearch/domain.js.map +1 -1
- package/package.json +2 -2
- package/pinpoint/smsvoicev2PhoneNumber.d.ts +3 -3
- package/rds/getProxy.d.ts +4 -0
- package/rds/getProxy.js.map +1 -1
- package/rds/proxy.d.ts +17 -5
- package/rds/proxy.js +2 -3
- package/rds/proxy.js.map +1 -1
- package/route53/zone.d.ts +18 -3
- package/route53/zone.js +18 -3
- package/route53/zone.js.map +1 -1
- package/route53recoverycontrol/cluster.d.ts +48 -0
- package/route53recoverycontrol/cluster.js +6 -0
- package/route53recoverycontrol/cluster.js.map +1 -1
- package/route53recoverycontrol/controlPanel.d.ts +36 -0
- package/route53recoverycontrol/controlPanel.js +4 -0
- package/route53recoverycontrol/controlPanel.js.map +1 -1
- package/route53recoverycontrol/safetyRule.d.ts +30 -0
- package/route53recoverycontrol/safetyRule.js +4 -0
- package/route53recoverycontrol/safetyRule.js.map +1 -1
- package/s3/bucketLifecycleConfiguration.d.ts +1 -4
- package/s3/bucketLifecycleConfiguration.js +1 -4
- package/s3/bucketLifecycleConfiguration.js.map +1 -1
- package/s3/bucketLifecycleConfigurationV2.d.ts +1 -4
- package/s3/bucketLifecycleConfigurationV2.js +1 -4
- package/s3/bucketLifecycleConfigurationV2.js.map +1 -1
- package/s3control/bucket.d.ts +9 -3
- package/s3control/bucket.js +9 -3
- package/s3control/bucket.js.map +1 -1
- package/sfn/activity.d.ts +13 -3
- package/sfn/activity.js +5 -1
- package/sfn/activity.js.map +1 -1
- package/sfn/alias.d.ts +2 -0
- package/sfn/alias.js +2 -0
- package/sfn/alias.js.map +1 -1
- package/ssmcontacts/contactChannel.d.ts +10 -4
- package/ssmcontacts/contactChannel.js +10 -4
- package/ssmcontacts/contactChannel.js.map +1 -1
- package/types/input.d.ts +256 -9
- package/types/input.js.map +1 -1
- package/types/output.d.ts +484 -22
- package/types/output.js.map +1 -1
|
@@ -6,8 +6,12 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Associating an ECS Capacity Provider to an Auto Scaling Group will automatically add the `AmazonECSManaged` tag to the Auto Scaling Group. This tag should be included in the `aws.autoscaling.Group` resource configuration to prevent the provider from removing it in subsequent executions as well as ensuring the `AmazonECSManaged` tag is propagated to all EC2 Instances in the Auto Scaling Group if `minSize` is above 0 on creation. Any EC2 Instances in the Auto Scaling Group without this tag must be manually be updated, otherwise they may cause unexpected scaling behavior and metrics.
|
|
8
8
|
*
|
|
9
|
+
* > **NOTE:** You must specify exactly one of `autoScalingGroupProvider` or `managedInstancesProvider`. When using `managedInstancesProvider`, the `cluster` parameter is required. When using `autoScalingGroupProvider`, the `cluster` parameter must not be set.
|
|
10
|
+
*
|
|
9
11
|
* ## Example Usage
|
|
10
12
|
*
|
|
13
|
+
* ### Auto Scaling Group Provider
|
|
14
|
+
*
|
|
11
15
|
* ```typescript
|
|
12
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
17
|
* import * as aws from "@pulumi/aws";
|
|
@@ -32,6 +36,48 @@ import * as outputs from "../types/output";
|
|
|
32
36
|
* });
|
|
33
37
|
* ```
|
|
34
38
|
*
|
|
39
|
+
* ### Managed Instances Provider
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as aws from "@pulumi/aws";
|
|
44
|
+
*
|
|
45
|
+
* const example = new aws.ecs.CapacityProvider("example", {
|
|
46
|
+
* name: "example",
|
|
47
|
+
* cluster: "my-cluster",
|
|
48
|
+
* managedInstancesProvider: {
|
|
49
|
+
* infrastructureRoleArn: ecsInfrastructure.arn,
|
|
50
|
+
* propagateTags: "TASK_DEFINITION",
|
|
51
|
+
* instanceLaunchTemplate: {
|
|
52
|
+
* ec2InstanceProfileArn: ecsInstance.arn,
|
|
53
|
+
* monitoring: "ENABLED",
|
|
54
|
+
* networkConfiguration: {
|
|
55
|
+
* subnets: [exampleAwsSubnet.id],
|
|
56
|
+
* securityGroups: [exampleAwsSecurityGroup.id],
|
|
57
|
+
* },
|
|
58
|
+
* storageConfiguration: {
|
|
59
|
+
* storageSizeGib: 30,
|
|
60
|
+
* },
|
|
61
|
+
* instanceRequirements: {
|
|
62
|
+
* memoryMib: {
|
|
63
|
+
* min: 1024,
|
|
64
|
+
* max: 8192,
|
|
65
|
+
* },
|
|
66
|
+
* vcpuCount: {
|
|
67
|
+
* min: 1,
|
|
68
|
+
* max: 4,
|
|
69
|
+
* },
|
|
70
|
+
* instanceGenerations: ["current"],
|
|
71
|
+
* cpuManufacturers: [
|
|
72
|
+
* "intel",
|
|
73
|
+
* "amd",
|
|
74
|
+
* ],
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
35
81
|
* ## Import
|
|
36
82
|
*
|
|
37
83
|
* ### Identity Schema
|
|
@@ -67,9 +113,17 @@ export declare class CapacityProvider extends pulumi.CustomResource {
|
|
|
67
113
|
*/
|
|
68
114
|
readonly arn: pulumi.Output<string>;
|
|
69
115
|
/**
|
|
70
|
-
* Configuration block for the provider for the ECS auto scaling group. Detailed below.
|
|
116
|
+
* Configuration block for the provider for the ECS auto scaling group. Detailed below. Exactly one of `autoScalingGroupProvider` or `managedInstancesProvider` must be specified.
|
|
71
117
|
*/
|
|
72
|
-
readonly autoScalingGroupProvider: pulumi.Output<outputs.ecs.CapacityProviderAutoScalingGroupProvider>;
|
|
118
|
+
readonly autoScalingGroupProvider: pulumi.Output<outputs.ecs.CapacityProviderAutoScalingGroupProvider | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* Name of the ECS cluster. Required when using `managedInstancesProvider`. Must not be set when using `autoScalingGroupProvider`.
|
|
121
|
+
*/
|
|
122
|
+
readonly cluster: pulumi.Output<string | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Configuration block for the managed instances provider. Detailed below. Exactly one of `autoScalingGroupProvider` or `managedInstancesProvider` must be specified.
|
|
125
|
+
*/
|
|
126
|
+
readonly managedInstancesProvider: pulumi.Output<outputs.ecs.CapacityProviderManagedInstancesProvider | undefined>;
|
|
73
127
|
/**
|
|
74
128
|
* Name of the capacity provider.
|
|
75
129
|
*/
|
|
@@ -97,7 +151,7 @@ export declare class CapacityProvider extends pulumi.CustomResource {
|
|
|
97
151
|
* @param args The arguments to use to populate this resource's properties.
|
|
98
152
|
* @param opts A bag of options that control this resource's behavior.
|
|
99
153
|
*/
|
|
100
|
-
constructor(name: string, args
|
|
154
|
+
constructor(name: string, args?: CapacityProviderArgs, opts?: pulumi.CustomResourceOptions);
|
|
101
155
|
}
|
|
102
156
|
/**
|
|
103
157
|
* Input properties used for looking up and filtering CapacityProvider resources.
|
|
@@ -108,9 +162,17 @@ export interface CapacityProviderState {
|
|
|
108
162
|
*/
|
|
109
163
|
arn?: pulumi.Input<string>;
|
|
110
164
|
/**
|
|
111
|
-
* Configuration block for the provider for the ECS auto scaling group. Detailed below.
|
|
165
|
+
* Configuration block for the provider for the ECS auto scaling group. Detailed below. Exactly one of `autoScalingGroupProvider` or `managedInstancesProvider` must be specified.
|
|
112
166
|
*/
|
|
113
167
|
autoScalingGroupProvider?: pulumi.Input<inputs.ecs.CapacityProviderAutoScalingGroupProvider>;
|
|
168
|
+
/**
|
|
169
|
+
* Name of the ECS cluster. Required when using `managedInstancesProvider`. Must not be set when using `autoScalingGroupProvider`.
|
|
170
|
+
*/
|
|
171
|
+
cluster?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Configuration block for the managed instances provider. Detailed below. Exactly one of `autoScalingGroupProvider` or `managedInstancesProvider` must be specified.
|
|
174
|
+
*/
|
|
175
|
+
managedInstancesProvider?: pulumi.Input<inputs.ecs.CapacityProviderManagedInstancesProvider>;
|
|
114
176
|
/**
|
|
115
177
|
* Name of the capacity provider.
|
|
116
178
|
*/
|
|
@@ -137,9 +199,17 @@ export interface CapacityProviderState {
|
|
|
137
199
|
*/
|
|
138
200
|
export interface CapacityProviderArgs {
|
|
139
201
|
/**
|
|
140
|
-
* Configuration block for the provider for the ECS auto scaling group. Detailed below.
|
|
202
|
+
* Configuration block for the provider for the ECS auto scaling group. Detailed below. Exactly one of `autoScalingGroupProvider` or `managedInstancesProvider` must be specified.
|
|
203
|
+
*/
|
|
204
|
+
autoScalingGroupProvider?: pulumi.Input<inputs.ecs.CapacityProviderAutoScalingGroupProvider>;
|
|
205
|
+
/**
|
|
206
|
+
* Name of the ECS cluster. Required when using `managedInstancesProvider`. Must not be set when using `autoScalingGroupProvider`.
|
|
207
|
+
*/
|
|
208
|
+
cluster?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* Configuration block for the managed instances provider. Detailed below. Exactly one of `autoScalingGroupProvider` or `managedInstancesProvider` must be specified.
|
|
141
211
|
*/
|
|
142
|
-
|
|
212
|
+
managedInstancesProvider?: pulumi.Input<inputs.ecs.CapacityProviderManagedInstancesProvider>;
|
|
143
213
|
/**
|
|
144
214
|
* Name of the capacity provider.
|
|
145
215
|
*/
|
package/ecs/capacityProvider.js
CHANGED
|
@@ -10,8 +10,12 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** Associating an ECS Capacity Provider to an Auto Scaling Group will automatically add the `AmazonECSManaged` tag to the Auto Scaling Group. This tag should be included in the `aws.autoscaling.Group` resource configuration to prevent the provider from removing it in subsequent executions as well as ensuring the `AmazonECSManaged` tag is propagated to all EC2 Instances in the Auto Scaling Group if `minSize` is above 0 on creation. Any EC2 Instances in the Auto Scaling Group without this tag must be manually be updated, otherwise they may cause unexpected scaling behavior and metrics.
|
|
12
12
|
*
|
|
13
|
+
* > **NOTE:** You must specify exactly one of `autoScalingGroupProvider` or `managedInstancesProvider`. When using `managedInstancesProvider`, the `cluster` parameter is required. When using `autoScalingGroupProvider`, the `cluster` parameter must not be set.
|
|
14
|
+
*
|
|
13
15
|
* ## Example Usage
|
|
14
16
|
*
|
|
17
|
+
* ### Auto Scaling Group Provider
|
|
18
|
+
*
|
|
15
19
|
* ```typescript
|
|
16
20
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
21
|
* import * as aws from "@pulumi/aws";
|
|
@@ -36,6 +40,48 @@ const utilities = require("../utilities");
|
|
|
36
40
|
* });
|
|
37
41
|
* ```
|
|
38
42
|
*
|
|
43
|
+
* ### Managed Instances Provider
|
|
44
|
+
*
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as aws from "@pulumi/aws";
|
|
48
|
+
*
|
|
49
|
+
* const example = new aws.ecs.CapacityProvider("example", {
|
|
50
|
+
* name: "example",
|
|
51
|
+
* cluster: "my-cluster",
|
|
52
|
+
* managedInstancesProvider: {
|
|
53
|
+
* infrastructureRoleArn: ecsInfrastructure.arn,
|
|
54
|
+
* propagateTags: "TASK_DEFINITION",
|
|
55
|
+
* instanceLaunchTemplate: {
|
|
56
|
+
* ec2InstanceProfileArn: ecsInstance.arn,
|
|
57
|
+
* monitoring: "ENABLED",
|
|
58
|
+
* networkConfiguration: {
|
|
59
|
+
* subnets: [exampleAwsSubnet.id],
|
|
60
|
+
* securityGroups: [exampleAwsSecurityGroup.id],
|
|
61
|
+
* },
|
|
62
|
+
* storageConfiguration: {
|
|
63
|
+
* storageSizeGib: 30,
|
|
64
|
+
* },
|
|
65
|
+
* instanceRequirements: {
|
|
66
|
+
* memoryMib: {
|
|
67
|
+
* min: 1024,
|
|
68
|
+
* max: 8192,
|
|
69
|
+
* },
|
|
70
|
+
* vcpuCount: {
|
|
71
|
+
* min: 1,
|
|
72
|
+
* max: 4,
|
|
73
|
+
* },
|
|
74
|
+
* instanceGenerations: ["current"],
|
|
75
|
+
* cpuManufacturers: [
|
|
76
|
+
* "intel",
|
|
77
|
+
* "amd",
|
|
78
|
+
* ],
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
39
85
|
* ## Import
|
|
40
86
|
*
|
|
41
87
|
* ### Identity Schema
|
|
@@ -80,6 +126,8 @@ class CapacityProvider extends pulumi.CustomResource {
|
|
|
80
126
|
const state = argsOrState;
|
|
81
127
|
resourceInputs["arn"] = state?.arn;
|
|
82
128
|
resourceInputs["autoScalingGroupProvider"] = state?.autoScalingGroupProvider;
|
|
129
|
+
resourceInputs["cluster"] = state?.cluster;
|
|
130
|
+
resourceInputs["managedInstancesProvider"] = state?.managedInstancesProvider;
|
|
83
131
|
resourceInputs["name"] = state?.name;
|
|
84
132
|
resourceInputs["region"] = state?.region;
|
|
85
133
|
resourceInputs["tags"] = state?.tags;
|
|
@@ -87,10 +135,9 @@ class CapacityProvider extends pulumi.CustomResource {
|
|
|
87
135
|
}
|
|
88
136
|
else {
|
|
89
137
|
const args = argsOrState;
|
|
90
|
-
if (args?.autoScalingGroupProvider === undefined && !opts.urn) {
|
|
91
|
-
throw new Error("Missing required property 'autoScalingGroupProvider'");
|
|
92
|
-
}
|
|
93
138
|
resourceInputs["autoScalingGroupProvider"] = args?.autoScalingGroupProvider;
|
|
139
|
+
resourceInputs["cluster"] = args?.cluster;
|
|
140
|
+
resourceInputs["managedInstancesProvider"] = args?.managedInstancesProvider;
|
|
94
141
|
resourceInputs["name"] = args?.name;
|
|
95
142
|
resourceInputs["region"] = args?.region;
|
|
96
143
|
resourceInputs["tags"] = args?.tags;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capacityProvider.js","sourceRoot":"","sources":["../../ecs/capacityProvider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"capacityProvider.js","sourceRoot":"","sources":["../../ecs/capacityProvider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0FG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA2CD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;YACnC,cAAc,CAAC,0BAA0B,CAAC,GAAG,KAAK,EAAE,wBAAwB,CAAC;YAC7E,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,0BAA0B,CAAC,GAAG,KAAK,EAAE,wBAAwB,CAAC;YAC7E,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;SAC9C;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,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,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA/FL,4CAgGC;AAlFG,gBAAgB;AACO,6BAAY,GAAG,2CAA2C,CAAC"}
|
package/ecs/service.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ export declare class Service extends pulumi.CustomResource {
|
|
|
165
165
|
*/
|
|
166
166
|
readonly availabilityZoneRebalancing: pulumi.Output<string>;
|
|
167
167
|
/**
|
|
168
|
-
* Capacity provider strategies to use for the service. Can be one or more.
|
|
168
|
+
* Capacity provider strategies to use for the service. Can be one or more. Updating this argument requires `forceNewDeployment = true`. See below. Conflicts with `launchType`.
|
|
169
169
|
*/
|
|
170
170
|
readonly capacityProviderStrategies: pulumi.Output<outputs.ecs.ServiceCapacityProviderStrategy[] | undefined>;
|
|
171
171
|
/**
|
|
@@ -335,7 +335,7 @@ export interface ServiceState {
|
|
|
335
335
|
*/
|
|
336
336
|
availabilityZoneRebalancing?: pulumi.Input<string>;
|
|
337
337
|
/**
|
|
338
|
-
* Capacity provider strategies to use for the service. Can be one or more.
|
|
338
|
+
* Capacity provider strategies to use for the service. Can be one or more. Updating this argument requires `forceNewDeployment = true`. See below. Conflicts with `launchType`.
|
|
339
339
|
*/
|
|
340
340
|
capacityProviderStrategies?: pulumi.Input<pulumi.Input<inputs.ecs.ServiceCapacityProviderStrategy>[]>;
|
|
341
341
|
/**
|
|
@@ -493,7 +493,7 @@ export interface ServiceArgs {
|
|
|
493
493
|
*/
|
|
494
494
|
availabilityZoneRebalancing?: pulumi.Input<string>;
|
|
495
495
|
/**
|
|
496
|
-
* Capacity provider strategies to use for the service. Can be one or more.
|
|
496
|
+
* Capacity provider strategies to use for the service. Can be one or more. Updating this argument requires `forceNewDeployment = true`. See below. Conflicts with `launchType`.
|
|
497
497
|
*/
|
|
498
498
|
capacityProviderStrategies?: pulumi.Input<pulumi.Input<inputs.ecs.ServiceCapacityProviderStrategy>[]>;
|
|
499
499
|
/**
|
package/eks/addon.d.ts
CHANGED
|
@@ -38,8 +38,8 @@ import * as outputs from "../types/output";
|
|
|
38
38
|
*
|
|
39
39
|
* > **Note:** `configurationValues` is a single JSON string should match the valid JSON schema for each add-on with specific version.
|
|
40
40
|
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
41
|
+
* You can use [describe-addon-configuration](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-configuration.html) to extract each add-on's JSON schema.
|
|
42
|
+
* Here's an example command to extract the `configurationValues` schema for `coredns`.
|
|
43
43
|
*
|
|
44
44
|
* Example to create a `coredns` managed addon with custom `configurationValues`.
|
|
45
45
|
*
|
package/eks/addon.js
CHANGED
|
@@ -42,8 +42,8 @@ const utilities = require("../utilities");
|
|
|
42
42
|
*
|
|
43
43
|
* > **Note:** `configurationValues` is a single JSON string should match the valid JSON schema for each add-on with specific version.
|
|
44
44
|
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
45
|
+
* You can use [describe-addon-configuration](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-configuration.html) to extract each add-on's JSON schema.
|
|
46
|
+
* Here's an example command to extract the `configurationValues` schema for `coredns`.
|
|
47
47
|
*
|
|
48
48
|
* Example to create a `coredns` managed addon with custom `configurationValues`.
|
|
49
49
|
*
|
package/eks/cluster.d.ts
CHANGED
|
@@ -320,7 +320,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
320
320
|
/**
|
|
321
321
|
* Configuration block with compute configuration for EKS Auto Mode. Detailed below.
|
|
322
322
|
*/
|
|
323
|
-
readonly computeConfig: pulumi.Output<outputs.eks.ClusterComputeConfig
|
|
323
|
+
readonly computeConfig: pulumi.Output<outputs.eks.ClusterComputeConfig>;
|
|
324
324
|
/**
|
|
325
325
|
* Unix epoch timestamp in seconds for when the cluster was created.
|
|
326
326
|
*/
|
|
@@ -388,7 +388,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
388
388
|
/**
|
|
389
389
|
* Configuration block with storage configuration for EKS Auto Mode. Detailed below.
|
|
390
390
|
*/
|
|
391
|
-
readonly storageConfig: pulumi.Output<outputs.eks.ClusterStorageConfig
|
|
391
|
+
readonly storageConfig: pulumi.Output<outputs.eks.ClusterStorageConfig>;
|
|
392
392
|
/**
|
|
393
393
|
* 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.
|
|
394
394
|
*/
|
|
@@ -12,13 +12,13 @@ import * as outputs from "../types/output";
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as aws from "@pulumi/aws";
|
|
14
14
|
*
|
|
15
|
-
* const
|
|
15
|
+
* const exampleApplication = new aws.elasticbeanstalk.Application("example", {
|
|
16
16
|
* name: "tf-test-name",
|
|
17
17
|
* description: "tf-test-desc",
|
|
18
18
|
* });
|
|
19
|
-
* const
|
|
19
|
+
* const example = new aws.elasticbeanstalk.ConfigurationTemplate("example", {
|
|
20
20
|
* name: "tf-test-template-config",
|
|
21
|
-
* application:
|
|
21
|
+
* application: exampleApplication.name,
|
|
22
22
|
* solutionStackName: "64bit Amazon Linux 2015.09 v2.0.8 running Go 1.4",
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
@@ -27,9 +27,9 @@ import * as outputs from "../types/output";
|
|
|
27
27
|
*
|
|
28
28
|
* The `setting` field supports the following format:
|
|
29
29
|
*
|
|
30
|
-
* * `namespace` -
|
|
31
|
-
* * `name` -
|
|
32
|
-
* * `value` -
|
|
30
|
+
* * `namespace` - (Required) Unique namespace identifying the option's associated AWS resource
|
|
31
|
+
* * `name` - (Required) Name of the configuration option
|
|
32
|
+
* * `value` - (Required) Value for the configuration option
|
|
33
33
|
* * `resource` - (Optional) resource name for [scheduled action](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-autoscalingscheduledaction)
|
|
34
34
|
*/
|
|
35
35
|
export declare class ConfigurationTemplate extends pulumi.CustomResource {
|
|
@@ -16,13 +16,13 @@ const utilities = require("../utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as aws from "@pulumi/aws";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
19
|
+
* const exampleApplication = new aws.elasticbeanstalk.Application("example", {
|
|
20
20
|
* name: "tf-test-name",
|
|
21
21
|
* description: "tf-test-desc",
|
|
22
22
|
* });
|
|
23
|
-
* const
|
|
23
|
+
* const example = new aws.elasticbeanstalk.ConfigurationTemplate("example", {
|
|
24
24
|
* name: "tf-test-template-config",
|
|
25
|
-
* application:
|
|
25
|
+
* application: exampleApplication.name,
|
|
26
26
|
* solutionStackName: "64bit Amazon Linux 2015.09 v2.0.8 running Go 1.4",
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
@@ -31,9 +31,9 @@ const utilities = require("../utilities");
|
|
|
31
31
|
*
|
|
32
32
|
* The `setting` field supports the following format:
|
|
33
33
|
*
|
|
34
|
-
* * `namespace` -
|
|
35
|
-
* * `name` -
|
|
36
|
-
* * `value` -
|
|
34
|
+
* * `namespace` - (Required) Unique namespace identifying the option's associated AWS resource
|
|
35
|
+
* * `name` - (Required) Name of the configuration option
|
|
36
|
+
* * `value` - (Required) Value for the configuration option
|
|
37
37
|
* * `resource` - (Optional) resource name for [scheduled action](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-autoscalingscheduledaction)
|
|
38
38
|
*/
|
|
39
39
|
class ConfigurationTemplate extends pulumi.CustomResource {
|
|
@@ -16,13 +16,13 @@ import { Application, ApplicationVersion } from "./index";
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as aws from "@pulumi/aws";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
19
|
+
* const exampleApplication = new aws.elasticbeanstalk.Application("example", {
|
|
20
20
|
* name: "tf-test-name",
|
|
21
21
|
* description: "tf-test-desc",
|
|
22
22
|
* });
|
|
23
|
-
* const
|
|
23
|
+
* const example = new aws.elasticbeanstalk.Environment("example", {
|
|
24
24
|
* name: "tf-test-name",
|
|
25
|
-
* application:
|
|
25
|
+
* application: exampleApplication.name,
|
|
26
26
|
* solutionStackName: "64bit Amazon Linux 2015.03 v2.0.3 running Go 1.4",
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
@@ -34,9 +34,9 @@ import { Application, ApplicationVersion } from "./index";
|
|
|
34
34
|
*
|
|
35
35
|
* The `setting` and `allSettings` mappings support the following format:
|
|
36
36
|
*
|
|
37
|
-
* * `namespace` -
|
|
38
|
-
* * `name` -
|
|
39
|
-
* * `value` -
|
|
37
|
+
* * `namespace` - (Required) Unique namespace identifying the option's associated AWS resource
|
|
38
|
+
* * `name` - (Required) Name of the configuration option
|
|
39
|
+
* * `value` - (Required) Value for the configuration option
|
|
40
40
|
* * `resource` - (Optional) resource name for [scheduled action](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-autoscalingscheduledaction)
|
|
41
41
|
*
|
|
42
42
|
* ### Example With Options
|
|
@@ -19,13 +19,13 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
20
20
|
* import * as aws from "@pulumi/aws";
|
|
21
21
|
*
|
|
22
|
-
* const
|
|
22
|
+
* const exampleApplication = new aws.elasticbeanstalk.Application("example", {
|
|
23
23
|
* name: "tf-test-name",
|
|
24
24
|
* description: "tf-test-desc",
|
|
25
25
|
* });
|
|
26
|
-
* const
|
|
26
|
+
* const example = new aws.elasticbeanstalk.Environment("example", {
|
|
27
27
|
* name: "tf-test-name",
|
|
28
|
-
* application:
|
|
28
|
+
* application: exampleApplication.name,
|
|
29
29
|
* solutionStackName: "64bit Amazon Linux 2015.03 v2.0.3 running Go 1.4",
|
|
30
30
|
* });
|
|
31
31
|
* ```
|
|
@@ -37,9 +37,9 @@ const utilities = require("../utilities");
|
|
|
37
37
|
*
|
|
38
38
|
* The `setting` and `allSettings` mappings support the following format:
|
|
39
39
|
*
|
|
40
|
-
* * `namespace` -
|
|
41
|
-
* * `name` -
|
|
42
|
-
* * `value` -
|
|
40
|
+
* * `namespace` - (Required) Unique namespace identifying the option's associated AWS resource
|
|
41
|
+
* * `name` - (Required) Name of the configuration option
|
|
42
|
+
* * `value` - (Required) Value for the configuration option
|
|
43
43
|
* * `resource` - (Optional) resource name for [scheduled action](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-autoscalingscheduledaction)
|
|
44
44
|
*
|
|
45
45
|
* ### Example With Options
|
|
@@ -4,6 +4,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* ### Basic Usage
|
|
8
|
+
*
|
|
7
9
|
* ```typescript
|
|
8
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
11
|
* import * as aws from "@pulumi/aws";
|
|
@@ -15,6 +17,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
17
|
* });
|
|
16
18
|
* ```
|
|
17
19
|
*
|
|
20
|
+
* ### Bedrock API Key with Expiration
|
|
21
|
+
*
|
|
22
|
+
* ```typescript
|
|
23
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
24
|
+
* import * as aws from "@pulumi/aws";
|
|
25
|
+
*
|
|
26
|
+
* const example = new aws.iam.User("example", {name: "example"});
|
|
27
|
+
* const bedrock = new aws.iam.ServiceSpecificCredential("bedrock", {
|
|
28
|
+
* serviceName: "bedrock.amazonaws.com",
|
|
29
|
+
* userName: example.name,
|
|
30
|
+
* credentialAgeDays: 30,
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
18
34
|
* ## Import
|
|
19
35
|
*
|
|
20
36
|
* Using `pulumi import`, import IAM Service Specific Credentials using the `service_name:user_name:service_specific_credential_id`. For example:
|
|
@@ -40,11 +56,31 @@ export declare class ServiceSpecificCredential extends pulumi.CustomResource {
|
|
|
40
56
|
*/
|
|
41
57
|
static isInstance(obj: any): obj is ServiceSpecificCredential;
|
|
42
58
|
/**
|
|
43
|
-
* The
|
|
59
|
+
* The date and time, in RFC3339 format, when the service-specific credential was created.
|
|
60
|
+
*/
|
|
61
|
+
readonly createDate: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The number of days until the service specific credential expires. This field is only valid for Bedrock API keys and must be between 1 and 36600 (approximately 100 years). When not specified, the credential will not expire.
|
|
64
|
+
*/
|
|
65
|
+
readonly credentialAgeDays: pulumi.Output<number | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* The date and time, in RFC3339 format, when the service specific credential expires. This field is only present for Bedrock API keys that were created with an expiration period.
|
|
68
|
+
*/
|
|
69
|
+
readonly expirationDate: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* For Bedrock API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information.
|
|
72
|
+
*/
|
|
73
|
+
readonly serviceCredentialAlias: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* For Bedrock API keys, this is the secret portion of the credential that should be used to authenticate API calls. This value is only available when the credential is created.
|
|
76
|
+
*/
|
|
77
|
+
readonly serviceCredentialSecret: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The name of the AWS service that is to be associated with the credentials. The service you specify here is the only service that can be accessed using these credentials. Supported services are `codecommit.amazonaws.com`, `bedrock.amazonaws.com`, and `cassandra.amazonaws.com`.
|
|
44
80
|
*/
|
|
45
81
|
readonly serviceName: pulumi.Output<string>;
|
|
46
82
|
/**
|
|
47
|
-
* The generated password for the service-specific credential.
|
|
83
|
+
* The generated password for the service-specific credential. This value is only available when the credential is created.
|
|
48
84
|
*/
|
|
49
85
|
readonly servicePassword: pulumi.Output<string>;
|
|
50
86
|
/**
|
|
@@ -56,7 +92,7 @@ export declare class ServiceSpecificCredential extends pulumi.CustomResource {
|
|
|
56
92
|
*/
|
|
57
93
|
readonly serviceUserName: pulumi.Output<string>;
|
|
58
94
|
/**
|
|
59
|
-
* The status to be assigned to the service-specific credential. Valid values are `Active` and `
|
|
95
|
+
* The status to be assigned to the service-specific credential. Valid values are `Active`, `Inactive`, and `Expired`. Default value is `Active`. Note that `Expired` is only used for read operations and cannot be set manually.
|
|
60
96
|
*/
|
|
61
97
|
readonly status: pulumi.Output<string | undefined>;
|
|
62
98
|
/**
|
|
@@ -77,11 +113,31 @@ export declare class ServiceSpecificCredential extends pulumi.CustomResource {
|
|
|
77
113
|
*/
|
|
78
114
|
export interface ServiceSpecificCredentialState {
|
|
79
115
|
/**
|
|
80
|
-
* The
|
|
116
|
+
* The date and time, in RFC3339 format, when the service-specific credential was created.
|
|
117
|
+
*/
|
|
118
|
+
createDate?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The number of days until the service specific credential expires. This field is only valid for Bedrock API keys and must be between 1 and 36600 (approximately 100 years). When not specified, the credential will not expire.
|
|
121
|
+
*/
|
|
122
|
+
credentialAgeDays?: pulumi.Input<number>;
|
|
123
|
+
/**
|
|
124
|
+
* The date and time, in RFC3339 format, when the service specific credential expires. This field is only present for Bedrock API keys that were created with an expiration period.
|
|
125
|
+
*/
|
|
126
|
+
expirationDate?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* For Bedrock API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information.
|
|
129
|
+
*/
|
|
130
|
+
serviceCredentialAlias?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* For Bedrock API keys, this is the secret portion of the credential that should be used to authenticate API calls. This value is only available when the credential is created.
|
|
133
|
+
*/
|
|
134
|
+
serviceCredentialSecret?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The name of the AWS service that is to be associated with the credentials. The service you specify here is the only service that can be accessed using these credentials. Supported services are `codecommit.amazonaws.com`, `bedrock.amazonaws.com`, and `cassandra.amazonaws.com`.
|
|
81
137
|
*/
|
|
82
138
|
serviceName?: pulumi.Input<string>;
|
|
83
139
|
/**
|
|
84
|
-
* The generated password for the service-specific credential.
|
|
140
|
+
* The generated password for the service-specific credential. This value is only available when the credential is created.
|
|
85
141
|
*/
|
|
86
142
|
servicePassword?: pulumi.Input<string>;
|
|
87
143
|
/**
|
|
@@ -93,7 +149,7 @@ export interface ServiceSpecificCredentialState {
|
|
|
93
149
|
*/
|
|
94
150
|
serviceUserName?: pulumi.Input<string>;
|
|
95
151
|
/**
|
|
96
|
-
* The status to be assigned to the service-specific credential. Valid values are `Active` and `
|
|
152
|
+
* The status to be assigned to the service-specific credential. Valid values are `Active`, `Inactive`, and `Expired`. Default value is `Active`. Note that `Expired` is only used for read operations and cannot be set manually.
|
|
97
153
|
*/
|
|
98
154
|
status?: pulumi.Input<string>;
|
|
99
155
|
/**
|
|
@@ -106,11 +162,15 @@ export interface ServiceSpecificCredentialState {
|
|
|
106
162
|
*/
|
|
107
163
|
export interface ServiceSpecificCredentialArgs {
|
|
108
164
|
/**
|
|
109
|
-
* The
|
|
165
|
+
* The number of days until the service specific credential expires. This field is only valid for Bedrock API keys and must be between 1 and 36600 (approximately 100 years). When not specified, the credential will not expire.
|
|
166
|
+
*/
|
|
167
|
+
credentialAgeDays?: pulumi.Input<number>;
|
|
168
|
+
/**
|
|
169
|
+
* The name of the AWS service that is to be associated with the credentials. The service you specify here is the only service that can be accessed using these credentials. Supported services are `codecommit.amazonaws.com`, `bedrock.amazonaws.com`, and `cassandra.amazonaws.com`.
|
|
110
170
|
*/
|
|
111
171
|
serviceName: pulumi.Input<string>;
|
|
112
172
|
/**
|
|
113
|
-
* The status to be assigned to the service-specific credential. Valid values are `Active` and `
|
|
173
|
+
* The status to be assigned to the service-specific credential. Valid values are `Active`, `Inactive`, and `Expired`. Default value is `Active`. Note that `Expired` is only used for read operations and cannot be set manually.
|
|
114
174
|
*/
|
|
115
175
|
status?: pulumi.Input<string>;
|
|
116
176
|
/**
|
|
@@ -10,6 +10,8 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
13
15
|
* ```typescript
|
|
14
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
17
|
* import * as aws from "@pulumi/aws";
|
|
@@ -21,6 +23,20 @@ const utilities = require("../utilities");
|
|
|
21
23
|
* });
|
|
22
24
|
* ```
|
|
23
25
|
*
|
|
26
|
+
* ### Bedrock API Key with Expiration
|
|
27
|
+
*
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
30
|
+
* import * as aws from "@pulumi/aws";
|
|
31
|
+
*
|
|
32
|
+
* const example = new aws.iam.User("example", {name: "example"});
|
|
33
|
+
* const bedrock = new aws.iam.ServiceSpecificCredential("bedrock", {
|
|
34
|
+
* serviceName: "bedrock.amazonaws.com",
|
|
35
|
+
* userName: example.name,
|
|
36
|
+
* credentialAgeDays: 30,
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
24
40
|
* ## Import
|
|
25
41
|
*
|
|
26
42
|
* Using `pulumi import`, import IAM Service Specific Credentials using the `service_name:user_name:service_specific_credential_id`. For example:
|
|
@@ -57,6 +73,11 @@ class ServiceSpecificCredential extends pulumi.CustomResource {
|
|
|
57
73
|
opts = opts || {};
|
|
58
74
|
if (opts.id) {
|
|
59
75
|
const state = argsOrState;
|
|
76
|
+
resourceInputs["createDate"] = state?.createDate;
|
|
77
|
+
resourceInputs["credentialAgeDays"] = state?.credentialAgeDays;
|
|
78
|
+
resourceInputs["expirationDate"] = state?.expirationDate;
|
|
79
|
+
resourceInputs["serviceCredentialAlias"] = state?.serviceCredentialAlias;
|
|
80
|
+
resourceInputs["serviceCredentialSecret"] = state?.serviceCredentialSecret;
|
|
60
81
|
resourceInputs["serviceName"] = state?.serviceName;
|
|
61
82
|
resourceInputs["servicePassword"] = state?.servicePassword;
|
|
62
83
|
resourceInputs["serviceSpecificCredentialId"] = state?.serviceSpecificCredentialId;
|
|
@@ -72,15 +93,20 @@ class ServiceSpecificCredential extends pulumi.CustomResource {
|
|
|
72
93
|
if (args?.userName === undefined && !opts.urn) {
|
|
73
94
|
throw new Error("Missing required property 'userName'");
|
|
74
95
|
}
|
|
96
|
+
resourceInputs["credentialAgeDays"] = args?.credentialAgeDays;
|
|
75
97
|
resourceInputs["serviceName"] = args?.serviceName;
|
|
76
98
|
resourceInputs["status"] = args?.status;
|
|
77
99
|
resourceInputs["userName"] = args?.userName;
|
|
100
|
+
resourceInputs["createDate"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["expirationDate"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["serviceCredentialAlias"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["serviceCredentialSecret"] = undefined /*out*/;
|
|
78
104
|
resourceInputs["servicePassword"] = undefined /*out*/;
|
|
79
105
|
resourceInputs["serviceSpecificCredentialId"] = undefined /*out*/;
|
|
80
106
|
resourceInputs["serviceUserName"] = undefined /*out*/;
|
|
81
107
|
}
|
|
82
108
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
-
const secretOpts = { additionalSecretOutputs: ["servicePassword"] };
|
|
109
|
+
const secretOpts = { additionalSecretOutputs: ["serviceCredentialSecret", "servicePassword"] };
|
|
84
110
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
85
111
|
super(ServiceSpecificCredential.__pulumiType, name, resourceInputs, opts);
|
|
86
112
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceSpecificCredential.js","sourceRoot":"","sources":["../../iam/serviceSpecificCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"serviceSpecificCredential.js","sourceRoot":"","sources":["../../iam/serviceSpecificCredential.ts"],"names":[],"mappings":"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"}
|
package/lakeformation/index.d.ts
CHANGED
|
@@ -16,6 +16,9 @@ export declare const getResourceOutput: typeof import("./getResource").getResour
|
|
|
16
16
|
export { LfTagArgs, LfTagState } from "./lfTag";
|
|
17
17
|
export type LfTag = import("./lfTag").LfTag;
|
|
18
18
|
export declare const LfTag: typeof import("./lfTag").LfTag;
|
|
19
|
+
export { LfTagExpressionArgs, LfTagExpressionState } from "./lfTagExpression";
|
|
20
|
+
export type LfTagExpression = import("./lfTagExpression").LfTagExpression;
|
|
21
|
+
export declare const LfTagExpression: typeof import("./lfTagExpression").LfTagExpression;
|
|
19
22
|
export { OptInArgs, OptInState } from "./optIn";
|
|
20
23
|
export type OptIn = import("./optIn").OptIn;
|
|
21
24
|
export declare const OptIn: typeof import("./optIn").OptIn;
|