@pulumi/aws 6.18.0 → 6.18.2
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 +3 -3
- package/alb/getTargetGroup.d.ts +4 -1
- package/alb/getTargetGroup.js +1 -0
- package/alb/getTargetGroup.js.map +1 -1
- package/alb/targetGroup.d.ts +15 -3
- package/alb/targetGroup.js +2 -0
- package/alb/targetGroup.js.map +1 -1
- package/amp/getWorkspace.d.ts +4 -0
- package/amp/getWorkspace.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/scraper.d.ts +133 -0
- package/amp/scraper.js +77 -0
- package/amp/scraper.js.map +1 -0
- package/amp/workspace.d.ts +27 -0
- package/amp/workspace.js +17 -0
- package/amp/workspace.js.map +1 -1
- package/apigateway/methodResponse.d.ts +79 -25
- package/apigateway/methodResponse.js +55 -1
- package/apigateway/methodResponse.js.map +1 -1
- package/appstream/fleet.d.ts +3 -3
- package/batch/computeEnvironment.d.ts +37 -0
- package/batch/computeEnvironment.js +27 -0
- package/batch/computeEnvironment.js.map +1 -1
- package/batch/getComputeEnvironment.d.ts +5 -0
- package/batch/getComputeEnvironment.js.map +1 -1
- package/batch/jobDefinition.d.ts +37 -5
- package/batch/jobDefinition.js +6 -0
- package/batch/jobDefinition.js.map +1 -1
- package/cfg/rule.d.ts +6 -6
- package/cloud9/environmentEC2.d.ts +14 -5
- package/cloud9/environmentEC2.js +7 -1
- package/cloud9/environmentEC2.js.map +1 -1
- package/cloudtrail/getServiceAccount.d.ts +4 -0
- package/cloudtrail/getServiceAccount.js +4 -0
- package/cloudtrail/getServiceAccount.js.map +1 -1
- package/codebuild/project.d.ts +6 -6
- package/codepipeline/pipeline.d.ts +29 -2
- package/codepipeline/pipeline.js +9 -2
- package/codepipeline/pipeline.js.map +1 -1
- package/dms/endpoint.d.ts +12 -6
- package/dms/endpoint.js.map +1 -1
- package/dms/replicationTask.d.ts +7 -7
- package/dms/replicationTask.js +1 -1
- package/docdb/clusterInstance.d.ts +3 -3
- package/docdb/elasticCluster.d.ts +23 -0
- package/docdb/elasticCluster.js +14 -0
- package/docdb/elasticCluster.js.map +1 -1
- package/ebs/fastSnapshotRestore.d.ts +97 -0
- package/ebs/fastSnapshotRestore.js +85 -0
- package/ebs/fastSnapshotRestore.js.map +1 -0
- package/ebs/index.d.ts +3 -0
- package/ebs/index.js +6 -1
- package/ebs/index.js.map +1 -1
- package/ec2/instance.d.ts +1 -1
- package/ec2/instance.js +1 -1
- package/ec2/managedPrefixListEntry.d.ts +3 -3
- package/ec2/networkAclAssociation.d.ts +8 -0
- package/ec2/networkAclAssociation.js +8 -0
- package/ec2/networkAclAssociation.js.map +1 -1
- package/ec2/route.d.ts +1 -3
- package/ec2/route.js +1 -3
- package/ec2/route.js.map +1 -1
- package/ec2/securityGroup.d.ts +27 -16
- package/ec2/securityGroup.js +27 -16
- package/ec2/securityGroup.js.map +1 -1
- package/ec2transitgateway/getAttachments.d.ts +44 -0
- package/ec2transitgateway/getAttachments.js +44 -0
- package/ec2transitgateway/getAttachments.js.map +1 -1
- package/ecr/getImage.d.ts +4 -0
- package/ecr/getImage.js.map +1 -1
- package/efs/fileSystem.d.ts +12 -0
- package/efs/fileSystem.js +2 -0
- package/efs/fileSystem.js.map +1 -1
- package/efs/getFileSystem.d.ts +1 -0
- package/efs/getFileSystem.js.map +1 -1
- package/efs/replicationConfiguration.d.ts +21 -5
- package/efs/replicationConfiguration.js +17 -1
- package/efs/replicationConfiguration.js.map +1 -1
- package/eks/accessEntry.d.ts +179 -0
- package/eks/accessEntry.js +102 -0
- package/eks/accessEntry.js.map +1 -0
- package/eks/accessPolicyAssociation.d.ts +130 -0
- package/eks/accessPolicyAssociation.js +99 -0
- package/eks/accessPolicyAssociation.js.map +1 -0
- package/eks/cluster.d.ts +31 -0
- package/eks/cluster.js +21 -0
- package/eks/cluster.js.map +1 -1
- package/eks/getAccessEntry.d.ts +111 -0
- package/eks/getAccessEntry.js +53 -0
- package/eks/getAccessEntry.js.map +1 -0
- package/eks/getCluster.d.ts +4 -0
- package/eks/getCluster.js.map +1 -1
- package/eks/index.d.ts +9 -0
- package/eks/index.js +14 -1
- package/eks/index.js.map +1 -1
- package/elasticache/index.d.ts +3 -0
- package/elasticache/index.js +6 -1
- package/elasticache/index.js.map +1 -1
- package/elasticache/serverlessCache.d.ts +343 -0
- package/elasticache/serverlessCache.js +157 -0
- package/elasticache/serverlessCache.js.map +1 -0
- package/finspace/kxCluster.d.ts +3 -0
- package/finspace/kxCluster.js.map +1 -1
- package/finspace/kxDataview.d.ts +0 -19
- package/finspace/kxDataview.js +0 -19
- package/finspace/kxDataview.js.map +1 -1
- package/fsx/getOntapFileSystem.d.ts +9 -1
- package/fsx/getOntapFileSystem.js.map +1 -1
- package/fsx/ontapFileSystem.d.ts +32 -8
- package/fsx/ontapFileSystem.js +4 -3
- package/fsx/ontapFileSystem.js.map +1 -1
- package/imagebuilder/index.d.ts +3 -0
- package/imagebuilder/index.js +6 -1
- package/imagebuilder/index.js.map +1 -1
- package/imagebuilder/workflow.d.ts +245 -0
- package/imagebuilder/workflow.js +134 -0
- package/imagebuilder/workflow.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/kinesis/index.d.ts +3 -0
- package/kinesis/index.js +6 -1
- package/kinesis/index.js.map +1 -1
- package/kinesis/resourcePolicy.d.ts +102 -0
- package/kinesis/resourcePolicy.js +99 -0
- package/kinesis/resourcePolicy.js.map +1 -0
- package/kms/key.d.ts +12 -0
- package/kms/key.js +2 -0
- package/kms/key.js.map +1 -1
- package/lakeformation/resource.d.ts +33 -12
- package/lakeformation/resource.js +6 -1
- package/lakeformation/resource.js.map +1 -1
- package/lambda/function.d.ts +15 -1
- package/lambda/function.js +5 -1
- package/lambda/function.js.map +1 -1
- package/lambda/functionUrl.d.ts +2 -2
- package/lambda/getFunction.d.ts +4 -0
- package/lambda/getFunction.js.map +1 -1
- package/lambda/getFunctionUrl.d.ts +1 -1
- package/lambda/lambdaMixins.d.ts +1 -1
- package/lb/getTargetGroup.d.ts +4 -1
- package/lb/getTargetGroup.js +1 -0
- package/lb/getTargetGroup.js.map +1 -1
- package/lb/targetGroup.d.ts +15 -3
- package/lb/targetGroup.js +2 -0
- package/lb/targetGroup.js.map +1 -1
- package/lb/trustStore.d.ts +3 -3
- package/lb/trustStoreRevocation.d.ts +3 -3
- package/lex/index.d.ts +3 -0
- package/lex/index.js +6 -1
- package/lex/index.js.map +1 -1
- package/lex/v2modelsBotVersion.d.ts +3 -3
- package/lex/v2modelsIntent.d.ts +263 -0
- package/lex/v2modelsIntent.js +105 -0
- package/lex/v2modelsIntent.js.map +1 -0
- package/mq/getBrokerEngineTypes.d.ts +69 -0
- package/mq/getBrokerEngineTypes.js +50 -0
- package/mq/getBrokerEngineTypes.js.map +1 -0
- package/mq/index.d.ts +3 -0
- package/mq/index.js +4 -1
- package/mq/index.js.map +1 -1
- package/msk/getBootstrapBrokers.d.ts +77 -0
- package/msk/getBootstrapBrokers.js +25 -0
- package/msk/getBootstrapBrokers.js.map +1 -0
- package/msk/index.d.ts +3 -0
- package/msk/index.js +4 -1
- package/msk/index.js.map +1 -1
- package/neptune/cluster.d.ts +12 -0
- package/neptune/cluster.js +2 -0
- package/neptune/cluster.js.map +1 -1
- package/neptune/clusterInstance.d.ts +8 -0
- package/neptune/clusterInstance.js +2 -0
- package/neptune/clusterInstance.js.map +1 -1
- package/networkfirewall/firewall.d.ts +9 -28
- package/networkfirewall/firewall.js +0 -19
- package/networkfirewall/firewall.js.map +1 -1
- package/networkfirewall/firewallPolicy.d.ts +1 -0
- package/networkfirewall/firewallPolicy.js +1 -0
- package/networkfirewall/firewallPolicy.js.map +1 -1
- package/networkfirewall/getFirewall.d.ts +3 -3
- package/package.json +1 -2
- package/package.json.bak +0 -1
- package/rds/optionGroup.d.ts +3 -3
- package/rds/parameterGroup.d.ts +6 -6
- package/redshiftserverless/workgroup.d.ts +12 -0
- package/redshiftserverless/workgroup.js +2 -0
- package/redshiftserverless/workgroup.js.map +1 -1
- package/route53/getResolverEndpoint.d.ts +2 -0
- package/route53/getResolverEndpoint.js.map +1 -1
- package/route53/resolverEndpoint.d.ts +28 -0
- package/route53/resolverEndpoint.js +8 -0
- package/route53/resolverEndpoint.js.map +1 -1
- package/s3/bucket.d.ts +2 -0
- package/s3/bucket.js +2 -0
- package/s3/bucket.js.map +1 -1
- package/s3/bucketAclV2.d.ts +3 -3
- package/s3/bucketObjectLockConfigurationV2.d.ts +4 -42
- package/s3/bucketObjectLockConfigurationV2.js +4 -42
- package/s3/bucketObjectLockConfigurationV2.js.map +1 -1
- package/s3/bucketV2.d.ts +2 -0
- package/s3/bucketV2.js +2 -0
- package/s3/bucketV2.js.map +1 -1
- package/secretsmanager/getRandomPassword.d.ts +0 -8
- package/secretsmanager/getRandomPassword.js +0 -1
- package/secretsmanager/getRandomPassword.js.map +1 -1
- package/secretsmanager/getSecret.d.ts +20 -0
- package/secretsmanager/getSecret.js +1 -0
- package/secretsmanager/getSecret.js.map +1 -1
- package/secretsmanager/getSecretVersion.d.ts +4 -0
- package/secretsmanager/getSecretVersion.js.map +1 -1
- package/secretsmanager/secretRotation.d.ts +12 -0
- package/secretsmanager/secretRotation.js +2 -0
- package/secretsmanager/secretRotation.js.map +1 -1
- package/securitylake/awsLogSource.d.ts +76 -0
- package/securitylake/awsLogSource.js +75 -0
- package/securitylake/awsLogSource.js.map +1 -0
- package/securitylake/index.d.ts +3 -0
- package/securitylake/index.js +6 -1
- package/securitylake/index.js.map +1 -1
- package/ses/configurationSet.d.ts +11 -0
- package/ses/configurationSet.js +11 -0
- package/ses/configurationSet.js.map +1 -1
- package/shield/applicationLayerAutomaticResponse.d.ts +3 -1
- package/shield/applicationLayerAutomaticResponse.js +3 -1
- package/shield/applicationLayerAutomaticResponse.js.map +1 -1
- package/sqs/queue.d.ts +11 -3
- package/sqs/queue.js +11 -3
- package/sqs/queue.js.map +1 -1
- package/ssoadmin/applicationAccessScope.d.ts +91 -0
- package/ssoadmin/applicationAccessScope.js +72 -0
- package/ssoadmin/applicationAccessScope.js.map +1 -0
- package/ssoadmin/index.d.ts +3 -0
- package/ssoadmin/index.js +6 -1
- package/ssoadmin/index.js.map +1 -1
- package/transfer/server.d.ts +3 -3
- package/types/enums/ec2/index.d.ts +9 -0
- package/types/enums/ec2/index.js +9 -0
- package/types/enums/ec2/index.js.map +1 -1
- package/types/enums/index.d.ts +1 -0
- package/types/enums/index.js +1 -0
- package/types/enums/index.js.map +1 -1
- package/types/enums/lambda/index.d.ts +32 -0
- package/types/enums/lambda/index.js +32 -0
- package/types/enums/lambda/index.js.map +1 -1
- package/types/input.d.ts +10969 -293
- package/types/output.d.ts +11010 -296
- package/verifiedaccess/endpoint.d.ts +12 -0
- package/verifiedaccess/endpoint.js +2 -0
- package/verifiedaccess/endpoint.js.map +1 -1
- package/verifiedaccess/group.d.ts +9 -0
- package/verifiedaccess/group.js.map +1 -1
- package/verifiedpermissions/getPolicyStore.d.ts +76 -0
- package/verifiedpermissions/getPolicyStore.js +49 -0
- package/verifiedpermissions/getPolicyStore.js.map +1 -0
- package/verifiedpermissions/index.d.ts +12 -0
- package/verifiedpermissions/index.js +35 -0
- package/verifiedpermissions/index.js.map +1 -0
- package/verifiedpermissions/policyStore.d.ts +97 -0
- package/verifiedpermissions/policyStore.js +74 -0
- package/verifiedpermissions/policyStore.js.map +1 -0
- package/verifiedpermissions/policyTemplate.d.ts +118 -0
- package/verifiedpermissions/policyTemplate.js +87 -0
- package/verifiedpermissions/policyTemplate.js.map +1 -0
- package/verifiedpermissions/schema.d.ts +79 -0
- package/verifiedpermissions/schema.js +65 -0
- package/verifiedpermissions/schema.js.map +1 -0
|
@@ -75,7 +75,7 @@ export declare class Analyzer extends pulumi.CustomResource {
|
|
|
75
75
|
[key: string]: string;
|
|
76
76
|
}>;
|
|
77
77
|
/**
|
|
78
|
-
* Type of Analyzer. Valid values are `ACCOUNT`
|
|
78
|
+
* Type of Analyzer. Valid values are `ACCOUNT`, `ORGANIZATION`, `ACCOUNT_UNUSED_ACCESS `, `ORGANIZATION_UNUSED_ACCESS`. Defaults to `ACCOUNT`.
|
|
79
79
|
*/
|
|
80
80
|
readonly type: pulumi.Output<string | undefined>;
|
|
81
81
|
/**
|
|
@@ -116,7 +116,7 @@ export interface AnalyzerState {
|
|
|
116
116
|
[key: string]: pulumi.Input<string>;
|
|
117
117
|
}>;
|
|
118
118
|
/**
|
|
119
|
-
* Type of Analyzer. Valid values are `ACCOUNT`
|
|
119
|
+
* Type of Analyzer. Valid values are `ACCOUNT`, `ORGANIZATION`, `ACCOUNT_UNUSED_ACCESS `, `ORGANIZATION_UNUSED_ACCESS`. Defaults to `ACCOUNT`.
|
|
120
120
|
*/
|
|
121
121
|
type?: pulumi.Input<string>;
|
|
122
122
|
}
|
|
@@ -137,7 +137,7 @@ export interface AnalyzerArgs {
|
|
|
137
137
|
[key: string]: pulumi.Input<string>;
|
|
138
138
|
}>;
|
|
139
139
|
/**
|
|
140
|
-
* Type of Analyzer. Valid values are `ACCOUNT`
|
|
140
|
+
* Type of Analyzer. Valid values are `ACCOUNT`, `ORGANIZATION`, `ACCOUNT_UNUSED_ACCESS `, `ORGANIZATION_UNUSED_ACCESS`. Defaults to `ACCOUNT`.
|
|
141
141
|
*/
|
|
142
142
|
type?: pulumi.Input<string>;
|
|
143
143
|
}
|
package/alb/getTargetGroup.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export interface GetTargetGroupArgs {
|
|
|
33
33
|
* Full ARN of the target group.
|
|
34
34
|
*/
|
|
35
35
|
arn?: string;
|
|
36
|
+
loadBalancingAnomalyMitigation?: string;
|
|
36
37
|
/**
|
|
37
38
|
* Unique name of the target group.
|
|
38
39
|
*/
|
|
@@ -53,7 +54,7 @@ export interface GetTargetGroupResult {
|
|
|
53
54
|
readonly arn: string;
|
|
54
55
|
readonly arnSuffix: string;
|
|
55
56
|
readonly connectionTermination: boolean;
|
|
56
|
-
readonly deregistrationDelay:
|
|
57
|
+
readonly deregistrationDelay: string;
|
|
57
58
|
readonly healthCheck: outputs.alb.GetTargetGroupHealthCheck;
|
|
58
59
|
/**
|
|
59
60
|
* The provider-assigned unique ID for this managed resource.
|
|
@@ -61,6 +62,7 @@ export interface GetTargetGroupResult {
|
|
|
61
62
|
readonly id: string;
|
|
62
63
|
readonly lambdaMultiValueHeadersEnabled: boolean;
|
|
63
64
|
readonly loadBalancingAlgorithmType: string;
|
|
65
|
+
readonly loadBalancingAnomalyMitigation: string;
|
|
64
66
|
readonly loadBalancingCrossZoneEnabled: string;
|
|
65
67
|
readonly name: string;
|
|
66
68
|
readonly port: number;
|
|
@@ -109,6 +111,7 @@ export interface GetTargetGroupOutputArgs {
|
|
|
109
111
|
* Full ARN of the target group.
|
|
110
112
|
*/
|
|
111
113
|
arn?: pulumi.Input<string>;
|
|
114
|
+
loadBalancingAnomalyMitigation?: pulumi.Input<string>;
|
|
112
115
|
/**
|
|
113
116
|
* Unique name of the target group.
|
|
114
117
|
*/
|
package/alb/getTargetGroup.js
CHANGED
|
@@ -34,6 +34,7 @@ function getTargetGroup(args, opts) {
|
|
|
34
34
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
35
35
|
return pulumi.runtime.invoke("aws:alb/getTargetGroup:getTargetGroup", {
|
|
36
36
|
"arn": args.arn,
|
|
37
|
+
"loadBalancingAnomalyMitigation": args.loadBalancingAnomalyMitigation,
|
|
37
38
|
"name": args.name,
|
|
38
39
|
"tags": args.tags,
|
|
39
40
|
}, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTargetGroup.js","sourceRoot":"","sources":["../../alb/getTargetGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAA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AAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
package/alb/targetGroup.d.ts
CHANGED
|
@@ -124,9 +124,13 @@ export declare class TargetGroup extends pulumi.CustomResource {
|
|
|
124
124
|
*/
|
|
125
125
|
readonly lambdaMultiValueHeadersEnabled: pulumi.Output<boolean | undefined>;
|
|
126
126
|
/**
|
|
127
|
-
* Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups. The value is `roundRobin` or `
|
|
127
|
+
* Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups. The value is `roundRobin`, `leastOutstandingRequests`, or `weightedRandom`. The default is `roundRobin`.
|
|
128
128
|
*/
|
|
129
129
|
readonly loadBalancingAlgorithmType: pulumi.Output<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Determines whether to enable target anomaly mitigation. Target anomaly mitigation is only supported by the `weightedRandom` load balancing algorithm type. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#automatic-target-weights) for more information. The value is `"on"` or `"off"`. The default is `"off"`.
|
|
132
|
+
*/
|
|
133
|
+
readonly loadBalancingAnomalyMitigation: pulumi.Output<string>;
|
|
130
134
|
/**
|
|
131
135
|
* Indicates whether cross zone load balancing is enabled. The value is `"true"`, `"false"` or `"useLoadBalancerConfiguration"`. The default is `"useLoadBalancerConfiguration"`.
|
|
132
136
|
*/
|
|
@@ -252,9 +256,13 @@ export interface TargetGroupState {
|
|
|
252
256
|
*/
|
|
253
257
|
lambdaMultiValueHeadersEnabled?: pulumi.Input<boolean>;
|
|
254
258
|
/**
|
|
255
|
-
* Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups. The value is `roundRobin` or `
|
|
259
|
+
* Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups. The value is `roundRobin`, `leastOutstandingRequests`, or `weightedRandom`. The default is `roundRobin`.
|
|
256
260
|
*/
|
|
257
261
|
loadBalancingAlgorithmType?: pulumi.Input<string>;
|
|
262
|
+
/**
|
|
263
|
+
* Determines whether to enable target anomaly mitigation. Target anomaly mitigation is only supported by the `weightedRandom` load balancing algorithm type. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#automatic-target-weights) for more information. The value is `"on"` or `"off"`. The default is `"off"`.
|
|
264
|
+
*/
|
|
265
|
+
loadBalancingAnomalyMitigation?: pulumi.Input<string>;
|
|
258
266
|
/**
|
|
259
267
|
* Indicates whether cross zone load balancing is enabled. The value is `"true"`, `"false"` or `"useLoadBalancerConfiguration"`. The default is `"useLoadBalancerConfiguration"`.
|
|
260
268
|
*/
|
|
@@ -364,9 +372,13 @@ export interface TargetGroupArgs {
|
|
|
364
372
|
*/
|
|
365
373
|
lambdaMultiValueHeadersEnabled?: pulumi.Input<boolean>;
|
|
366
374
|
/**
|
|
367
|
-
* Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups. The value is `roundRobin` or `
|
|
375
|
+
* Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups. The value is `roundRobin`, `leastOutstandingRequests`, or `weightedRandom`. The default is `roundRobin`.
|
|
368
376
|
*/
|
|
369
377
|
loadBalancingAlgorithmType?: pulumi.Input<string>;
|
|
378
|
+
/**
|
|
379
|
+
* Determines whether to enable target anomaly mitigation. Target anomaly mitigation is only supported by the `weightedRandom` load balancing algorithm type. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#automatic-target-weights) for more information. The value is `"on"` or `"off"`. The default is `"off"`.
|
|
380
|
+
*/
|
|
381
|
+
loadBalancingAnomalyMitigation?: pulumi.Input<string>;
|
|
370
382
|
/**
|
|
371
383
|
* Indicates whether cross zone load balancing is enabled. The value is `"true"`, `"false"` or `"useLoadBalancerConfiguration"`. The default is `"useLoadBalancerConfiguration"`.
|
|
372
384
|
*/
|
package/alb/targetGroup.js
CHANGED
|
@@ -119,6 +119,7 @@ class TargetGroup extends pulumi.CustomResource {
|
|
|
119
119
|
resourceInputs["ipAddressType"] = state ? state.ipAddressType : undefined;
|
|
120
120
|
resourceInputs["lambdaMultiValueHeadersEnabled"] = state ? state.lambdaMultiValueHeadersEnabled : undefined;
|
|
121
121
|
resourceInputs["loadBalancingAlgorithmType"] = state ? state.loadBalancingAlgorithmType : undefined;
|
|
122
|
+
resourceInputs["loadBalancingAnomalyMitigation"] = state ? state.loadBalancingAnomalyMitigation : undefined;
|
|
122
123
|
resourceInputs["loadBalancingCrossZoneEnabled"] = state ? state.loadBalancingCrossZoneEnabled : undefined;
|
|
123
124
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
124
125
|
resourceInputs["namePrefix"] = state ? state.namePrefix : undefined;
|
|
@@ -144,6 +145,7 @@ class TargetGroup extends pulumi.CustomResource {
|
|
|
144
145
|
resourceInputs["ipAddressType"] = args ? args.ipAddressType : undefined;
|
|
145
146
|
resourceInputs["lambdaMultiValueHeadersEnabled"] = args ? args.lambdaMultiValueHeadersEnabled : undefined;
|
|
146
147
|
resourceInputs["loadBalancingAlgorithmType"] = args ? args.loadBalancingAlgorithmType : undefined;
|
|
148
|
+
resourceInputs["loadBalancingAnomalyMitigation"] = args ? args.loadBalancingAnomalyMitigation : undefined;
|
|
147
149
|
resourceInputs["loadBalancingCrossZoneEnabled"] = args ? args.loadBalancingCrossZoneEnabled : undefined;
|
|
148
150
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
149
151
|
resourceInputs["namePrefix"] = args ? args.namePrefix : undefined;
|
package/alb/targetGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"targetGroup.js","sourceRoot":"","sources":["../../alb/targetGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AY,GAAG,iCAAiC,CAAC"}
|
package/amp/getWorkspace.d.ts
CHANGED
|
@@ -50,6 +50,10 @@ export interface GetWorkspaceResult {
|
|
|
50
50
|
* The provider-assigned unique ID for this managed resource.
|
|
51
51
|
*/
|
|
52
52
|
readonly id: string;
|
|
53
|
+
/**
|
|
54
|
+
* ARN of the KMS key used to encrypt data in the Prometheus workspace.
|
|
55
|
+
*/
|
|
56
|
+
readonly kmsKeyArn: string;
|
|
53
57
|
/**
|
|
54
58
|
* Endpoint of the Prometheus workspace.
|
|
55
59
|
*/
|
package/amp/getWorkspace.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWorkspace.js","sourceRoot":"","sources":["../../amp/getWorkspace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC;
|
|
1
|
+
{"version":3,"file":"getWorkspace.js","sourceRoot":"","sources":["../../amp/getWorkspace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC;AAsDD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
package/amp/index.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ export declare const getWorkspacesOutput: typeof import("./getWorkspaces").getWo
|
|
|
10
10
|
export { RuleGroupNamespaceArgs, RuleGroupNamespaceState } from "./ruleGroupNamespace";
|
|
11
11
|
export type RuleGroupNamespace = import("./ruleGroupNamespace").RuleGroupNamespace;
|
|
12
12
|
export declare const RuleGroupNamespace: typeof import("./ruleGroupNamespace").RuleGroupNamespace;
|
|
13
|
+
export { ScraperArgs, ScraperState } from "./scraper";
|
|
14
|
+
export type Scraper = import("./scraper").Scraper;
|
|
15
|
+
export declare const Scraper: typeof import("./scraper").Scraper;
|
|
13
16
|
export { WorkspaceArgs, WorkspaceState } from "./workspace";
|
|
14
17
|
export type Workspace = import("./workspace").Workspace;
|
|
15
18
|
export declare const Workspace: typeof import("./workspace").Workspace;
|
package/amp/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Workspace = exports.RuleGroupNamespace = exports.getWorkspacesOutput = exports.getWorkspaces = exports.getWorkspaceOutput = exports.getWorkspace = exports.AlertManagerDefinition = void 0;
|
|
5
|
+
exports.Workspace = exports.Scraper = exports.RuleGroupNamespace = exports.getWorkspacesOutput = exports.getWorkspaces = exports.getWorkspaceOutput = exports.getWorkspace = exports.AlertManagerDefinition = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.AlertManagerDefinition = null;
|
|
@@ -15,6 +15,8 @@ exports.getWorkspacesOutput = null;
|
|
|
15
15
|
utilities.lazyLoad(exports, ["getWorkspaces", "getWorkspacesOutput"], () => require("./getWorkspaces"));
|
|
16
16
|
exports.RuleGroupNamespace = null;
|
|
17
17
|
utilities.lazyLoad(exports, ["RuleGroupNamespace"], () => require("./ruleGroupNamespace"));
|
|
18
|
+
exports.Scraper = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["Scraper"], () => require("./scraper"));
|
|
18
20
|
exports.Workspace = null;
|
|
19
21
|
utilities.lazyLoad(exports, ["Workspace"], () => require("./workspace"));
|
|
20
22
|
const _module = {
|
|
@@ -25,6 +27,8 @@ const _module = {
|
|
|
25
27
|
return new exports.AlertManagerDefinition(name, undefined, { urn });
|
|
26
28
|
case "aws:amp/ruleGroupNamespace:RuleGroupNamespace":
|
|
27
29
|
return new exports.RuleGroupNamespace(name, undefined, { urn });
|
|
30
|
+
case "aws:amp/scraper:Scraper":
|
|
31
|
+
return new exports.Scraper(name, undefined, { urn });
|
|
28
32
|
case "aws:amp/workspace:Workspace":
|
|
29
33
|
return new exports.Workspace(name, undefined, { urn });
|
|
30
34
|
default:
|
|
@@ -34,5 +38,6 @@ const _module = {
|
|
|
34
38
|
};
|
|
35
39
|
pulumi.runtime.registerResourceModule("aws", "amp/alertManagerDefinition", _module);
|
|
36
40
|
pulumi.runtime.registerResourceModule("aws", "amp/ruleGroupNamespace", _module);
|
|
41
|
+
pulumi.runtime.registerResourceModule("aws", "amp/scraper", _module);
|
|
37
42
|
pulumi.runtime.registerResourceModule("aws", "amp/workspace", _module);
|
|
38
43
|
//# sourceMappingURL=index.js.map
|
package/amp/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../amp/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,sBAAsB,GAAqE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAGtF,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGvF,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAI1F,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAI9E,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAGzE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC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G,EAAE,CAAC,CAAA;YACrD,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACpE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA"}
|
package/amp/scraper.d.ts
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* Using `pulumi import`, import the Managed Scraper using its identifier. For example:
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import aws:amp/scraper:Scraper example s-0123abc-0000-0123-a000-000000000000
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class Scraper extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Scraper resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ScraperState, opts?: pulumi.CustomResourceOptions): Scraper;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Scraper. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is Scraper;
|
|
29
|
+
/**
|
|
30
|
+
* a name to associate with the managed scraper. This is for your use, and does not need to be unique.
|
|
31
|
+
*/
|
|
32
|
+
readonly alias: pulumi.Output<string | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* The Amazon Resource Name (ARN) of the new scraper.
|
|
35
|
+
*/
|
|
36
|
+
readonly arn: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Configuration block for the managed scraper to send metrics to. See `destination`.
|
|
39
|
+
*/
|
|
40
|
+
readonly destination: pulumi.Output<outputs.amp.ScraperDestination | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* The configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration).
|
|
43
|
+
*/
|
|
44
|
+
readonly scrapeConfiguration: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Configuration block to specify where the managed scraper will collect metrics from. See `source`.
|
|
47
|
+
*
|
|
48
|
+
* The following arguments are optional:
|
|
49
|
+
*/
|
|
50
|
+
readonly source: pulumi.Output<outputs.amp.ScraperSource | undefined>;
|
|
51
|
+
readonly tags: pulumi.Output<{
|
|
52
|
+
[key: string]: string;
|
|
53
|
+
} | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Please use `tags` instead.
|
|
56
|
+
*/
|
|
57
|
+
readonly tagsAll: pulumi.Output<{
|
|
58
|
+
[key: string]: string;
|
|
59
|
+
}>;
|
|
60
|
+
readonly timeouts: pulumi.Output<outputs.amp.ScraperTimeouts | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* Create a Scraper resource with the given unique name, arguments, and options.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resource.
|
|
65
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
66
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
67
|
+
*/
|
|
68
|
+
constructor(name: string, args: ScraperArgs, opts?: pulumi.CustomResourceOptions);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Input properties used for looking up and filtering Scraper resources.
|
|
72
|
+
*/
|
|
73
|
+
export interface ScraperState {
|
|
74
|
+
/**
|
|
75
|
+
* a name to associate with the managed scraper. This is for your use, and does not need to be unique.
|
|
76
|
+
*/
|
|
77
|
+
alias?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The Amazon Resource Name (ARN) of the new scraper.
|
|
80
|
+
*/
|
|
81
|
+
arn?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Configuration block for the managed scraper to send metrics to. See `destination`.
|
|
84
|
+
*/
|
|
85
|
+
destination?: pulumi.Input<inputs.amp.ScraperDestination>;
|
|
86
|
+
/**
|
|
87
|
+
* The configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration).
|
|
88
|
+
*/
|
|
89
|
+
scrapeConfiguration?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Configuration block to specify where the managed scraper will collect metrics from. See `source`.
|
|
92
|
+
*
|
|
93
|
+
* The following arguments are optional:
|
|
94
|
+
*/
|
|
95
|
+
source?: pulumi.Input<inputs.amp.ScraperSource>;
|
|
96
|
+
tags?: pulumi.Input<{
|
|
97
|
+
[key: string]: pulumi.Input<string>;
|
|
98
|
+
}>;
|
|
99
|
+
/**
|
|
100
|
+
* @deprecated Please use `tags` instead.
|
|
101
|
+
*/
|
|
102
|
+
tagsAll?: pulumi.Input<{
|
|
103
|
+
[key: string]: pulumi.Input<string>;
|
|
104
|
+
}>;
|
|
105
|
+
timeouts?: pulumi.Input<inputs.amp.ScraperTimeouts>;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* The set of arguments for constructing a Scraper resource.
|
|
109
|
+
*/
|
|
110
|
+
export interface ScraperArgs {
|
|
111
|
+
/**
|
|
112
|
+
* a name to associate with the managed scraper. This is for your use, and does not need to be unique.
|
|
113
|
+
*/
|
|
114
|
+
alias?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Configuration block for the managed scraper to send metrics to. See `destination`.
|
|
117
|
+
*/
|
|
118
|
+
destination?: pulumi.Input<inputs.amp.ScraperDestination>;
|
|
119
|
+
/**
|
|
120
|
+
* The configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration).
|
|
121
|
+
*/
|
|
122
|
+
scrapeConfiguration: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Configuration block to specify where the managed scraper will collect metrics from. See `source`.
|
|
125
|
+
*
|
|
126
|
+
* The following arguments are optional:
|
|
127
|
+
*/
|
|
128
|
+
source?: pulumi.Input<inputs.amp.ScraperSource>;
|
|
129
|
+
tags?: pulumi.Input<{
|
|
130
|
+
[key: string]: pulumi.Input<string>;
|
|
131
|
+
}>;
|
|
132
|
+
timeouts?: pulumi.Input<inputs.amp.ScraperTimeouts>;
|
|
133
|
+
}
|
package/amp/scraper.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Scraper = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* Using `pulumi import`, import the Managed Scraper using its identifier. For example:
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import aws:amp/scraper:Scraper example s-0123abc-0000-0123-a000-000000000000
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Scraper extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Scraper resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new Scraper(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Scraper. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === Scraper.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["alias"] = state ? state.alias : undefined;
|
|
46
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
47
|
+
resourceInputs["destination"] = state ? state.destination : undefined;
|
|
48
|
+
resourceInputs["scrapeConfiguration"] = state ? state.scrapeConfiguration : undefined;
|
|
49
|
+
resourceInputs["source"] = state ? state.source : undefined;
|
|
50
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
51
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
52
|
+
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
const args = argsOrState;
|
|
56
|
+
if ((!args || args.scrapeConfiguration === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'scrapeConfiguration'");
|
|
58
|
+
}
|
|
59
|
+
resourceInputs["alias"] = args ? args.alias : undefined;
|
|
60
|
+
resourceInputs["destination"] = args ? args.destination : undefined;
|
|
61
|
+
resourceInputs["scrapeConfiguration"] = args ? args.scrapeConfiguration : undefined;
|
|
62
|
+
resourceInputs["source"] = args ? args.source : undefined;
|
|
63
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
64
|
+
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
65
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
67
|
+
}
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
69
|
+
const secretOpts = { additionalSecretOutputs: ["tagsAll"] };
|
|
70
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
71
|
+
super(Scraper.__pulumiType, name, resourceInputs, opts);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.Scraper = Scraper;
|
|
75
|
+
/** @internal */
|
|
76
|
+
Scraper.__pulumiType = 'aws:amp/scraper:Scraper';
|
|
77
|
+
//# sourceMappingURL=scraper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scraper.js","sourceRoot":"","sources":["../../amp/scraper.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;GAQ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AAC,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAhGL,0BAiGC;AAnFG,gBAAgB;AACO,oBAAY,GAAG,yBAAyB,CAAC"}
|
package/amp/workspace.d.ts
CHANGED
|
@@ -28,6 +28,21 @@ import * as outputs from "../types/output";
|
|
|
28
28
|
* logGroupArn: pulumi.interpolate`${exampleLogGroup.arn}:*`,
|
|
29
29
|
* }});
|
|
30
30
|
* ```
|
|
31
|
+
* ### AWS KMS Customer Managed Keys (CMK)
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as aws from "@pulumi/aws";
|
|
36
|
+
*
|
|
37
|
+
* const exampleKey = new aws.kms.Key("exampleKey", {
|
|
38
|
+
* description: "example",
|
|
39
|
+
* deletionWindowInDays: 7,
|
|
40
|
+
* });
|
|
41
|
+
* const exampleWorkspace = new aws.amp.Workspace("exampleWorkspace", {
|
|
42
|
+
* alias: "example",
|
|
43
|
+
* kmsKeyArn: exampleKey.arn,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
31
46
|
*
|
|
32
47
|
* ## Import
|
|
33
48
|
*
|
|
@@ -61,6 +76,10 @@ export declare class Workspace extends pulumi.CustomResource {
|
|
|
61
76
|
* Amazon Resource Name (ARN) of the workspace.
|
|
62
77
|
*/
|
|
63
78
|
readonly arn: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The ARN for the KMS encryption key. If this argument is not provided, then the AWS owned encryption key will be used to encrypt the data in the workspace. See more [in AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html)
|
|
81
|
+
*/
|
|
82
|
+
readonly kmsKeyArn: pulumi.Output<string | undefined>;
|
|
64
83
|
/**
|
|
65
84
|
* Logging configuration for the workspace. See Logging Configuration below for details.
|
|
66
85
|
*/
|
|
@@ -104,6 +123,10 @@ export interface WorkspaceState {
|
|
|
104
123
|
* Amazon Resource Name (ARN) of the workspace.
|
|
105
124
|
*/
|
|
106
125
|
arn?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The ARN for the KMS encryption key. If this argument is not provided, then the AWS owned encryption key will be used to encrypt the data in the workspace. See more [in AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html)
|
|
128
|
+
*/
|
|
129
|
+
kmsKeyArn?: pulumi.Input<string>;
|
|
107
130
|
/**
|
|
108
131
|
* Logging configuration for the workspace. See Logging Configuration below for details.
|
|
109
132
|
*/
|
|
@@ -135,6 +158,10 @@ export interface WorkspaceArgs {
|
|
|
135
158
|
* The alias of the prometheus workspace. See more [in AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-onboard-create-workspace.html).
|
|
136
159
|
*/
|
|
137
160
|
alias?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* The ARN for the KMS encryption key. If this argument is not provided, then the AWS owned encryption key will be used to encrypt the data in the workspace. See more [in AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html)
|
|
163
|
+
*/
|
|
164
|
+
kmsKeyArn?: pulumi.Input<string>;
|
|
138
165
|
/**
|
|
139
166
|
* Logging configuration for the workspace. See Logging Configuration below for details.
|
|
140
167
|
*/
|
package/amp/workspace.js
CHANGED
|
@@ -32,6 +32,21 @@ const utilities = require("../utilities");
|
|
|
32
32
|
* logGroupArn: pulumi.interpolate`${exampleLogGroup.arn}:*`,
|
|
33
33
|
* }});
|
|
34
34
|
* ```
|
|
35
|
+
* ### AWS KMS Customer Managed Keys (CMK)
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as aws from "@pulumi/aws";
|
|
40
|
+
*
|
|
41
|
+
* const exampleKey = new aws.kms.Key("exampleKey", {
|
|
42
|
+
* description: "example",
|
|
43
|
+
* deletionWindowInDays: 7,
|
|
44
|
+
* });
|
|
45
|
+
* const exampleWorkspace = new aws.amp.Workspace("exampleWorkspace", {
|
|
46
|
+
* alias: "example",
|
|
47
|
+
* kmsKeyArn: exampleKey.arn,
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
35
50
|
*
|
|
36
51
|
* ## Import
|
|
37
52
|
*
|
|
@@ -71,6 +86,7 @@ class Workspace extends pulumi.CustomResource {
|
|
|
71
86
|
const state = argsOrState;
|
|
72
87
|
resourceInputs["alias"] = state ? state.alias : undefined;
|
|
73
88
|
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
89
|
+
resourceInputs["kmsKeyArn"] = state ? state.kmsKeyArn : undefined;
|
|
74
90
|
resourceInputs["loggingConfiguration"] = state ? state.loggingConfiguration : undefined;
|
|
75
91
|
resourceInputs["prometheusEndpoint"] = state ? state.prometheusEndpoint : undefined;
|
|
76
92
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
@@ -79,6 +95,7 @@ class Workspace extends pulumi.CustomResource {
|
|
|
79
95
|
else {
|
|
80
96
|
const args = argsOrState;
|
|
81
97
|
resourceInputs["alias"] = args ? args.alias : undefined;
|
|
98
|
+
resourceInputs["kmsKeyArn"] = args ? args.kmsKeyArn : undefined;
|
|
82
99
|
resourceInputs["loggingConfiguration"] = args ? args.loggingConfiguration : undefined;
|
|
83
100
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
84
101
|
resourceInputs["arn"] = undefined /*out*/;
|
package/amp/workspace.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../amp/workspace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../amp/workspace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAyCD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,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