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.
Files changed (104) hide show
  1. pulumi_aws/__init__.py +0 -8
  2. pulumi_aws/alb/_inputs.py +27 -353
  3. pulumi_aws/alb/listener_rule.py +3 -114
  4. pulumi_aws/alb/outputs.py +17 -266
  5. pulumi_aws/amplify/app.py +2 -2
  6. pulumi_aws/apigateway/integration.py +2 -2
  7. pulumi_aws/apigateway/integration_response.py +2 -2
  8. pulumi_aws/appstream/get_image.py +10 -10
  9. pulumi_aws/appstream/outputs.py +4 -4
  10. pulumi_aws/appsync/function.py +10 -10
  11. pulumi_aws/appsync/graph_ql_api.py +2 -2
  12. pulumi_aws/appsync/resolver.py +22 -22
  13. pulumi_aws/autoscaling/tag.py +0 -48
  14. pulumi_aws/autoscalingplans/scaling_plan.py +0 -184
  15. pulumi_aws/bcmdata/export.py +0 -13
  16. pulumi_aws/bedrock/agentcore_agent_runtime_endpoint.py +0 -8
  17. pulumi_aws/bedrock/agentcore_gateway.py +14 -14
  18. pulumi_aws/bedrockmodel/invocation_logging_configuration.py +28 -28
  19. pulumi_aws/cfg/organization_custom_policy_rule.py +6 -6
  20. pulumi_aws/cfg/rule.py +20 -20
  21. pulumi_aws/cloudwatch/event_target.py +6 -6
  22. pulumi_aws/cloudwatch/metric_alarm.py +2 -2
  23. pulumi_aws/codebuild/webhook.py +0 -38
  24. pulumi_aws/codepipeline/webhook.py +0 -148
  25. pulumi_aws/cognito/identity_pool_provider_principal_tag.py +0 -62
  26. pulumi_aws/datazone/form_type.py +18 -18
  27. pulumi_aws/dms/replication_config.py +2 -2
  28. pulumi_aws/dynamodb/get_table_item.py +2 -2
  29. pulumi_aws/dynamodb/table_item.py +10 -10
  30. pulumi_aws/ec2/get_subnets.py +0 -82
  31. pulumi_aws/ec2/security_group.py +8 -8
  32. pulumi_aws/ec2/vpc_ipam.py +0 -50
  33. pulumi_aws/ecr/lifecycle_policy.py +40 -40
  34. pulumi_aws/ecr/repository_creation_template.py +20 -20
  35. pulumi_aws/ecrpublic/__init__.py +0 -1
  36. pulumi_aws/ecrpublic/_inputs.py +0 -54
  37. pulumi_aws/ecrpublic/outputs.py +0 -116
  38. pulumi_aws/ecs/get_task_definition.py +18 -18
  39. pulumi_aws/eks/get_clusters.py +0 -22
  40. pulumi_aws/elasticsearch/domain.py +34 -34
  41. pulumi_aws/elasticsearch/domain_policy.py +16 -16
  42. pulumi_aws/emr/cluster.py +114 -114
  43. pulumi_aws/emr/instance_group.py +42 -42
  44. pulumi_aws/emr/security_configuration.py +18 -18
  45. pulumi_aws/emrserverless/_inputs.py +0 -454
  46. pulumi_aws/emrserverless/application.py +2 -230
  47. pulumi_aws/emrserverless/outputs.py +0 -367
  48. pulumi_aws/evidently/segment.py +4 -4
  49. pulumi_aws/glue/connection.py +22 -26
  50. pulumi_aws/glue/crawler.py +6 -6
  51. pulumi_aws/identitystore/group.py +0 -28
  52. pulumi_aws/imagebuilder/get_image_recipe.py +1 -15
  53. pulumi_aws/imagebuilder/image_recipe.py +0 -47
  54. pulumi_aws/imagebuilder/workflow.py +6 -6
  55. pulumi_aws/iot/get_endpoint.py +0 -44
  56. pulumi_aws/kinesis/firehose_delivery_stream.py +40 -40
  57. pulumi_aws/kinesis/resource_policy.py +26 -26
  58. pulumi_aws/kms/ciphertext.py +4 -4
  59. pulumi_aws/kms/get_cipher_text.py +4 -4
  60. pulumi_aws/lakeformation/__init__.py +0 -1
  61. pulumi_aws/lambda_/get_code_signing_config.py +0 -58
  62. pulumi_aws/lambda_/get_invocation.py +0 -86
  63. pulumi_aws/lambda_/invocation.py +0 -56
  64. pulumi_aws/lb/_inputs.py +36 -670
  65. pulumi_aws/lb/get_listener_rule.py +4 -24
  66. pulumi_aws/lb/listener_rule.py +3 -114
  67. pulumi_aws/lb/outputs.py +23 -452
  68. pulumi_aws/m2/application.py +26 -26
  69. pulumi_aws/mq/configuration.py +8 -8
  70. pulumi_aws/networkmanager/site_to_site_vpn_attachment.py +0 -138
  71. pulumi_aws/opensearchingest/pipeline.py +12 -12
  72. pulumi_aws/organizations/get_policies.py +0 -22
  73. pulumi_aws/organizations/get_policies_for_target.py +0 -26
  74. pulumi_aws/organizations/resource_policy.py +46 -46
  75. pulumi_aws/pulumi-plugin.json +1 -1
  76. pulumi_aws/rds/custom_db_engine_version.py +2 -2
  77. pulumi_aws/resourcegroups/group.py +10 -10
  78. pulumi_aws/route53/traffic_policy.py +14 -14
  79. pulumi_aws/s3/bucket_website_configuration.py +8 -8
  80. pulumi_aws/s3/bucket_website_configuration_v2.py +8 -8
  81. pulumi_aws/s3control/access_grants_instance_resource_policy.py +24 -24
  82. pulumi_aws/sagemaker/flow_definition.py +18 -18
  83. pulumi_aws/sagemaker/model.py +14 -24
  84. pulumi_aws/sagemaker/model_package_group_policy.py +0 -54
  85. pulumi_aws/sagemaker/notebook_instance.py +7 -7
  86. pulumi_aws/secretsmanager/get_secret_version.py +0 -22
  87. pulumi_aws/secretsmanager/secret_version.py +0 -58
  88. pulumi_aws/securityhub/standards_control_association.py +0 -36
  89. pulumi_aws/sesv2/email_identity_policy.py +26 -26
  90. pulumi_aws/sfn/state_machine.py +70 -70
  91. pulumi_aws/sns/topic.py +24 -24
  92. pulumi_aws/sns/topic_subscription.py +26 -26
  93. pulumi_aws/sqs/queue.py +12 -0
  94. pulumi_aws/ssm/association.py +2 -2
  95. pulumi_aws/ssm/document.py +16 -16
  96. pulumi_aws/timestreamquery/scheduled_query.py +16 -16
  97. pulumi_aws/verifiedpermissions/_inputs.py +3 -3
  98. pulumi_aws/verifiedpermissions/outputs.py +2 -2
  99. {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/METADATA +1 -1
  100. {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/RECORD +102 -104
  101. pulumi_aws/ecrpublic/get_images.py +0 -164
  102. pulumi_aws/lakeformation/identity_center_configuration.py +0 -365
  103. {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/WHEEL +0 -0
  104. {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/top_level.txt +0 -0
@@ -451,17 +451,17 @@ class FormType(pulumi.CustomResource):
451
451
  owning_project_identifier=test_project.id,
452
452
  status="DISABLED",
453
453
  model={
454
- "smithy": \"\"\"\\tstructure SageMakerModelFormType {
455
- \\t\\t\\t@required
456
- \\t\\t\\t@amazon.datazone#searchable
457
- \\t\\t\\tmodelName: String
454
+ "smithy": \"\"\"\\x09structure SageMakerModelFormType {
455
+ \\x09\\x09\\x09@required
456
+ \\x09\\x09\\x09@amazon.datazone#searchable
457
+ \\x09\\x09\\x09modelName: String
458
458
 
459
- \\t\\t\\t@required
460
- \\t\\t\\tmodelArn: String
459
+ \\x09\\x09\\x09@required
460
+ \\x09\\x09\\x09modelArn: String
461
461
 
462
- \\t\\t\\t@required
463
- \\t\\t\\tcreationTime: String
464
- \\t\\t\\t}
462
+ \\x09\\x09\\x09@required
463
+ \\x09\\x09\\x09creationTime: String
464
+ \\x09\\x09\\x09}
465
465
  \"\"\",
466
466
  })
467
467
  ```
@@ -561,17 +561,17 @@ class FormType(pulumi.CustomResource):
561
561
  owning_project_identifier=test_project.id,
562
562
  status="DISABLED",
563
563
  model={
564
- "smithy": \"\"\"\\tstructure SageMakerModelFormType {
565
- \\t\\t\\t@required
566
- \\t\\t\\t@amazon.datazone#searchable
567
- \\t\\t\\tmodelName: String
564
+ "smithy": \"\"\"\\x09structure SageMakerModelFormType {
565
+ \\x09\\x09\\x09@required
566
+ \\x09\\x09\\x09@amazon.datazone#searchable
567
+ \\x09\\x09\\x09modelName: String
568
568
 
569
- \\t\\t\\t@required
570
- \\t\\t\\tmodelArn: String
569
+ \\x09\\x09\\x09@required
570
+ \\x09\\x09\\x09modelArn: String
571
571
 
572
- \\t\\t\\t@required
573
- \\t\\t\\tcreationTime: String
574
- \\t\\t\\t}
572
+ \\x09\\x09\\x09@required
573
+ \\x09\\x09\\x09creationTime: String
574
+ \\x09\\x09\\x09}
575
575
  \"\"\",
576
576
  })
577
577
  ```
@@ -481,7 +481,7 @@ class ReplicationConfig(pulumi.CustomResource):
481
481
  source_endpoint_arn=source["endpointArn"],
482
482
  target_endpoint_arn=target["endpointArn"],
483
483
  table_mappings=\"\"\" {
484
- \\"rules\\":[{\\"rule-type\\":\\"selection\\",\\"rule-id\\":\\"1\\",\\"rule-name\\":\\"1\\",\\"rule-action\\":\\"include\\",\\"object-locator\\":{\\"schema-name\\":\\"%%\\",\\"table-name\\":\\"%%\\"}}]
484
+ "rules":[{"rule-type":"selection","rule-id":"1","rule-name":"1","rule-action":"include","object-locator":{"schema-name":"%%","table-name":"%%"}}]
485
485
  }
486
486
  \"\"\",
487
487
  start_replication=True,
@@ -546,7 +546,7 @@ class ReplicationConfig(pulumi.CustomResource):
546
546
  source_endpoint_arn=source["endpointArn"],
547
547
  target_endpoint_arn=target["endpointArn"],
548
548
  table_mappings=\"\"\" {
549
- \\"rules\\":[{\\"rule-type\\":\\"selection\\",\\"rule-id\\":\\"1\\",\\"rule-name\\":\\"1\\",\\"rule-action\\":\\"include\\",\\"object-locator\\":{\\"schema-name\\":\\"%%\\",\\"table-name\\":\\"%%\\"}}]
549
+ "rules":[{"rule-type":"selection","rule-id":"1","rule-name":"1","rule-action":"include","object-locator":{"schema-name":"%%","table-name":"%%"}}]
550
550
  }
551
551
  \"\"\",
552
552
  start_replication=True,
@@ -129,7 +129,7 @@ def get_table_item(expression_attribute_names: Optional[Mapping[str, _builtins.s
129
129
  },
130
130
  projection_expression="#P",
131
131
  key=\"\"\"{
132
- \\t\\"hashKey\\": {\\"S\\": \\"example\\"}
132
+ \\x09"hashKey": {"S": "example"}
133
133
  }
134
134
  \"\"\")
135
135
  ```
@@ -184,7 +184,7 @@ def get_table_item_output(expression_attribute_names: Optional[pulumi.Input[Opti
184
184
  },
185
185
  projection_expression="#P",
186
186
  key=\"\"\"{
187
- \\t\\"hashKey\\": {\\"S\\": \\"example\\"}
187
+ \\x09"hashKey": {"S": "example"}
188
188
  }
189
189
  \"\"\")
190
190
  ```
@@ -234,11 +234,11 @@ class TableItem(pulumi.CustomResource):
234
234
  table_name=example_table.name,
235
235
  hash_key=example_table.hash_key,
236
236
  item=\"\"\"{
237
- \\"exampleHashKey\\": {\\"S\\": \\"something\\"},
238
- \\"one\\": {\\"N\\": \\"11111\\"},
239
- \\"two\\": {\\"N\\": \\"22222\\"},
240
- \\"three\\": {\\"N\\": \\"33333\\"},
241
- \\"four\\": {\\"N\\": \\"44444\\"}
237
+ "exampleHashKey": {"S": "something"},
238
+ "one": {"N": "11111"},
239
+ "two": {"N": "22222"},
240
+ "three": {"N": "33333"},
241
+ "four": {"N": "44444"}
242
242
  }
243
243
  \"\"\")
244
244
  ```
@@ -288,11 +288,11 @@ class TableItem(pulumi.CustomResource):
288
288
  table_name=example_table.name,
289
289
  hash_key=example_table.hash_key,
290
290
  item=\"\"\"{
291
- \\"exampleHashKey\\": {\\"S\\": \\"something\\"},
292
- \\"one\\": {\\"N\\": \\"11111\\"},
293
- \\"two\\": {\\"N\\": \\"22222\\"},
294
- \\"three\\": {\\"N\\": \\"33333\\"},
295
- \\"four\\": {\\"N\\": \\"44444\\"}
291
+ "exampleHashKey": {"S": "something"},
292
+ "one": {"N": "11111"},
293
+ "two": {"N": "22222"},
294
+ "three": {"N": "33333"},
295
+ "four": {"N": "44444"}
296
296
  }
297
297
  \"\"\")
298
298
  ```
@@ -97,47 +97,6 @@ def get_subnets(filters: Optional[Sequence[Union['GetSubnetsFilterArgs', 'GetSub
97
97
  """
98
98
  This resource can be useful for getting back a set of subnet IDs.
99
99
 
100
- ## Example Usage
101
-
102
- The following shows outputting all CIDR blocks for every subnet ID in a VPC.
103
-
104
- ```python
105
- import pulumi
106
- import pulumi_aws as aws
107
- import pulumi_std as std
108
-
109
- example = aws.ec2.get_subnets(filters=[{
110
- "name": "vpc-id",
111
- "values": [vpc_id],
112
- }])
113
- example_get_subnet = {__key: aws.ec2.get_subnet(id=__value) for __key, __value in std.toset(input=example.ids).result}
114
- pulumi.export("subnetCidrBlocks", [s.cidr_block for s in example_get_subnet])
115
- ```
116
-
117
- The following example retrieves a set of all subnets in a VPC with a custom
118
- tag of `Tier` set to a value of "Private" so that the `ec2.Instance` resource
119
- can loop through the subnets, putting instances across availability zones.
120
-
121
- ```python
122
- import pulumi
123
- import pulumi_aws as aws
124
- import pulumi_std as std
125
-
126
- private = aws.ec2.get_subnets(filters=[{
127
- "name": "vpc-id",
128
- "values": [vpc_id],
129
- }],
130
- tags={
131
- "Tier": "Private",
132
- })
133
- app = []
134
- for range in [{"key": k, "value": v} for [k, v] in enumerate(std.toset(input=private.ids).result)]:
135
- app.append(aws.ec2.Instance(f"app-{range['key']}",
136
- ami=ami,
137
- instance_type=aws.ec2.InstanceType.T2_MICRO,
138
- subnet_id=range["value"]))
139
- ```
140
-
141
100
 
142
101
  :param Sequence[Union['GetSubnetsFilterArgs', 'GetSubnetsFilterArgsDict']] filters: Custom filter block as described below.
143
102
  :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.
@@ -164,47 +123,6 @@ def get_subnets_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['G
164
123
  """
165
124
  This resource can be useful for getting back a set of subnet IDs.
166
125
 
167
- ## Example Usage
168
-
169
- The following shows outputting all CIDR blocks for every subnet ID in a VPC.
170
-
171
- ```python
172
- import pulumi
173
- import pulumi_aws as aws
174
- import pulumi_std as std
175
-
176
- example = aws.ec2.get_subnets(filters=[{
177
- "name": "vpc-id",
178
- "values": [vpc_id],
179
- }])
180
- example_get_subnet = {__key: aws.ec2.get_subnet(id=__value) for __key, __value in std.toset(input=example.ids).result}
181
- pulumi.export("subnetCidrBlocks", [s.cidr_block for s in example_get_subnet])
182
- ```
183
-
184
- The following example retrieves a set of all subnets in a VPC with a custom
185
- tag of `Tier` set to a value of "Private" so that the `ec2.Instance` resource
186
- can loop through the subnets, putting instances across availability zones.
187
-
188
- ```python
189
- import pulumi
190
- import pulumi_aws as aws
191
- import pulumi_std as std
192
-
193
- private = aws.ec2.get_subnets(filters=[{
194
- "name": "vpc-id",
195
- "values": [vpc_id],
196
- }],
197
- tags={
198
- "Tier": "Private",
199
- })
200
- app = []
201
- for range in [{"key": k, "value": v} for [k, v] in enumerate(std.toset(input=private.ids).result)]:
202
- app.append(aws.ec2.Instance(f"app-{range['key']}",
203
- ami=ami,
204
- instance_type=aws.ec2.InstanceType.T2_MICRO,
205
- subnet_id=range["value"]))
206
- ```
207
-
208
126
 
209
127
  :param Sequence[Union['GetSubnetsFilterArgs', 'GetSubnetsFilterArgsDict']] filters: Custom filter block as described below.
210
128
  :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.
@@ -540,13 +540,13 @@ class SecurityGroup(pulumi.CustomResource):
540
540
  example_provisioner0 = command.local.Command("exampleProvisioner0",
541
541
  create=true,
542
542
  update=true,
543
- delete=f ENDPOINT_ID=`aws ec2 describe-vpc-endpoints --filters \\"Name=tag:Name,Values={tags.workaround1}\\" --query \\"VpcEndpoints[0].VpcEndpointId\\" --output text` &&
543
+ delete=f ENDPOINT_ID=`aws ec2 describe-vpc-endpoints --filters "Name=tag:Name,Values={tags.workaround1}" --query "VpcEndpoints[0].VpcEndpointId" --output text` &&
544
544
  aws ec2 modify-vpc-endpoint --vpc-endpoint-id ${{ENDPOINT_ID}} --add-security-group-ids {tags.workaround2} --remove-security-group-ids {id}
545
545
  ,
546
546
  opts = pulumi.ResourceOptions(depends_on=[example]))
547
- example_resource = null.index.Resource("example", triggers={
548
- rerunUponChangeOf: std.join(separator=,,
549
- input=example_aws_vpc_endpoint.security_group_ids).result,
547
+ example_resource = null.Resource("example", triggers={
548
+ "rerun_upon_change_of": std.join(separator=",",
549
+ input=example_aws_vpc_endpoint["securityGroupIds"]).result,
550
550
  })
551
551
  example_resource_provisioner0 = command.local.Command("exampleResourceProvisioner0", create=f aws ec2 modify-vpc-endpoint --vpc-endpoint-id {example_aws_vpc_endpoint.id} --remove-security-group-ids {default.id}
552
552
  ,
@@ -741,13 +741,13 @@ class SecurityGroup(pulumi.CustomResource):
741
741
  example_provisioner0 = command.local.Command("exampleProvisioner0",
742
742
  create=true,
743
743
  update=true,
744
- delete=f ENDPOINT_ID=`aws ec2 describe-vpc-endpoints --filters \\"Name=tag:Name,Values={tags.workaround1}\\" --query \\"VpcEndpoints[0].VpcEndpointId\\" --output text` &&
744
+ delete=f ENDPOINT_ID=`aws ec2 describe-vpc-endpoints --filters "Name=tag:Name,Values={tags.workaround1}" --query "VpcEndpoints[0].VpcEndpointId" --output text` &&
745
745
  aws ec2 modify-vpc-endpoint --vpc-endpoint-id ${{ENDPOINT_ID}} --add-security-group-ids {tags.workaround2} --remove-security-group-ids {id}
746
746
  ,
747
747
  opts = pulumi.ResourceOptions(depends_on=[example]))
748
- example_resource = null.index.Resource("example", triggers={
749
- rerunUponChangeOf: std.join(separator=,,
750
- input=example_aws_vpc_endpoint.security_group_ids).result,
748
+ example_resource = null.Resource("example", triggers={
749
+ "rerun_upon_change_of": std.join(separator=",",
750
+ input=example_aws_vpc_endpoint["securityGroupIds"]).result,
751
751
  })
752
752
  example_resource_provisioner0 = command.local.Command("exampleResourceProvisioner0", create=f aws ec2 modify-vpc-endpoint --vpc-endpoint-id {example_aws_vpc_endpoint.id} --remove-security-group-ids {default.id}
753
753
  ,
@@ -442,31 +442,6 @@ class VpcIpam(pulumi.CustomResource):
442
442
 
443
443
  Shared with multiple operating_regions:
444
444
 
445
- ```python
446
- import pulumi
447
- import pulumi_aws as aws
448
- import pulumi_std as std
449
-
450
- current = aws.get_region()
451
- config = pulumi.Config()
452
- ipam_regions = config.get_object("ipamRegions")
453
- if ipam_regions is None:
454
- ipam_regions = [
455
- "us-east-1",
456
- "us-west-2",
457
- ]
458
- # ensure current provider region is an operating_regions entry
459
- all_ipam_regions = std.distinct(input=std.concat(input=[
460
- [current.region],
461
- ipam_regions,
462
- ]).result).result
463
- main = aws.ec2.VpcIpam("main",
464
- operating_regions=[{"key": k, "value": v} for k, v in all_ipam_regions].apply(lambda entries: [{
465
- "regionName": entry["value"],
466
- } for entry in entries]),
467
- description="multi region ipam")
468
- ```
469
-
470
445
  ## Import
471
446
 
472
447
  Using `pulumi import`, import IPAMs using the IPAM `id`. For example:
@@ -516,31 +491,6 @@ class VpcIpam(pulumi.CustomResource):
516
491
 
517
492
  Shared with multiple operating_regions:
518
493
 
519
- ```python
520
- import pulumi
521
- import pulumi_aws as aws
522
- import pulumi_std as std
523
-
524
- current = aws.get_region()
525
- config = pulumi.Config()
526
- ipam_regions = config.get_object("ipamRegions")
527
- if ipam_regions is None:
528
- ipam_regions = [
529
- "us-east-1",
530
- "us-west-2",
531
- ]
532
- # ensure current provider region is an operating_regions entry
533
- all_ipam_regions = std.distinct(input=std.concat(input=[
534
- [current.region],
535
- ipam_regions,
536
- ]).result).result
537
- main = aws.ec2.VpcIpam("main",
538
- operating_regions=[{"key": k, "value": v} for k, v in all_ipam_regions].apply(lambda entries: [{
539
- "regionName": entry["value"],
540
- } for entry in entries]),
541
- description="multi region ipam")
542
- ```
543
-
544
494
  ## Import
545
495
 
546
496
  Using `pulumi import`, import IPAMs using the IPAM `id`. For example:
@@ -173,18 +173,18 @@ class LifecyclePolicy(pulumi.CustomResource):
173
173
  example_lifecycle_policy = aws.ecr.LifecyclePolicy("example",
174
174
  repository=example.name,
175
175
  policy=\"\"\"{
176
- \\"rules\\": [
176
+ "rules": [
177
177
  {
178
- \\"rulePriority\\": 1,
179
- \\"description\\": \\"Expire images older than 14 days\\",
180
- \\"selection\\": {
181
- \\"tagStatus\\": \\"untagged\\",
182
- \\"countType\\": \\"sinceImagePushed\\",
183
- \\"countUnit\\": \\"days\\",
184
- \\"countNumber\\": 14
178
+ "rulePriority": 1,
179
+ "description": "Expire images older than 14 days",
180
+ "selection": {
181
+ "tagStatus": "untagged",
182
+ "countType": "sinceImagePushed",
183
+ "countUnit": "days",
184
+ "countNumber": 14
185
185
  },
186
- \\"action\\": {
187
- \\"type\\": \\"expire\\"
186
+ "action": {
187
+ "type": "expire"
188
188
  }
189
189
  }
190
190
  ]
@@ -202,18 +202,18 @@ class LifecyclePolicy(pulumi.CustomResource):
202
202
  example_lifecycle_policy = aws.ecr.LifecyclePolicy("example",
203
203
  repository=example.name,
204
204
  policy=\"\"\"{
205
- \\"rules\\": [
205
+ "rules": [
206
206
  {
207
- \\"rulePriority\\": 1,
208
- \\"description\\": \\"Keep last 30 images\\",
209
- \\"selection\\": {
210
- \\"tagStatus\\": \\"tagged\\",
211
- \\"tagPrefixList\\": [\\"v\\"],
212
- \\"countType\\": \\"imageCountMoreThan\\",
213
- \\"countNumber\\": 30
207
+ "rulePriority": 1,
208
+ "description": "Keep last 30 images",
209
+ "selection": {
210
+ "tagStatus": "tagged",
211
+ "tagPrefixList": ["v"],
212
+ "countType": "imageCountMoreThan",
213
+ "countNumber": 30
214
214
  },
215
- \\"action\\": {
216
- \\"type\\": \\"expire\\"
215
+ "action": {
216
+ "type": "expire"
217
217
  }
218
218
  }
219
219
  ]
@@ -272,18 +272,18 @@ class LifecyclePolicy(pulumi.CustomResource):
272
272
  example_lifecycle_policy = aws.ecr.LifecyclePolicy("example",
273
273
  repository=example.name,
274
274
  policy=\"\"\"{
275
- \\"rules\\": [
275
+ "rules": [
276
276
  {
277
- \\"rulePriority\\": 1,
278
- \\"description\\": \\"Expire images older than 14 days\\",
279
- \\"selection\\": {
280
- \\"tagStatus\\": \\"untagged\\",
281
- \\"countType\\": \\"sinceImagePushed\\",
282
- \\"countUnit\\": \\"days\\",
283
- \\"countNumber\\": 14
277
+ "rulePriority": 1,
278
+ "description": "Expire images older than 14 days",
279
+ "selection": {
280
+ "tagStatus": "untagged",
281
+ "countType": "sinceImagePushed",
282
+ "countUnit": "days",
283
+ "countNumber": 14
284
284
  },
285
- \\"action\\": {
286
- \\"type\\": \\"expire\\"
285
+ "action": {
286
+ "type": "expire"
287
287
  }
288
288
  }
289
289
  ]
@@ -301,18 +301,18 @@ class LifecyclePolicy(pulumi.CustomResource):
301
301
  example_lifecycle_policy = aws.ecr.LifecyclePolicy("example",
302
302
  repository=example.name,
303
303
  policy=\"\"\"{
304
- \\"rules\\": [
304
+ "rules": [
305
305
  {
306
- \\"rulePriority\\": 1,
307
- \\"description\\": \\"Keep last 30 images\\",
308
- \\"selection\\": {
309
- \\"tagStatus\\": \\"tagged\\",
310
- \\"tagPrefixList\\": [\\"v\\"],
311
- \\"countType\\": \\"imageCountMoreThan\\",
312
- \\"countNumber\\": 30
306
+ "rulePriority": 1,
307
+ "description": "Keep last 30 images",
308
+ "selection": {
309
+ "tagStatus": "tagged",
310
+ "tagPrefixList": ["v"],
311
+ "countType": "imageCountMoreThan",
312
+ "countNumber": 30
313
313
  },
314
- \\"action\\": {
315
- \\"type\\": \\"expire\\"
314
+ "action": {
315
+ "type": "expire"
316
316
  }
317
317
  }
318
318
  ]
@@ -454,18 +454,18 @@ class RepositoryCreationTemplate(pulumi.CustomResource):
454
454
  }],
455
455
  repository_policy=example.json,
456
456
  lifecycle_policy=\"\"\"{
457
- \\"rules\\": [
457
+ "rules": [
458
458
  {
459
- \\"rulePriority\\": 1,
460
- \\"description\\": \\"Expire images older than 14 days\\",
461
- \\"selection\\": {
462
- \\"tagStatus\\": \\"untagged\\",
463
- \\"countType\\": \\"sinceImagePushed\\",
464
- \\"countUnit\\": \\"days\\",
465
- \\"countNumber\\": 14
459
+ "rulePriority": 1,
460
+ "description": "Expire images older than 14 days",
461
+ "selection": {
462
+ "tagStatus": "untagged",
463
+ "countType": "sinceImagePushed",
464
+ "countUnit": "days",
465
+ "countNumber": 14
466
466
  },
467
- \\"action\\": {
468
- \\"type\\": \\"expire\\"
467
+ "action": {
468
+ "type": "expire"
469
469
  }
470
470
  }
471
471
  ]
@@ -547,18 +547,18 @@ class RepositoryCreationTemplate(pulumi.CustomResource):
547
547
  }],
548
548
  repository_policy=example.json,
549
549
  lifecycle_policy=\"\"\"{
550
- \\"rules\\": [
550
+ "rules": [
551
551
  {
552
- \\"rulePriority\\": 1,
553
- \\"description\\": \\"Expire images older than 14 days\\",
554
- \\"selection\\": {
555
- \\"tagStatus\\": \\"untagged\\",
556
- \\"countType\\": \\"sinceImagePushed\\",
557
- \\"countUnit\\": \\"days\\",
558
- \\"countNumber\\": 14
552
+ "rulePriority": 1,
553
+ "description": "Expire images older than 14 days",
554
+ "selection": {
555
+ "tagStatus": "untagged",
556
+ "countType": "sinceImagePushed",
557
+ "countUnit": "days",
558
+ "countNumber": 14
559
559
  },
560
- \\"action\\": {
561
- \\"type\\": \\"expire\\"
560
+ "action": {
561
+ "type": "expire"
562
562
  }
563
563
  }
564
564
  ]
@@ -7,7 +7,6 @@ from .. import _utilities
7
7
  import typing
8
8
  # Export this package's modules as members:
9
9
  from .get_authorization_token import *
10
- from .get_images import *
11
10
  from .repository import *
12
11
  from .repository_policy import *
13
12
  from ._inputs import *
@@ -17,8 +17,6 @@ from .. import _utilities
17
17
  __all__ = [
18
18
  'RepositoryCatalogDataArgs',
19
19
  'RepositoryCatalogDataArgsDict',
20
- 'GetImagesImageIdArgs',
21
- 'GetImagesImageIdArgsDict',
22
20
  ]
23
21
 
24
22
  MYPY = False
@@ -155,55 +153,3 @@ class RepositoryCatalogDataArgs:
155
153
  pulumi.set(self, "usage_text", value)
156
154
 
157
155
 
158
- if not MYPY:
159
- class GetImagesImageIdArgsDict(TypedDict):
160
- image_digest: NotRequired[_builtins.str]
161
- """
162
- Digest of the image manifest.
163
- """
164
- image_tag: NotRequired[_builtins.str]
165
- """
166
- Tag used for the image.
167
- """
168
- elif False:
169
- GetImagesImageIdArgsDict: TypeAlias = Mapping[str, Any]
170
-
171
- @pulumi.input_type
172
- class GetImagesImageIdArgs:
173
- def __init__(__self__, *,
174
- image_digest: Optional[_builtins.str] = None,
175
- image_tag: Optional[_builtins.str] = None):
176
- """
177
- :param _builtins.str image_digest: Digest of the image manifest.
178
- :param _builtins.str image_tag: Tag used for the image.
179
- """
180
- if image_digest is not None:
181
- pulumi.set(__self__, "image_digest", image_digest)
182
- if image_tag is not None:
183
- pulumi.set(__self__, "image_tag", image_tag)
184
-
185
- @_builtins.property
186
- @pulumi.getter(name="imageDigest")
187
- def image_digest(self) -> Optional[_builtins.str]:
188
- """
189
- Digest of the image manifest.
190
- """
191
- return pulumi.get(self, "image_digest")
192
-
193
- @image_digest.setter
194
- def image_digest(self, value: Optional[_builtins.str]):
195
- pulumi.set(self, "image_digest", value)
196
-
197
- @_builtins.property
198
- @pulumi.getter(name="imageTag")
199
- def image_tag(self) -> Optional[_builtins.str]:
200
- """
201
- Tag used for the image.
202
- """
203
- return pulumi.get(self, "image_tag")
204
-
205
- @image_tag.setter
206
- def image_tag(self, value: Optional[_builtins.str]):
207
- pulumi.set(self, "image_tag", value)
208
-
209
-