pulumi-aws 7.11.0__py3-none-any.whl → 7.11.0a1761834890__py3-none-any.whl
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.
- pulumi_aws/__init__.py +0 -8
- pulumi_aws/alb/_inputs.py +27 -353
- pulumi_aws/alb/listener_rule.py +3 -114
- pulumi_aws/alb/outputs.py +17 -266
- pulumi_aws/amplify/app.py +2 -2
- pulumi_aws/apigateway/integration.py +2 -2
- pulumi_aws/apigateway/integration_response.py +2 -2
- pulumi_aws/appstream/get_image.py +10 -10
- pulumi_aws/appstream/outputs.py +4 -4
- pulumi_aws/appsync/function.py +10 -10
- pulumi_aws/appsync/graph_ql_api.py +2 -2
- pulumi_aws/appsync/resolver.py +22 -22
- pulumi_aws/autoscaling/tag.py +0 -48
- pulumi_aws/autoscalingplans/scaling_plan.py +0 -184
- pulumi_aws/bcmdata/export.py +0 -13
- pulumi_aws/bedrock/agentcore_agent_runtime_endpoint.py +0 -8
- pulumi_aws/bedrock/agentcore_gateway.py +14 -14
- pulumi_aws/bedrockmodel/invocation_logging_configuration.py +28 -28
- pulumi_aws/cfg/organization_custom_policy_rule.py +6 -6
- pulumi_aws/cfg/rule.py +20 -20
- pulumi_aws/cloudwatch/event_target.py +6 -6
- pulumi_aws/cloudwatch/metric_alarm.py +2 -2
- pulumi_aws/codebuild/webhook.py +0 -38
- pulumi_aws/codepipeline/webhook.py +0 -148
- pulumi_aws/cognito/identity_pool_provider_principal_tag.py +0 -62
- pulumi_aws/datazone/form_type.py +18 -18
- pulumi_aws/dms/replication_config.py +2 -2
- pulumi_aws/dynamodb/get_table_item.py +2 -2
- pulumi_aws/dynamodb/table_item.py +10 -10
- pulumi_aws/ec2/get_subnets.py +0 -82
- pulumi_aws/ec2/security_group.py +8 -8
- pulumi_aws/ec2/vpc_ipam.py +0 -50
- pulumi_aws/ecr/lifecycle_policy.py +40 -40
- pulumi_aws/ecr/repository_creation_template.py +20 -20
- pulumi_aws/ecrpublic/__init__.py +0 -1
- pulumi_aws/ecrpublic/_inputs.py +0 -54
- pulumi_aws/ecrpublic/outputs.py +0 -116
- pulumi_aws/ecs/get_task_definition.py +18 -18
- pulumi_aws/eks/get_clusters.py +0 -22
- pulumi_aws/elasticsearch/domain.py +34 -34
- pulumi_aws/elasticsearch/domain_policy.py +16 -16
- pulumi_aws/emr/cluster.py +114 -114
- pulumi_aws/emr/instance_group.py +42 -42
- pulumi_aws/emr/security_configuration.py +18 -18
- pulumi_aws/emrserverless/_inputs.py +0 -454
- pulumi_aws/emrserverless/application.py +2 -230
- pulumi_aws/emrserverless/outputs.py +0 -367
- pulumi_aws/evidently/segment.py +4 -4
- pulumi_aws/glue/connection.py +22 -26
- pulumi_aws/glue/crawler.py +6 -6
- pulumi_aws/identitystore/group.py +0 -28
- pulumi_aws/imagebuilder/get_image_recipe.py +1 -15
- pulumi_aws/imagebuilder/image_recipe.py +0 -47
- pulumi_aws/imagebuilder/workflow.py +6 -6
- pulumi_aws/iot/get_endpoint.py +0 -44
- pulumi_aws/kinesis/firehose_delivery_stream.py +40 -40
- pulumi_aws/kinesis/resource_policy.py +26 -26
- pulumi_aws/kms/ciphertext.py +4 -4
- pulumi_aws/kms/get_cipher_text.py +4 -4
- pulumi_aws/lakeformation/__init__.py +0 -1
- pulumi_aws/lambda_/get_code_signing_config.py +0 -58
- pulumi_aws/lambda_/get_invocation.py +0 -86
- pulumi_aws/lambda_/invocation.py +0 -56
- pulumi_aws/lb/_inputs.py +36 -670
- pulumi_aws/lb/get_listener_rule.py +4 -24
- pulumi_aws/lb/listener_rule.py +3 -114
- pulumi_aws/lb/outputs.py +23 -452
- pulumi_aws/m2/application.py +26 -26
- pulumi_aws/mq/configuration.py +8 -8
- pulumi_aws/networkmanager/site_to_site_vpn_attachment.py +0 -138
- pulumi_aws/opensearchingest/pipeline.py +12 -12
- pulumi_aws/organizations/get_policies.py +0 -22
- pulumi_aws/organizations/get_policies_for_target.py +0 -26
- pulumi_aws/organizations/resource_policy.py +46 -46
- pulumi_aws/pulumi-plugin.json +1 -1
- pulumi_aws/rds/custom_db_engine_version.py +2 -2
- pulumi_aws/resourcegroups/group.py +10 -10
- pulumi_aws/route53/traffic_policy.py +14 -14
- pulumi_aws/s3/bucket_website_configuration.py +8 -8
- pulumi_aws/s3/bucket_website_configuration_v2.py +8 -8
- pulumi_aws/s3control/access_grants_instance_resource_policy.py +24 -24
- pulumi_aws/sagemaker/flow_definition.py +18 -18
- pulumi_aws/sagemaker/model.py +14 -24
- pulumi_aws/sagemaker/model_package_group_policy.py +0 -54
- pulumi_aws/sagemaker/notebook_instance.py +7 -7
- pulumi_aws/secretsmanager/get_secret_version.py +0 -22
- pulumi_aws/secretsmanager/secret_version.py +0 -58
- pulumi_aws/securityhub/standards_control_association.py +0 -36
- pulumi_aws/sesv2/email_identity_policy.py +26 -26
- pulumi_aws/sfn/state_machine.py +70 -70
- pulumi_aws/sns/topic.py +24 -24
- pulumi_aws/sns/topic_subscription.py +26 -26
- pulumi_aws/sqs/queue.py +12 -0
- pulumi_aws/ssm/association.py +2 -2
- pulumi_aws/ssm/document.py +16 -16
- pulumi_aws/timestreamquery/scheduled_query.py +16 -16
- pulumi_aws/verifiedpermissions/_inputs.py +3 -3
- pulumi_aws/verifiedpermissions/outputs.py +2 -2
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/METADATA +1 -1
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/RECORD +102 -104
- pulumi_aws/ecrpublic/get_images.py +0 -164
- pulumi_aws/lakeformation/identity_center_configuration.py +0 -365
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/WHEEL +0 -0
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/top_level.txt +0 -0
|
@@ -381,7 +381,7 @@ class IntegrationResponse(pulumi.CustomResource):
|
|
|
381
381
|
status_code=response200.status_code,
|
|
382
382
|
response_templates={
|
|
383
383
|
"application/xml": \"\"\"#set($inputRoot = $input.path('$'))
|
|
384
|
-
<?xml version
|
|
384
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
385
385
|
<message>
|
|
386
386
|
$inputRoot.body
|
|
387
387
|
</message>
|
|
@@ -458,7 +458,7 @@ class IntegrationResponse(pulumi.CustomResource):
|
|
|
458
458
|
status_code=response200.status_code,
|
|
459
459
|
response_templates={
|
|
460
460
|
"application/xml": \"\"\"#set($inputRoot = $input.path('$'))
|
|
461
|
-
<?xml version
|
|
461
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
462
462
|
<message>
|
|
463
463
|
$inputRoot.body
|
|
464
464
|
</message>
|
|
@@ -277,12 +277,12 @@ def get_image(arn: Optional[_builtins.str] = None,
|
|
|
277
277
|
```
|
|
278
278
|
|
|
279
279
|
|
|
280
|
-
:param _builtins.str arn:
|
|
281
|
-
:param _builtins.bool most_recent: Boolean that if it is set to
|
|
282
|
-
:param _builtins.str name: Name of the image being searched for. Cannot be used with
|
|
283
|
-
:param _builtins.str name_regex: Regular expression name of the image being searched for. Cannot be used with
|
|
280
|
+
:param _builtins.str arn: Arn of the image being searched for. Cannot be used with name_regex or name.
|
|
281
|
+
:param _builtins.bool most_recent: Boolean that if it is set to true and there are multiple images returned the most recent will be returned. If it is set to false and there are multiple images return the datasource will error.
|
|
282
|
+
:param _builtins.str name: Name of the image being searched for. Cannot be used with name_regex or arn.
|
|
283
|
+
:param _builtins.str name_regex: Regular expression name of the image being searched for. Cannot be used with arn or name.
|
|
284
284
|
:param _builtins.str region: 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.
|
|
285
|
-
:param _builtins.str type: The type of image which must be (
|
|
285
|
+
:param _builtins.str type: The type of image which must be (PUBLIC, PRIVATE, or SHARED).
|
|
286
286
|
"""
|
|
287
287
|
__args__ = dict()
|
|
288
288
|
__args__['arn'] = arn
|
|
@@ -337,12 +337,12 @@ def get_image_output(arn: Optional[pulumi.Input[Optional[_builtins.str]]] = None
|
|
|
337
337
|
```
|
|
338
338
|
|
|
339
339
|
|
|
340
|
-
:param _builtins.str arn:
|
|
341
|
-
:param _builtins.bool most_recent: Boolean that if it is set to
|
|
342
|
-
:param _builtins.str name: Name of the image being searched for. Cannot be used with
|
|
343
|
-
:param _builtins.str name_regex: Regular expression name of the image being searched for. Cannot be used with
|
|
340
|
+
:param _builtins.str arn: Arn of the image being searched for. Cannot be used with name_regex or name.
|
|
341
|
+
:param _builtins.bool most_recent: Boolean that if it is set to true and there are multiple images returned the most recent will be returned. If it is set to false and there are multiple images return the datasource will error.
|
|
342
|
+
:param _builtins.str name: Name of the image being searched for. Cannot be used with name_regex or arn.
|
|
343
|
+
:param _builtins.str name_regex: Regular expression name of the image being searched for. Cannot be used with arn or name.
|
|
344
344
|
:param _builtins.str region: 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.
|
|
345
|
-
:param _builtins.str type: The type of image which must be (
|
|
345
|
+
:param _builtins.str type: The type of image which must be (PUBLIC, PRIVATE, or SHARED).
|
|
346
346
|
"""
|
|
347
347
|
__args__ = dict()
|
|
348
348
|
__args__['arn'] = arn
|
pulumi_aws/appstream/outputs.py
CHANGED
|
@@ -724,7 +724,7 @@ class GetImageApplicationResult(dict):
|
|
|
724
724
|
working_directory: _builtins.str):
|
|
725
725
|
"""
|
|
726
726
|
:param _builtins.str app_block_arn: The app block ARN of the application.
|
|
727
|
-
:param _builtins.str arn:
|
|
727
|
+
:param _builtins.str arn: Arn of the image being searched for. Cannot be used with name_regex or name.
|
|
728
728
|
:param _builtins.str created_time: Time at which this image was created.
|
|
729
729
|
:param _builtins.str description: Description of image.
|
|
730
730
|
:param _builtins.str display_name: Image name to display.
|
|
@@ -736,7 +736,7 @@ class GetImageApplicationResult(dict):
|
|
|
736
736
|
:param _builtins.str launch_path: Path to the application's excecutable in the instance.
|
|
737
737
|
:param Mapping[str, _builtins.str] metadata: String to string map that contains additional attributes used to describe the application.
|
|
738
738
|
* `Name` - Name of the application.
|
|
739
|
-
:param _builtins.str name: Name of the image being searched for. Cannot be used with
|
|
739
|
+
:param _builtins.str name: Name of the image being searched for. Cannot be used with name_regex or arn.
|
|
740
740
|
:param Sequence[_builtins.str] platforms: Array of strings describing the platforms on which the application can run.
|
|
741
741
|
Values will be from: WINDOWS | WINDOWS_SERVER_2016 | WINDOWS_SERVER_2019 | WINDOWS_SERVER_2022 | AMAZON_LINUX2
|
|
742
742
|
:param _builtins.str working_directory: Working directory for the application.
|
|
@@ -769,7 +769,7 @@ class GetImageApplicationResult(dict):
|
|
|
769
769
|
@pulumi.getter
|
|
770
770
|
def arn(self) -> _builtins.str:
|
|
771
771
|
"""
|
|
772
|
-
|
|
772
|
+
Arn of the image being searched for. Cannot be used with name_regex or name.
|
|
773
773
|
"""
|
|
774
774
|
return pulumi.get(self, "arn")
|
|
775
775
|
|
|
@@ -858,7 +858,7 @@ class GetImageApplicationResult(dict):
|
|
|
858
858
|
@pulumi.getter
|
|
859
859
|
def name(self) -> _builtins.str:
|
|
860
860
|
"""
|
|
861
|
-
Name of the image being searched for. Cannot be used with
|
|
861
|
+
Name of the image being searched for. Cannot be used with name_regex or arn.
|
|
862
862
|
"""
|
|
863
863
|
return pulumi.get(self, "name")
|
|
864
864
|
|
pulumi_aws/appsync/function.py
CHANGED
|
@@ -509,11 +509,11 @@ class Function(pulumi.CustomResource):
|
|
|
509
509
|
data_source=example_data_source.name,
|
|
510
510
|
name="example",
|
|
511
511
|
request_mapping_template=\"\"\"{
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
512
|
+
"version": "2018-05-29",
|
|
513
|
+
"method": "GET",
|
|
514
|
+
"resourcePath": "/",
|
|
515
|
+
"params":{
|
|
516
|
+
"headers": $utils.http.copyheaders($ctx.request.headers)
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
\"\"\",
|
|
@@ -614,11 +614,11 @@ class Function(pulumi.CustomResource):
|
|
|
614
614
|
data_source=example_data_source.name,
|
|
615
615
|
name="example",
|
|
616
616
|
request_mapping_template=\"\"\"{
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
617
|
+
"version": "2018-05-29",
|
|
618
|
+
"method": "GET",
|
|
619
|
+
"resourcePath": "/",
|
|
620
|
+
"params":{
|
|
621
|
+
"headers": $utils.http.copyheaders($ctx.request.headers)
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
624
|
\"\"\",
|
|
@@ -799,7 +799,7 @@ class GraphQLApi(pulumi.CustomResource):
|
|
|
799
799
|
authentication_type="AWS_IAM",
|
|
800
800
|
name="example",
|
|
801
801
|
schema=\"\"\"schema {
|
|
802
|
-
\\
|
|
802
|
+
\\x09query: Query
|
|
803
803
|
}
|
|
804
804
|
type Query {
|
|
805
805
|
test: Int
|
|
@@ -989,7 +989,7 @@ class GraphQLApi(pulumi.CustomResource):
|
|
|
989
989
|
authentication_type="AWS_IAM",
|
|
990
990
|
name="example",
|
|
991
991
|
schema=\"\"\"schema {
|
|
992
|
-
\\
|
|
992
|
+
\\x09query: Query
|
|
993
993
|
}
|
|
994
994
|
type Query {
|
|
995
995
|
test: Int
|
pulumi_aws/appsync/resolver.py
CHANGED
|
@@ -529,21 +529,21 @@ class Resolver(pulumi.CustomResource):
|
|
|
529
529
|
authentication_type="API_KEY",
|
|
530
530
|
name="tf-example",
|
|
531
531
|
schema=\"\"\"type Mutation {
|
|
532
|
-
\\
|
|
532
|
+
\\x09putPost(id: ID!, title: String!): Post
|
|
533
533
|
}
|
|
534
534
|
|
|
535
535
|
type Post {
|
|
536
|
-
\\
|
|
537
|
-
\\
|
|
536
|
+
\\x09id: ID!
|
|
537
|
+
\\x09title: String!
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
type Query {
|
|
541
|
-
\\
|
|
541
|
+
\\x09singlePost(id: ID!): Post
|
|
542
542
|
}
|
|
543
543
|
|
|
544
544
|
schema {
|
|
545
|
-
\\
|
|
546
|
-
\\
|
|
545
|
+
\\x09query: Query
|
|
546
|
+
\\x09mutation: Mutation
|
|
547
547
|
}
|
|
548
548
|
\"\"\")
|
|
549
549
|
test_data_source = aws.appsync.DataSource("test",
|
|
@@ -560,11 +560,11 @@ class Resolver(pulumi.CustomResource):
|
|
|
560
560
|
type="Query",
|
|
561
561
|
data_source=test_data_source.name,
|
|
562
562
|
request_template=\"\"\"{
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
563
|
+
"version": "2018-05-29",
|
|
564
|
+
"method": "GET",
|
|
565
|
+
"resourcePath": "/",
|
|
566
|
+
"params":{
|
|
567
|
+
"headers": $utils.http.copyheaders($ctx.request.headers)
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
\"\"\",
|
|
@@ -664,21 +664,21 @@ class Resolver(pulumi.CustomResource):
|
|
|
664
664
|
authentication_type="API_KEY",
|
|
665
665
|
name="tf-example",
|
|
666
666
|
schema=\"\"\"type Mutation {
|
|
667
|
-
\\
|
|
667
|
+
\\x09putPost(id: ID!, title: String!): Post
|
|
668
668
|
}
|
|
669
669
|
|
|
670
670
|
type Post {
|
|
671
|
-
\\
|
|
672
|
-
\\
|
|
671
|
+
\\x09id: ID!
|
|
672
|
+
\\x09title: String!
|
|
673
673
|
}
|
|
674
674
|
|
|
675
675
|
type Query {
|
|
676
|
-
\\
|
|
676
|
+
\\x09singlePost(id: ID!): Post
|
|
677
677
|
}
|
|
678
678
|
|
|
679
679
|
schema {
|
|
680
|
-
\\
|
|
681
|
-
\\
|
|
680
|
+
\\x09query: Query
|
|
681
|
+
\\x09mutation: Mutation
|
|
682
682
|
}
|
|
683
683
|
\"\"\")
|
|
684
684
|
test_data_source = aws.appsync.DataSource("test",
|
|
@@ -695,11 +695,11 @@ class Resolver(pulumi.CustomResource):
|
|
|
695
695
|
type="Query",
|
|
696
696
|
data_source=test_data_source.name,
|
|
697
697
|
request_template=\"\"\"{
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
698
|
+
"version": "2018-05-29",
|
|
699
|
+
"method": "GET",
|
|
700
|
+
"resourcePath": "/",
|
|
701
|
+
"params":{
|
|
702
|
+
"headers": $utils.http.copyheaders($ctx.request.headers)
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
705
|
\"\"\",
|
pulumi_aws/autoscaling/tag.py
CHANGED
|
@@ -145,30 +145,6 @@ class Tag(pulumi.CustomResource):
|
|
|
145
145
|
|
|
146
146
|
> **NOTE:** This tagging resource does not use the provider `ignore_tags` configuration.
|
|
147
147
|
|
|
148
|
-
## Example Usage
|
|
149
|
-
|
|
150
|
-
```python
|
|
151
|
-
import pulumi
|
|
152
|
-
import pulumi_aws as aws
|
|
153
|
-
import pulumi_std as std
|
|
154
|
-
|
|
155
|
-
example = aws.eks.NodeGroup("example",
|
|
156
|
-
cluster_name="example",
|
|
157
|
-
node_group_name="example")
|
|
158
|
-
example_tag = []
|
|
159
|
-
def create_example(range_body):
|
|
160
|
-
for range in [{"key": k, "value": v} for [k, v] in enumerate(range_body)]:
|
|
161
|
-
example_tag.append(aws.autoscaling.Tag(f"example-{range['key']}",
|
|
162
|
-
autoscaling_group_name=range["value"],
|
|
163
|
-
tag={
|
|
164
|
-
"key": "k8s.io/cluster-autoscaler/node-template/label/eks.amazonaws.com/capacityType",
|
|
165
|
-
"value": "SPOT",
|
|
166
|
-
"propagate_at_launch": False,
|
|
167
|
-
}))
|
|
168
|
-
|
|
169
|
-
std.toset_output(input=std.flatten_output(input=example.resources.apply(lambda resources: [resources.autoscaling_groups for resources in resources])).apply(lambda invoke: [asg["name"] for asg in invoke.result])).apply(lambda resolved_outputs: create_example(resolved_outputs['invoke'].result))
|
|
170
|
-
```
|
|
171
|
-
|
|
172
148
|
## Import
|
|
173
149
|
|
|
174
150
|
Using `pulumi import`, import `aws_autoscaling_group_tag` using the ASG name and key, separated by a comma (`,`). For example:
|
|
@@ -196,30 +172,6 @@ class Tag(pulumi.CustomResource):
|
|
|
196
172
|
|
|
197
173
|
> **NOTE:** This tagging resource does not use the provider `ignore_tags` configuration.
|
|
198
174
|
|
|
199
|
-
## Example Usage
|
|
200
|
-
|
|
201
|
-
```python
|
|
202
|
-
import pulumi
|
|
203
|
-
import pulumi_aws as aws
|
|
204
|
-
import pulumi_std as std
|
|
205
|
-
|
|
206
|
-
example = aws.eks.NodeGroup("example",
|
|
207
|
-
cluster_name="example",
|
|
208
|
-
node_group_name="example")
|
|
209
|
-
example_tag = []
|
|
210
|
-
def create_example(range_body):
|
|
211
|
-
for range in [{"key": k, "value": v} for [k, v] in enumerate(range_body)]:
|
|
212
|
-
example_tag.append(aws.autoscaling.Tag(f"example-{range['key']}",
|
|
213
|
-
autoscaling_group_name=range["value"],
|
|
214
|
-
tag={
|
|
215
|
-
"key": "k8s.io/cluster-autoscaler/node-template/label/eks.amazonaws.com/capacityType",
|
|
216
|
-
"value": "SPOT",
|
|
217
|
-
"propagate_at_launch": False,
|
|
218
|
-
}))
|
|
219
|
-
|
|
220
|
-
std.toset_output(input=std.flatten_output(input=example.resources.apply(lambda resources: [resources.autoscaling_groups for resources in resources])).apply(lambda invoke: [asg["name"] for asg in invoke.result])).apply(lambda resolved_outputs: create_example(resolved_outputs['invoke'].result))
|
|
221
|
-
```
|
|
222
|
-
|
|
223
175
|
## Import
|
|
224
176
|
|
|
225
177
|
Using `pulumi import`, import `aws_autoscaling_group_tag` using the ASG name and key, separated by a comma (`,`). For example:
|
|
@@ -197,98 +197,6 @@ class ScalingPlan(pulumi.CustomResource):
|
|
|
197
197
|
|
|
198
198
|
## Example Usage
|
|
199
199
|
|
|
200
|
-
### Basic Dynamic Scaling
|
|
201
|
-
|
|
202
|
-
```python
|
|
203
|
-
import pulumi
|
|
204
|
-
import pulumi_aws as aws
|
|
205
|
-
import pulumi_std as std
|
|
206
|
-
|
|
207
|
-
available = aws.get_availability_zones()
|
|
208
|
-
example = aws.autoscaling.Group("example",
|
|
209
|
-
name_prefix="example",
|
|
210
|
-
launch_configuration=example_aws_launch_configuration["name"],
|
|
211
|
-
availability_zones=[available.names[0]],
|
|
212
|
-
min_size=0,
|
|
213
|
-
max_size=3,
|
|
214
|
-
tags=[{
|
|
215
|
-
"key": "application",
|
|
216
|
-
"value": "example",
|
|
217
|
-
"propagate_at_launch": True,
|
|
218
|
-
}])
|
|
219
|
-
example_scaling_plan = aws.autoscalingplans.ScalingPlan("example",
|
|
220
|
-
name="example-dynamic-cost-optimization",
|
|
221
|
-
application_source={
|
|
222
|
-
"tag_filters": [{
|
|
223
|
-
"key": "application",
|
|
224
|
-
"values": ["example"],
|
|
225
|
-
}],
|
|
226
|
-
},
|
|
227
|
-
scaling_instructions=[{
|
|
228
|
-
"max_capacity": 3,
|
|
229
|
-
"min_capacity": 0,
|
|
230
|
-
"resource_id": std.format(input="autoScalingGroup/%s",
|
|
231
|
-
args=[example.name]).result,
|
|
232
|
-
"scalable_dimension": "autoscaling:autoScalingGroup:DesiredCapacity",
|
|
233
|
-
"service_namespace": "autoscaling",
|
|
234
|
-
"target_tracking_configurations": [{
|
|
235
|
-
"predefined_scaling_metric_specification": {
|
|
236
|
-
"predefined_scaling_metric_type": "ASGAverageCPUUtilization",
|
|
237
|
-
},
|
|
238
|
-
"target_value": 70,
|
|
239
|
-
}],
|
|
240
|
-
}])
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
### Basic Predictive Scaling
|
|
244
|
-
|
|
245
|
-
```python
|
|
246
|
-
import pulumi
|
|
247
|
-
import pulumi_aws as aws
|
|
248
|
-
import pulumi_std as std
|
|
249
|
-
|
|
250
|
-
available = aws.get_availability_zones()
|
|
251
|
-
example = aws.autoscaling.Group("example",
|
|
252
|
-
name_prefix="example",
|
|
253
|
-
launch_configuration=example_aws_launch_configuration["name"],
|
|
254
|
-
availability_zones=[available.names[0]],
|
|
255
|
-
min_size=0,
|
|
256
|
-
max_size=3,
|
|
257
|
-
tags=[{
|
|
258
|
-
"key": "application",
|
|
259
|
-
"value": "example",
|
|
260
|
-
"propagate_at_launch": True,
|
|
261
|
-
}])
|
|
262
|
-
example_scaling_plan = aws.autoscalingplans.ScalingPlan("example",
|
|
263
|
-
name="example-predictive-cost-optimization",
|
|
264
|
-
application_source={
|
|
265
|
-
"tag_filters": [{
|
|
266
|
-
"key": "application",
|
|
267
|
-
"values": ["example"],
|
|
268
|
-
}],
|
|
269
|
-
},
|
|
270
|
-
scaling_instructions=[{
|
|
271
|
-
"disable_dynamic_scaling": True,
|
|
272
|
-
"max_capacity": 3,
|
|
273
|
-
"min_capacity": 0,
|
|
274
|
-
"resource_id": std.format(input="autoScalingGroup/%s",
|
|
275
|
-
args=[example.name]).result,
|
|
276
|
-
"scalable_dimension": "autoscaling:autoScalingGroup:DesiredCapacity",
|
|
277
|
-
"service_namespace": "autoscaling",
|
|
278
|
-
"target_tracking_configurations": [{
|
|
279
|
-
"predefined_scaling_metric_specification": {
|
|
280
|
-
"predefined_scaling_metric_type": "ASGAverageCPUUtilization",
|
|
281
|
-
},
|
|
282
|
-
"target_value": 70,
|
|
283
|
-
}],
|
|
284
|
-
"predictive_scaling_max_capacity_behavior": "SetForecastCapacityToMaxCapacity",
|
|
285
|
-
"predictive_scaling_mode": "ForecastAndScale",
|
|
286
|
-
"predefined_load_metric_specification": {
|
|
287
|
-
"predefined_load_metric_type": "ASGTotalCPUUtilization",
|
|
288
|
-
},
|
|
289
|
-
}])
|
|
290
|
-
```
|
|
291
|
-
|
|
292
200
|
## Import
|
|
293
201
|
|
|
294
202
|
Using `pulumi import`, import Auto Scaling scaling plans using the `name`. For example:
|
|
@@ -320,98 +228,6 @@ class ScalingPlan(pulumi.CustomResource):
|
|
|
320
228
|
|
|
321
229
|
## Example Usage
|
|
322
230
|
|
|
323
|
-
### Basic Dynamic Scaling
|
|
324
|
-
|
|
325
|
-
```python
|
|
326
|
-
import pulumi
|
|
327
|
-
import pulumi_aws as aws
|
|
328
|
-
import pulumi_std as std
|
|
329
|
-
|
|
330
|
-
available = aws.get_availability_zones()
|
|
331
|
-
example = aws.autoscaling.Group("example",
|
|
332
|
-
name_prefix="example",
|
|
333
|
-
launch_configuration=example_aws_launch_configuration["name"],
|
|
334
|
-
availability_zones=[available.names[0]],
|
|
335
|
-
min_size=0,
|
|
336
|
-
max_size=3,
|
|
337
|
-
tags=[{
|
|
338
|
-
"key": "application",
|
|
339
|
-
"value": "example",
|
|
340
|
-
"propagate_at_launch": True,
|
|
341
|
-
}])
|
|
342
|
-
example_scaling_plan = aws.autoscalingplans.ScalingPlan("example",
|
|
343
|
-
name="example-dynamic-cost-optimization",
|
|
344
|
-
application_source={
|
|
345
|
-
"tag_filters": [{
|
|
346
|
-
"key": "application",
|
|
347
|
-
"values": ["example"],
|
|
348
|
-
}],
|
|
349
|
-
},
|
|
350
|
-
scaling_instructions=[{
|
|
351
|
-
"max_capacity": 3,
|
|
352
|
-
"min_capacity": 0,
|
|
353
|
-
"resource_id": std.format(input="autoScalingGroup/%s",
|
|
354
|
-
args=[example.name]).result,
|
|
355
|
-
"scalable_dimension": "autoscaling:autoScalingGroup:DesiredCapacity",
|
|
356
|
-
"service_namespace": "autoscaling",
|
|
357
|
-
"target_tracking_configurations": [{
|
|
358
|
-
"predefined_scaling_metric_specification": {
|
|
359
|
-
"predefined_scaling_metric_type": "ASGAverageCPUUtilization",
|
|
360
|
-
},
|
|
361
|
-
"target_value": 70,
|
|
362
|
-
}],
|
|
363
|
-
}])
|
|
364
|
-
```
|
|
365
|
-
|
|
366
|
-
### Basic Predictive Scaling
|
|
367
|
-
|
|
368
|
-
```python
|
|
369
|
-
import pulumi
|
|
370
|
-
import pulumi_aws as aws
|
|
371
|
-
import pulumi_std as std
|
|
372
|
-
|
|
373
|
-
available = aws.get_availability_zones()
|
|
374
|
-
example = aws.autoscaling.Group("example",
|
|
375
|
-
name_prefix="example",
|
|
376
|
-
launch_configuration=example_aws_launch_configuration["name"],
|
|
377
|
-
availability_zones=[available.names[0]],
|
|
378
|
-
min_size=0,
|
|
379
|
-
max_size=3,
|
|
380
|
-
tags=[{
|
|
381
|
-
"key": "application",
|
|
382
|
-
"value": "example",
|
|
383
|
-
"propagate_at_launch": True,
|
|
384
|
-
}])
|
|
385
|
-
example_scaling_plan = aws.autoscalingplans.ScalingPlan("example",
|
|
386
|
-
name="example-predictive-cost-optimization",
|
|
387
|
-
application_source={
|
|
388
|
-
"tag_filters": [{
|
|
389
|
-
"key": "application",
|
|
390
|
-
"values": ["example"],
|
|
391
|
-
}],
|
|
392
|
-
},
|
|
393
|
-
scaling_instructions=[{
|
|
394
|
-
"disable_dynamic_scaling": True,
|
|
395
|
-
"max_capacity": 3,
|
|
396
|
-
"min_capacity": 0,
|
|
397
|
-
"resource_id": std.format(input="autoScalingGroup/%s",
|
|
398
|
-
args=[example.name]).result,
|
|
399
|
-
"scalable_dimension": "autoscaling:autoScalingGroup:DesiredCapacity",
|
|
400
|
-
"service_namespace": "autoscaling",
|
|
401
|
-
"target_tracking_configurations": [{
|
|
402
|
-
"predefined_scaling_metric_specification": {
|
|
403
|
-
"predefined_scaling_metric_type": "ASGAverageCPUUtilization",
|
|
404
|
-
},
|
|
405
|
-
"target_value": 70,
|
|
406
|
-
}],
|
|
407
|
-
"predictive_scaling_max_capacity_behavior": "SetForecastCapacityToMaxCapacity",
|
|
408
|
-
"predictive_scaling_mode": "ForecastAndScale",
|
|
409
|
-
"predefined_load_metric_specification": {
|
|
410
|
-
"predefined_load_metric_type": "ASGTotalCPUUtilization",
|
|
411
|
-
},
|
|
412
|
-
}])
|
|
413
|
-
```
|
|
414
|
-
|
|
415
231
|
## Import
|
|
416
232
|
|
|
417
233
|
Using `pulumi import`, import Auto Scaling scaling plans using the `name`. For example:
|
pulumi_aws/bcmdata/export.py
CHANGED
|
@@ -27,7 +27,6 @@ class ExportArgs:
|
|
|
27
27
|
"""
|
|
28
28
|
The set of arguments for constructing a Export resource.
|
|
29
29
|
:param pulumi.Input['ExportExportArgs'] export: The details of the export, including data query, name, description, and destination configuration. See the `export` argument reference below.
|
|
30
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
31
30
|
"""
|
|
32
31
|
if export is not None:
|
|
33
32
|
pulumi.set(__self__, "export", export)
|
|
@@ -51,9 +50,6 @@ class ExportArgs:
|
|
|
51
50
|
@_builtins.property
|
|
52
51
|
@pulumi.getter
|
|
53
52
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
54
|
-
"""
|
|
55
|
-
Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
56
|
-
"""
|
|
57
53
|
return pulumi.get(self, "tags")
|
|
58
54
|
|
|
59
55
|
@tags.setter
|
|
@@ -83,7 +79,6 @@ class _ExportState:
|
|
|
83
79
|
:param pulumi.Input[_builtins.str] arn: Amazon Resource Name (ARN) for this export.
|
|
84
80
|
* `export[0].export_arn` - Amazon Resource Name (ARN) for this export.
|
|
85
81
|
:param pulumi.Input['ExportExportArgs'] export: The details of the export, including data query, name, description, and destination configuration. See the `export` argument reference below.
|
|
86
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
87
82
|
"""
|
|
88
83
|
if arn is not None:
|
|
89
84
|
pulumi.set(__self__, "arn", arn)
|
|
@@ -124,9 +119,6 @@ class _ExportState:
|
|
|
124
119
|
@_builtins.property
|
|
125
120
|
@pulumi.getter
|
|
126
121
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
127
|
-
"""
|
|
128
|
-
Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
129
|
-
"""
|
|
130
122
|
return pulumi.get(self, "tags")
|
|
131
123
|
|
|
132
124
|
@tags.setter
|
|
@@ -225,7 +217,6 @@ class Export(pulumi.CustomResource):
|
|
|
225
217
|
:param str resource_name: The name of the resource.
|
|
226
218
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
227
219
|
:param pulumi.Input[Union['ExportExportArgs', 'ExportExportArgsDict']] export: The details of the export, including data query, name, description, and destination configuration. See the `export` argument reference below.
|
|
228
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
229
220
|
"""
|
|
230
221
|
...
|
|
231
222
|
@overload
|
|
@@ -350,7 +341,6 @@ class Export(pulumi.CustomResource):
|
|
|
350
341
|
:param pulumi.Input[_builtins.str] arn: Amazon Resource Name (ARN) for this export.
|
|
351
342
|
* `export[0].export_arn` - Amazon Resource Name (ARN) for this export.
|
|
352
343
|
:param pulumi.Input[Union['ExportExportArgs', 'ExportExportArgsDict']] export: The details of the export, including data query, name, description, and destination configuration. See the `export` argument reference below.
|
|
353
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
354
344
|
"""
|
|
355
345
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
356
346
|
|
|
@@ -383,9 +373,6 @@ class Export(pulumi.CustomResource):
|
|
|
383
373
|
@_builtins.property
|
|
384
374
|
@pulumi.getter
|
|
385
375
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
386
|
-
"""
|
|
387
|
-
Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
388
|
-
"""
|
|
389
376
|
return pulumi.get(self, "tags")
|
|
390
377
|
|
|
391
378
|
@_builtins.property
|
|
@@ -153,7 +153,6 @@ class _AgentcoreAgentRuntimeEndpointState:
|
|
|
153
153
|
"""
|
|
154
154
|
Input properties used for looking up and filtering AgentcoreAgentRuntimeEndpoint resources.
|
|
155
155
|
:param pulumi.Input[_builtins.str] agent_runtime_arn: ARN of the associated Agent Runtime.
|
|
156
|
-
:param pulumi.Input[_builtins.str] agent_runtime_endpoint_arn: ARN of the Agent Runtime Endpoint.
|
|
157
156
|
:param pulumi.Input[_builtins.str] agent_runtime_id: ID of the agent runtime this endpoint belongs to.
|
|
158
157
|
|
|
159
158
|
The following arguments are optional:
|
|
@@ -200,9 +199,6 @@ class _AgentcoreAgentRuntimeEndpointState:
|
|
|
200
199
|
@_builtins.property
|
|
201
200
|
@pulumi.getter(name="agentRuntimeEndpointArn")
|
|
202
201
|
def agent_runtime_endpoint_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
203
|
-
"""
|
|
204
|
-
ARN of the Agent Runtime Endpoint.
|
|
205
|
-
"""
|
|
206
202
|
return pulumi.get(self, "agent_runtime_endpoint_arn")
|
|
207
203
|
|
|
208
204
|
@agent_runtime_endpoint_arn.setter
|
|
@@ -457,7 +453,6 @@ class AgentcoreAgentRuntimeEndpoint(pulumi.CustomResource):
|
|
|
457
453
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
458
454
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
459
455
|
:param pulumi.Input[_builtins.str] agent_runtime_arn: ARN of the associated Agent Runtime.
|
|
460
|
-
:param pulumi.Input[_builtins.str] agent_runtime_endpoint_arn: ARN of the Agent Runtime Endpoint.
|
|
461
456
|
:param pulumi.Input[_builtins.str] agent_runtime_id: ID of the agent runtime this endpoint belongs to.
|
|
462
457
|
|
|
463
458
|
The following arguments are optional:
|
|
@@ -495,9 +490,6 @@ class AgentcoreAgentRuntimeEndpoint(pulumi.CustomResource):
|
|
|
495
490
|
@_builtins.property
|
|
496
491
|
@pulumi.getter(name="agentRuntimeEndpointArn")
|
|
497
492
|
def agent_runtime_endpoint_arn(self) -> pulumi.Output[_builtins.str]:
|
|
498
|
-
"""
|
|
499
|
-
ARN of the Agent Runtime Endpoint.
|
|
500
|
-
"""
|
|
501
493
|
return pulumi.get(self, "agent_runtime_endpoint_arn")
|
|
502
494
|
|
|
503
495
|
@_builtins.property
|