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
|
@@ -24,7 +24,6 @@ class ImageRecipeArgs:
|
|
|
24
24
|
components: pulumi.Input[Sequence[pulumi.Input['ImageRecipeComponentArgs']]],
|
|
25
25
|
parent_image: pulumi.Input[_builtins.str],
|
|
26
26
|
version: pulumi.Input[_builtins.str],
|
|
27
|
-
ami_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
28
27
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['ImageRecipeBlockDeviceMappingArgs']]]] = None,
|
|
29
28
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
29
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -40,7 +39,6 @@ class ImageRecipeArgs:
|
|
|
40
39
|
:param pulumi.Input[_builtins.str] version: The semantic version of the image recipe, which specifies the version in the following format, with numeric values in each position to indicate a specific version: major.minor.patch. For example: 1.0.0.
|
|
41
40
|
|
|
42
41
|
The following arguments are optional:
|
|
43
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] ami_tags: Tags that are applied to the AMI that Image Builder creates during the Build phase prior to image distribution. Maximum of 50 tags.
|
|
44
42
|
:param pulumi.Input[Sequence[pulumi.Input['ImageRecipeBlockDeviceMappingArgs']]] block_device_mappings: Configuration block(s) with block device mappings for the image recipe. Detailed below.
|
|
45
43
|
:param pulumi.Input[_builtins.str] description: Description of the image recipe.
|
|
46
44
|
:param pulumi.Input[_builtins.str] name: Name of the image recipe.
|
|
@@ -53,8 +51,6 @@ class ImageRecipeArgs:
|
|
|
53
51
|
pulumi.set(__self__, "components", components)
|
|
54
52
|
pulumi.set(__self__, "parent_image", parent_image)
|
|
55
53
|
pulumi.set(__self__, "version", version)
|
|
56
|
-
if ami_tags is not None:
|
|
57
|
-
pulumi.set(__self__, "ami_tags", ami_tags)
|
|
58
54
|
if block_device_mappings is not None:
|
|
59
55
|
pulumi.set(__self__, "block_device_mappings", block_device_mappings)
|
|
60
56
|
if description is not None:
|
|
@@ -110,18 +106,6 @@ class ImageRecipeArgs:
|
|
|
110
106
|
def version(self, value: pulumi.Input[_builtins.str]):
|
|
111
107
|
pulumi.set(self, "version", value)
|
|
112
108
|
|
|
113
|
-
@_builtins.property
|
|
114
|
-
@pulumi.getter(name="amiTags")
|
|
115
|
-
def ami_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
116
|
-
"""
|
|
117
|
-
Tags that are applied to the AMI that Image Builder creates during the Build phase prior to image distribution. Maximum of 50 tags.
|
|
118
|
-
"""
|
|
119
|
-
return pulumi.get(self, "ami_tags")
|
|
120
|
-
|
|
121
|
-
@ami_tags.setter
|
|
122
|
-
def ami_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
123
|
-
pulumi.set(self, "ami_tags", value)
|
|
124
|
-
|
|
125
109
|
@_builtins.property
|
|
126
110
|
@pulumi.getter(name="blockDeviceMappings")
|
|
127
111
|
def block_device_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ImageRecipeBlockDeviceMappingArgs']]]]:
|
|
@@ -222,7 +206,6 @@ class ImageRecipeArgs:
|
|
|
222
206
|
@pulumi.input_type
|
|
223
207
|
class _ImageRecipeState:
|
|
224
208
|
def __init__(__self__, *,
|
|
225
|
-
ami_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
226
209
|
arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
227
210
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['ImageRecipeBlockDeviceMappingArgs']]]] = None,
|
|
228
211
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['ImageRecipeComponentArgs']]]] = None,
|
|
@@ -241,7 +224,6 @@ class _ImageRecipeState:
|
|
|
241
224
|
working_directory: Optional[pulumi.Input[_builtins.str]] = None):
|
|
242
225
|
"""
|
|
243
226
|
Input properties used for looking up and filtering ImageRecipe resources.
|
|
244
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] ami_tags: Tags that are applied to the AMI that Image Builder creates during the Build phase prior to image distribution. Maximum of 50 tags.
|
|
245
227
|
:param pulumi.Input[_builtins.str] arn: Amazon Resource Name (ARN) of the image recipe.
|
|
246
228
|
:param pulumi.Input[Sequence[pulumi.Input['ImageRecipeBlockDeviceMappingArgs']]] block_device_mappings: Configuration block(s) with block device mappings for the image recipe. Detailed below.
|
|
247
229
|
:param pulumi.Input[Sequence[pulumi.Input['ImageRecipeComponentArgs']]] components: Ordered configuration block(s) with components for the image recipe. Detailed below.
|
|
@@ -261,8 +243,6 @@ class _ImageRecipeState:
|
|
|
261
243
|
The following arguments are optional:
|
|
262
244
|
:param pulumi.Input[_builtins.str] working_directory: The working directory to be used during build and test workflows.
|
|
263
245
|
"""
|
|
264
|
-
if ami_tags is not None:
|
|
265
|
-
pulumi.set(__self__, "ami_tags", ami_tags)
|
|
266
246
|
if arn is not None:
|
|
267
247
|
pulumi.set(__self__, "arn", arn)
|
|
268
248
|
if block_device_mappings is not None:
|
|
@@ -296,18 +276,6 @@ class _ImageRecipeState:
|
|
|
296
276
|
if working_directory is not None:
|
|
297
277
|
pulumi.set(__self__, "working_directory", working_directory)
|
|
298
278
|
|
|
299
|
-
@_builtins.property
|
|
300
|
-
@pulumi.getter(name="amiTags")
|
|
301
|
-
def ami_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
302
|
-
"""
|
|
303
|
-
Tags that are applied to the AMI that Image Builder creates during the Build phase prior to image distribution. Maximum of 50 tags.
|
|
304
|
-
"""
|
|
305
|
-
return pulumi.get(self, "ami_tags")
|
|
306
|
-
|
|
307
|
-
@ami_tags.setter
|
|
308
|
-
def ami_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
309
|
-
pulumi.set(self, "ami_tags", value)
|
|
310
|
-
|
|
311
279
|
@_builtins.property
|
|
312
280
|
@pulumi.getter
|
|
313
281
|
def arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -509,7 +477,6 @@ class ImageRecipe(pulumi.CustomResource):
|
|
|
509
477
|
def __init__(__self__,
|
|
510
478
|
resource_name: str,
|
|
511
479
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
512
|
-
ami_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
513
480
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ImageRecipeBlockDeviceMappingArgs', 'ImageRecipeBlockDeviceMappingArgsDict']]]]] = None,
|
|
514
481
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ImageRecipeComponentArgs', 'ImageRecipeComponentArgsDict']]]]] = None,
|
|
515
482
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -574,7 +541,6 @@ class ImageRecipe(pulumi.CustomResource):
|
|
|
574
541
|
|
|
575
542
|
:param str resource_name: The name of the resource.
|
|
576
543
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
577
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] ami_tags: Tags that are applied to the AMI that Image Builder creates during the Build phase prior to image distribution. Maximum of 50 tags.
|
|
578
544
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ImageRecipeBlockDeviceMappingArgs', 'ImageRecipeBlockDeviceMappingArgsDict']]]] block_device_mappings: Configuration block(s) with block device mappings for the image recipe. Detailed below.
|
|
579
545
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ImageRecipeComponentArgs', 'ImageRecipeComponentArgsDict']]]] components: Ordered configuration block(s) with components for the image recipe. Detailed below.
|
|
580
546
|
:param pulumi.Input[_builtins.str] description: Description of the image recipe.
|
|
@@ -660,7 +626,6 @@ class ImageRecipe(pulumi.CustomResource):
|
|
|
660
626
|
def _internal_init(__self__,
|
|
661
627
|
resource_name: str,
|
|
662
628
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
663
|
-
ami_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
664
629
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ImageRecipeBlockDeviceMappingArgs', 'ImageRecipeBlockDeviceMappingArgsDict']]]]] = None,
|
|
665
630
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ImageRecipeComponentArgs', 'ImageRecipeComponentArgsDict']]]]] = None,
|
|
666
631
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -681,7 +646,6 @@ class ImageRecipe(pulumi.CustomResource):
|
|
|
681
646
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
682
647
|
__props__ = ImageRecipeArgs.__new__(ImageRecipeArgs)
|
|
683
648
|
|
|
684
|
-
__props__.__dict__["ami_tags"] = ami_tags
|
|
685
649
|
__props__.__dict__["block_device_mappings"] = block_device_mappings
|
|
686
650
|
if components is None and not opts.urn:
|
|
687
651
|
raise TypeError("Missing required property 'components'")
|
|
@@ -714,7 +678,6 @@ class ImageRecipe(pulumi.CustomResource):
|
|
|
714
678
|
def get(resource_name: str,
|
|
715
679
|
id: pulumi.Input[str],
|
|
716
680
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
717
|
-
ami_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
718
681
|
arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
719
682
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ImageRecipeBlockDeviceMappingArgs', 'ImageRecipeBlockDeviceMappingArgsDict']]]]] = None,
|
|
720
683
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ImageRecipeComponentArgs', 'ImageRecipeComponentArgsDict']]]]] = None,
|
|
@@ -738,7 +701,6 @@ class ImageRecipe(pulumi.CustomResource):
|
|
|
738
701
|
:param str resource_name: The unique name of the resulting resource.
|
|
739
702
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
740
703
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
741
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] ami_tags: Tags that are applied to the AMI that Image Builder creates during the Build phase prior to image distribution. Maximum of 50 tags.
|
|
742
704
|
:param pulumi.Input[_builtins.str] arn: Amazon Resource Name (ARN) of the image recipe.
|
|
743
705
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ImageRecipeBlockDeviceMappingArgs', 'ImageRecipeBlockDeviceMappingArgsDict']]]] block_device_mappings: Configuration block(s) with block device mappings for the image recipe. Detailed below.
|
|
744
706
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ImageRecipeComponentArgs', 'ImageRecipeComponentArgsDict']]]] components: Ordered configuration block(s) with components for the image recipe. Detailed below.
|
|
@@ -762,7 +724,6 @@ class ImageRecipe(pulumi.CustomResource):
|
|
|
762
724
|
|
|
763
725
|
__props__ = _ImageRecipeState.__new__(_ImageRecipeState)
|
|
764
726
|
|
|
765
|
-
__props__.__dict__["ami_tags"] = ami_tags
|
|
766
727
|
__props__.__dict__["arn"] = arn
|
|
767
728
|
__props__.__dict__["block_device_mappings"] = block_device_mappings
|
|
768
729
|
__props__.__dict__["components"] = components
|
|
@@ -781,14 +742,6 @@ class ImageRecipe(pulumi.CustomResource):
|
|
|
781
742
|
__props__.__dict__["working_directory"] = working_directory
|
|
782
743
|
return ImageRecipe(resource_name, opts=opts, __props__=__props__)
|
|
783
744
|
|
|
784
|
-
@_builtins.property
|
|
785
|
-
@pulumi.getter(name="amiTags")
|
|
786
|
-
def ami_tags(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
787
|
-
"""
|
|
788
|
-
Tags that are applied to the AMI that Image Builder creates during the Build phase prior to image distribution. Maximum of 50 tags.
|
|
789
|
-
"""
|
|
790
|
-
return pulumi.get(self, "ami_tags")
|
|
791
|
-
|
|
792
745
|
@_builtins.property
|
|
793
746
|
@pulumi.getter
|
|
794
747
|
def arn(self) -> pulumi.Output[_builtins.str]:
|
|
@@ -465,19 +465,19 @@ class Workflow(pulumi.CustomResource):
|
|
|
465
465
|
action: LaunchInstance
|
|
466
466
|
onFailure: Abort
|
|
467
467
|
inputs:
|
|
468
|
-
waitFor:
|
|
468
|
+
waitFor: "ssmAgent"
|
|
469
469
|
|
|
470
470
|
- name: TerminateTestInstance
|
|
471
471
|
action: TerminateInstance
|
|
472
472
|
onFailure: Continue
|
|
473
473
|
inputs:
|
|
474
|
-
instanceId.$:
|
|
474
|
+
instanceId.$: "$.stepOutputs.LaunchTestInstance.instanceId"
|
|
475
475
|
|
|
476
476
|
- name: WaitForActionAtEnd
|
|
477
477
|
action: WaitForAction
|
|
478
478
|
if:
|
|
479
479
|
booleanEquals: true
|
|
480
|
-
value:
|
|
480
|
+
value: "$.parameters.waitForActionAtEnd"
|
|
481
481
|
\"\"\")
|
|
482
482
|
```
|
|
483
483
|
|
|
@@ -548,19 +548,19 @@ class Workflow(pulumi.CustomResource):
|
|
|
548
548
|
action: LaunchInstance
|
|
549
549
|
onFailure: Abort
|
|
550
550
|
inputs:
|
|
551
|
-
waitFor:
|
|
551
|
+
waitFor: "ssmAgent"
|
|
552
552
|
|
|
553
553
|
- name: TerminateTestInstance
|
|
554
554
|
action: TerminateInstance
|
|
555
555
|
onFailure: Continue
|
|
556
556
|
inputs:
|
|
557
|
-
instanceId.$:
|
|
557
|
+
instanceId.$: "$.stepOutputs.LaunchTestInstance.instanceId"
|
|
558
558
|
|
|
559
559
|
- name: WaitForActionAtEnd
|
|
560
560
|
action: WaitForAction
|
|
561
561
|
if:
|
|
562
562
|
booleanEquals: true
|
|
563
|
-
value:
|
|
563
|
+
value: "$.parameters.waitForActionAtEnd"
|
|
564
564
|
\"\"\")
|
|
565
565
|
```
|
|
566
566
|
|
pulumi_aws/iot/get_endpoint.py
CHANGED
|
@@ -92,28 +92,6 @@ def get_endpoint(endpoint_type: Optional[_builtins.str] = None,
|
|
|
92
92
|
|
|
93
93
|
## Example Usage
|
|
94
94
|
|
|
95
|
-
```python
|
|
96
|
-
import pulumi
|
|
97
|
-
import pulumi_aws as aws
|
|
98
|
-
import pulumi_kubernetes as kubernetes
|
|
99
|
-
|
|
100
|
-
example = aws.iot.get_endpoint()
|
|
101
|
-
agent = kubernetes.index.Pod("agent",
|
|
102
|
-
metadata=[{
|
|
103
|
-
name: my-device,
|
|
104
|
-
}],
|
|
105
|
-
spec=[{
|
|
106
|
-
container: [{
|
|
107
|
-
image: gcr.io/my-project/image-name,
|
|
108
|
-
name: image-name,
|
|
109
|
-
env: [{
|
|
110
|
-
name: IOT_ENDPOINT,
|
|
111
|
-
value: example.endpoint_address,
|
|
112
|
-
}],
|
|
113
|
-
}],
|
|
114
|
-
}])
|
|
115
|
-
```
|
|
116
|
-
|
|
117
95
|
|
|
118
96
|
:param _builtins.str endpoint_type: Endpoint type. Valid values: `iot:CredentialProvider`, `iot:Data`, `iot:Data-ATS`, `iot:Jobs`.
|
|
119
97
|
: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.
|
|
@@ -137,28 +115,6 @@ def get_endpoint_output(endpoint_type: Optional[pulumi.Input[Optional[_builtins.
|
|
|
137
115
|
|
|
138
116
|
## Example Usage
|
|
139
117
|
|
|
140
|
-
```python
|
|
141
|
-
import pulumi
|
|
142
|
-
import pulumi_aws as aws
|
|
143
|
-
import pulumi_kubernetes as kubernetes
|
|
144
|
-
|
|
145
|
-
example = aws.iot.get_endpoint()
|
|
146
|
-
agent = kubernetes.index.Pod("agent",
|
|
147
|
-
metadata=[{
|
|
148
|
-
name: my-device,
|
|
149
|
-
}],
|
|
150
|
-
spec=[{
|
|
151
|
-
container: [{
|
|
152
|
-
image: gcr.io/my-project/image-name,
|
|
153
|
-
name: image-name,
|
|
154
|
-
env: [{
|
|
155
|
-
name: IOT_ENDPOINT,
|
|
156
|
-
value: example.endpoint_address,
|
|
157
|
-
}],
|
|
158
|
-
}],
|
|
159
|
-
}])
|
|
160
|
-
```
|
|
161
|
-
|
|
162
118
|
|
|
163
119
|
:param _builtins.str endpoint_type: Endpoint type. Valid values: `iot:CredentialProvider`, `iot:Data`, `iot:Data-ATS`, `iot:Jobs`.
|
|
164
120
|
: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.
|
|
@@ -1051,32 +1051,32 @@ class FirehoseDeliveryStream(pulumi.CustomResource):
|
|
|
1051
1051
|
testClusterArn=test_cluster.arn,
|
|
1052
1052
|
testClusterArn1=test_cluster.arn
|
|
1053
1053
|
).apply(lambda resolved_outputs: f\"\"\"{{
|
|
1054
|
-
|
|
1055
|
-
|
|
1054
|
+
"Version": "2012-10-17",
|
|
1055
|
+
"Statement": [
|
|
1056
1056
|
{{
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1057
|
+
"Effect": "Allow",
|
|
1058
|
+
"Action": [
|
|
1059
|
+
"es:*"
|
|
1060
1060
|
],
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1061
|
+
"Resource": [
|
|
1062
|
+
"{resolved_outputs['testClusterArn']}",
|
|
1063
|
+
"{resolved_outputs['testClusterArn1']}/*"
|
|
1064
1064
|
]
|
|
1065
1065
|
}},
|
|
1066
1066
|
{{
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1067
|
+
"Effect": "Allow",
|
|
1068
|
+
"Action": [
|
|
1069
|
+
"ec2:DescribeVpcs",
|
|
1070
|
+
"ec2:DescribeVpcAttribute",
|
|
1071
|
+
"ec2:DescribeSubnets",
|
|
1072
|
+
"ec2:DescribeSecurityGroups",
|
|
1073
|
+
"ec2:DescribeNetworkInterfaces",
|
|
1074
|
+
"ec2:CreateNetworkInterface",
|
|
1075
|
+
"ec2:CreateNetworkInterfacePermission",
|
|
1076
|
+
"ec2:DeleteNetworkInterface"
|
|
1077
1077
|
],
|
|
1078
|
-
|
|
1079
|
-
|
|
1078
|
+
"Resource": [
|
|
1079
|
+
"*"
|
|
1080
1080
|
]
|
|
1081
1081
|
}}
|
|
1082
1082
|
]
|
|
@@ -1709,32 +1709,32 @@ class FirehoseDeliveryStream(pulumi.CustomResource):
|
|
|
1709
1709
|
testClusterArn=test_cluster.arn,
|
|
1710
1710
|
testClusterArn1=test_cluster.arn
|
|
1711
1711
|
).apply(lambda resolved_outputs: f\"\"\"{{
|
|
1712
|
-
|
|
1713
|
-
|
|
1712
|
+
"Version": "2012-10-17",
|
|
1713
|
+
"Statement": [
|
|
1714
1714
|
{{
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1715
|
+
"Effect": "Allow",
|
|
1716
|
+
"Action": [
|
|
1717
|
+
"es:*"
|
|
1718
1718
|
],
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1719
|
+
"Resource": [
|
|
1720
|
+
"{resolved_outputs['testClusterArn']}",
|
|
1721
|
+
"{resolved_outputs['testClusterArn1']}/*"
|
|
1722
1722
|
]
|
|
1723
1723
|
}},
|
|
1724
1724
|
{{
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1725
|
+
"Effect": "Allow",
|
|
1726
|
+
"Action": [
|
|
1727
|
+
"ec2:DescribeVpcs",
|
|
1728
|
+
"ec2:DescribeVpcAttribute",
|
|
1729
|
+
"ec2:DescribeSubnets",
|
|
1730
|
+
"ec2:DescribeSecurityGroups",
|
|
1731
|
+
"ec2:DescribeNetworkInterfaces",
|
|
1732
|
+
"ec2:CreateNetworkInterface",
|
|
1733
|
+
"ec2:CreateNetworkInterfacePermission",
|
|
1734
|
+
"ec2:DeleteNetworkInterface"
|
|
1735
1735
|
],
|
|
1736
|
-
|
|
1737
|
-
|
|
1736
|
+
"Resource": [
|
|
1737
|
+
"*"
|
|
1738
1738
|
]
|
|
1739
1739
|
}}
|
|
1740
1740
|
]
|
|
@@ -149,21 +149,21 @@ class ResourcePolicy(pulumi.CustomResource):
|
|
|
149
149
|
example = aws.kinesis.ResourcePolicy("example",
|
|
150
150
|
resource_arn=example_aws_kinesis_stream["arn"],
|
|
151
151
|
policy=f\"\"\"{{
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
152
|
+
"Version": "2012-10-17",
|
|
153
|
+
"Id": "writePolicy",
|
|
154
|
+
"Statement": [{{
|
|
155
|
+
"Sid": "writestatement",
|
|
156
|
+
"Effect": "Allow",
|
|
157
|
+
"Principal": {{
|
|
158
|
+
"AWS": "123456789456"
|
|
159
159
|
}},
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
160
|
+
"Action": [
|
|
161
|
+
"kinesis:DescribeStreamSummary",
|
|
162
|
+
"kinesis:ListShards",
|
|
163
|
+
"kinesis:PutRecord",
|
|
164
|
+
"kinesis:PutRecords"
|
|
165
165
|
],
|
|
166
|
-
|
|
166
|
+
"Resource": "{example_aws_kinesis_stream["arn"]}"
|
|
167
167
|
}}]
|
|
168
168
|
}}
|
|
169
169
|
\"\"\")
|
|
@@ -208,21 +208,21 @@ class ResourcePolicy(pulumi.CustomResource):
|
|
|
208
208
|
example = aws.kinesis.ResourcePolicy("example",
|
|
209
209
|
resource_arn=example_aws_kinesis_stream["arn"],
|
|
210
210
|
policy=f\"\"\"{{
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
211
|
+
"Version": "2012-10-17",
|
|
212
|
+
"Id": "writePolicy",
|
|
213
|
+
"Statement": [{{
|
|
214
|
+
"Sid": "writestatement",
|
|
215
|
+
"Effect": "Allow",
|
|
216
|
+
"Principal": {{
|
|
217
|
+
"AWS": "123456789456"
|
|
218
218
|
}},
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
219
|
+
"Action": [
|
|
220
|
+
"kinesis:DescribeStreamSummary",
|
|
221
|
+
"kinesis:ListShards",
|
|
222
|
+
"kinesis:PutRecord",
|
|
223
|
+
"kinesis:PutRecords"
|
|
224
224
|
],
|
|
225
|
-
|
|
225
|
+
"Resource": "{example_aws_kinesis_stream["arn"]}"
|
|
226
226
|
}}]
|
|
227
227
|
}}
|
|
228
228
|
\"\"\")
|
pulumi_aws/kms/ciphertext.py
CHANGED
|
@@ -203,8 +203,8 @@ class Ciphertext(pulumi.CustomResource):
|
|
|
203
203
|
oauth = aws.kms.Ciphertext("oauth",
|
|
204
204
|
key_id=oauth_config.key_id,
|
|
205
205
|
plaintext=\"\"\"{
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
"client_id": "e587dbae22222f55da22",
|
|
207
|
+
"client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
|
|
208
208
|
}
|
|
209
209
|
\"\"\")
|
|
210
210
|
```
|
|
@@ -240,8 +240,8 @@ class Ciphertext(pulumi.CustomResource):
|
|
|
240
240
|
oauth = aws.kms.Ciphertext("oauth",
|
|
241
241
|
key_id=oauth_config.key_id,
|
|
242
242
|
plaintext=\"\"\"{
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
"client_id": "e587dbae22222f55da22",
|
|
244
|
+
"client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
|
|
245
245
|
}
|
|
246
246
|
\"\"\")
|
|
247
247
|
```
|
|
@@ -119,8 +119,8 @@ def get_cipher_text(context: Optional[Mapping[str, _builtins.str]] = None,
|
|
|
119
119
|
is_enabled=True)
|
|
120
120
|
oauth = aws.kms.get_cipher_text_output(key_id=oauth_config.key_id,
|
|
121
121
|
plaintext=\"\"\"{
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
"client_id": "e587dbae22222f55da22",
|
|
123
|
+
"client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
|
|
124
124
|
}
|
|
125
125
|
\"\"\")
|
|
126
126
|
```
|
|
@@ -168,8 +168,8 @@ def get_cipher_text_output(context: Optional[pulumi.Input[Optional[Mapping[str,
|
|
|
168
168
|
is_enabled=True)
|
|
169
169
|
oauth = aws.kms.get_cipher_text_output(key_id=oauth_config.key_id,
|
|
170
170
|
plaintext=\"\"\"{
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
"client_id": "e587dbae22222f55da22",
|
|
172
|
+
"client_secret": "8289575d00000ace55e1815ec13673955721b8a5"
|
|
173
173
|
}
|
|
174
174
|
\"\"\")
|
|
175
175
|
```
|
|
@@ -11,7 +11,6 @@ from .data_lake_settings import *
|
|
|
11
11
|
from .get_data_lake_settings import *
|
|
12
12
|
from .get_permissions import *
|
|
13
13
|
from .get_resource import *
|
|
14
|
-
from .identity_center_configuration import *
|
|
15
14
|
from .lf_tag import *
|
|
16
15
|
from .lf_tag_expression import *
|
|
17
16
|
from .opt_in import *
|
|
@@ -174,35 +174,6 @@ def get_code_signing_config(arn: Optional[_builtins.str] = None,
|
|
|
174
174
|
})
|
|
175
175
|
```
|
|
176
176
|
|
|
177
|
-
### Validate Signing Profiles
|
|
178
|
-
|
|
179
|
-
```python
|
|
180
|
-
import pulumi
|
|
181
|
-
import pulumi_aws as aws
|
|
182
|
-
import pulumi_std as std
|
|
183
|
-
|
|
184
|
-
example = aws.lambda.get_code_signing_config(arn=code_signing_config_arn)
|
|
185
|
-
allowed_profiles = example.allowed_publishers[0].signing_profile_version_arns
|
|
186
|
-
required_profile = "arn:aws:signer:us-west-2:123456789012:/signing-profiles/MyProfile"
|
|
187
|
-
profile_allowed = std.contains(input=allowed_profiles,
|
|
188
|
-
element=required_profile).result
|
|
189
|
-
# Conditional resource creation based on signing profile validation
|
|
190
|
-
conditional = []
|
|
191
|
-
for range in [{"value": i} for i in range(0, 1 if profile_allowed else 0)]:
|
|
192
|
-
conditional.append(aws.lambda_.Function(f"conditional-{range['value']}",
|
|
193
|
-
code=pulumi.FileArchive("function.zip"),
|
|
194
|
-
name="conditional-function",
|
|
195
|
-
role=lambda_role["arn"],
|
|
196
|
-
handler="index.handler",
|
|
197
|
-
runtime=aws.lambda_.Runtime.PYTHON3D12,
|
|
198
|
-
code_signing_config_arn=example.arn))
|
|
199
|
-
pulumi.export("deploymentStatus", {
|
|
200
|
-
"profileAllowed": profile_allowed,
|
|
201
|
-
"functionCreated": profile_allowed,
|
|
202
|
-
"message": "Function deployed with valid signing profile" if profile_allowed else "Deployment blocked - signing profile not allowed",
|
|
203
|
-
})
|
|
204
|
-
```
|
|
205
|
-
|
|
206
177
|
### Multi-Environment Configuration
|
|
207
178
|
|
|
208
179
|
```python
|
|
@@ -290,35 +261,6 @@ def get_code_signing_config_output(arn: Optional[pulumi.Input[_builtins.str]] =
|
|
|
290
261
|
})
|
|
291
262
|
```
|
|
292
263
|
|
|
293
|
-
### Validate Signing Profiles
|
|
294
|
-
|
|
295
|
-
```python
|
|
296
|
-
import pulumi
|
|
297
|
-
import pulumi_aws as aws
|
|
298
|
-
import pulumi_std as std
|
|
299
|
-
|
|
300
|
-
example = aws.lambda.get_code_signing_config(arn=code_signing_config_arn)
|
|
301
|
-
allowed_profiles = example.allowed_publishers[0].signing_profile_version_arns
|
|
302
|
-
required_profile = "arn:aws:signer:us-west-2:123456789012:/signing-profiles/MyProfile"
|
|
303
|
-
profile_allowed = std.contains(input=allowed_profiles,
|
|
304
|
-
element=required_profile).result
|
|
305
|
-
# Conditional resource creation based on signing profile validation
|
|
306
|
-
conditional = []
|
|
307
|
-
for range in [{"value": i} for i in range(0, 1 if profile_allowed else 0)]:
|
|
308
|
-
conditional.append(aws.lambda_.Function(f"conditional-{range['value']}",
|
|
309
|
-
code=pulumi.FileArchive("function.zip"),
|
|
310
|
-
name="conditional-function",
|
|
311
|
-
role=lambda_role["arn"],
|
|
312
|
-
handler="index.handler",
|
|
313
|
-
runtime=aws.lambda_.Runtime.PYTHON3D12,
|
|
314
|
-
code_signing_config_arn=example.arn))
|
|
315
|
-
pulumi.export("deploymentStatus", {
|
|
316
|
-
"profileAllowed": profile_allowed,
|
|
317
|
-
"functionCreated": profile_allowed,
|
|
318
|
-
"message": "Function deployed with valid signing profile" if profile_allowed else "Deployment blocked - signing profile not allowed",
|
|
319
|
-
})
|
|
320
|
-
```
|
|
321
|
-
|
|
322
264
|
### Multi-Environment Configuration
|
|
323
265
|
|
|
324
266
|
```python
|