pulumi-aws-native 1.38.0a1761631437__py3-none-any.whl → 1.39.0a1762376209__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_native/__init__.py +19 -1
- pulumi_aws_native/amazonmq/_enums.py +4 -12
- pulumi_aws_native/amazonmq/_inputs.py +21 -91
- pulumi_aws_native/amazonmq/broker.py +56 -67
- pulumi_aws_native/amazonmq/get_broker.py +6 -13
- pulumi_aws_native/amazonmq/outputs.py +14 -54
- pulumi_aws_native/appstream/get_image_builder.py +0 -4
- pulumi_aws_native/appstream/image_builder.py +0 -16
- pulumi_aws_native/aps/_inputs.py +58 -0
- pulumi_aws_native/aps/outputs.py +36 -0
- pulumi_aws_native/arcregionswitch/get_plan.py +0 -3
- pulumi_aws_native/arcregionswitch/plan.py +0 -3
- pulumi_aws_native/batch/_inputs.py +34 -0
- pulumi_aws_native/batch/job_definition.py +29 -0
- pulumi_aws_native/batch/outputs.py +37 -0
- pulumi_aws_native/bedrock/automated_reasoning_policy.py +51 -0
- pulumi_aws_native/bedrock/get_automated_reasoning_policy.py +12 -1
- pulumi_aws_native/bedrockagentcore/__init__.py +2 -0
- pulumi_aws_native/bedrockagentcore/_enums.py +1 -0
- pulumi_aws_native/bedrockagentcore/get_workload_identity.py +134 -0
- pulumi_aws_native/bedrockagentcore/workload_identity.py +217 -0
- pulumi_aws_native/ce/_enums.py +3 -0
- pulumi_aws_native/cleanrooms/configured_table.py +4 -4
- pulumi_aws_native/cleanrooms/get_configured_table.py +1 -1
- pulumi_aws_native/cognito/__init__.py +2 -0
- pulumi_aws_native/cognito/_enums.py +12 -0
- pulumi_aws_native/cognito/get_terms.py +117 -0
- pulumi_aws_native/cognito/terms.py +236 -0
- pulumi_aws_native/connectcampaignsv2/_inputs.py +28 -0
- pulumi_aws_native/connectcampaignsv2/outputs.py +16 -0
- pulumi_aws_native/datazone/_inputs.py +81 -0
- pulumi_aws_native/datazone/connection.py +83 -26
- pulumi_aws_native/datazone/outputs.py +84 -0
- pulumi_aws_native/ec2/__init__.py +2 -0
- pulumi_aws_native/ec2/_enums.py +19 -0
- pulumi_aws_native/ec2/_inputs.py +15 -12
- pulumi_aws_native/ec2/capacity_manager_data_export.py +259 -0
- pulumi_aws_native/ec2/get_capacity_manager_data_export.py +92 -0
- pulumi_aws_native/ec2/get_volume.py +37 -15
- pulumi_aws_native/ec2/outputs.py +10 -8
- pulumi_aws_native/ec2/volume.py +115 -74
- pulumi_aws_native/ecs/_enums.py +23 -0
- pulumi_aws_native/ecs/_inputs.py +230 -23
- pulumi_aws_native/ecs/outputs.py +195 -15
- pulumi_aws_native/eks/_enums.py +11 -0
- pulumi_aws_native/eks/_inputs.py +199 -1
- pulumi_aws_native/eks/get_nodegroup.py +1 -0
- pulumi_aws_native/eks/nodegroup.py +1 -0
- pulumi_aws_native/eks/outputs.py +169 -1
- pulumi_aws_native/elasticloadbalancingv2/_inputs.py +12 -12
- pulumi_aws_native/elasticloadbalancingv2/load_balancer.py +4 -4
- pulumi_aws_native/elasticloadbalancingv2/outputs.py +8 -8
- pulumi_aws_native/glue/__init__.py +2 -0
- pulumi_aws_native/glue/_inputs.py +134 -0
- pulumi_aws_native/glue/get_integration_resource_property.py +127 -0
- pulumi_aws_native/glue/integration_resource_property.py +229 -0
- pulumi_aws_native/glue/outputs.py +122 -0
- pulumi_aws_native/imagebuilder/_inputs.py +37 -0
- pulumi_aws_native/imagebuilder/image.py +29 -0
- pulumi_aws_native/imagebuilder/outputs.py +40 -0
- pulumi_aws_native/kendra/_inputs.py +21 -21
- pulumi_aws_native/kendra/outputs.py +14 -14
- pulumi_aws_native/mediapackagev2/_inputs.py +7 -0
- pulumi_aws_native/mediapackagev2/outputs.py +4 -0
- pulumi_aws_native/networkfirewall/_enums.py +2 -0
- pulumi_aws_native/networkfirewall/_inputs.py +20 -0
- pulumi_aws_native/networkfirewall/firewall.py +10 -0
- pulumi_aws_native/networkfirewall/get_firewall.py +15 -1
- pulumi_aws_native/networkfirewall/outputs.py +14 -0
- pulumi_aws_native/pulumi-plugin.json +1 -1
- pulumi_aws_native/qbusiness/_inputs.py +3 -3
- pulumi_aws_native/qbusiness/application.py +4 -4
- pulumi_aws_native/qbusiness/outputs.py +2 -2
- pulumi_aws_native/quicksight/_inputs.py +9 -9
- pulumi_aws_native/quicksight/outputs.py +6 -6
- pulumi_aws_native/rtbfabric/__init__.py +2 -0
- pulumi_aws_native/rtbfabric/_enums.py +44 -0
- pulumi_aws_native/rtbfabric/_inputs.py +330 -0
- pulumi_aws_native/rtbfabric/get_link.py +199 -0
- pulumi_aws_native/rtbfabric/get_requester_gateway.py +15 -0
- pulumi_aws_native/rtbfabric/get_responder_gateway.py +30 -0
- pulumi_aws_native/rtbfabric/link.py +344 -0
- pulumi_aws_native/rtbfabric/outputs.py +306 -0
- pulumi_aws_native/rtbfabric/requester_gateway.py +40 -0
- pulumi_aws_native/rtbfabric/responder_gateway.py +80 -0
- pulumi_aws_native/s3/_enums.py +1 -1
- pulumi_aws_native/s3/_inputs.py +11 -5
- pulumi_aws_native/s3/outputs.py +10 -4
- pulumi_aws_native/s3vectors/__init__.py +17 -0
- pulumi_aws_native/s3vectors/_enums.py +39 -0
- pulumi_aws_native/s3vectors/_inputs.py +138 -0
- pulumi_aws_native/s3vectors/get_index.py +99 -0
- pulumi_aws_native/s3vectors/get_vector_bucket.py +99 -0
- pulumi_aws_native/s3vectors/get_vector_bucket_policy.py +78 -0
- pulumi_aws_native/s3vectors/index.py +367 -0
- pulumi_aws_native/s3vectors/outputs.py +129 -0
- pulumi_aws_native/s3vectors/vector_bucket.py +199 -0
- pulumi_aws_native/s3vectors/vector_bucket_policy.py +188 -0
- pulumi_aws_native/sagemaker/_enums.py +2 -171
- pulumi_aws_native/sagemaker/_inputs.py +17 -5
- pulumi_aws_native/sagemaker/outputs.py +11 -3
- pulumi_aws_native/sso/_enums.py +1 -1
- pulumi_aws_native/sso/assignment.py +8 -8
- pulumi_aws_native/transfer/_enums.py +15 -0
- pulumi_aws_native/transfer/_inputs.py +86 -0
- pulumi_aws_native/transfer/connector.py +86 -19
- pulumi_aws_native/transfer/get_connector.py +43 -1
- pulumi_aws_native/transfer/outputs.py +86 -0
- pulumi_aws_native/wafv2/_inputs.py +72 -0
- pulumi_aws_native/wafv2/get_web_acl.py +15 -1
- pulumi_aws_native/wafv2/outputs.py +45 -0
- pulumi_aws_native/wafv2/web_acl.py +29 -0
- {pulumi_aws_native-1.38.0a1761631437.dist-info → pulumi_aws_native-1.39.0a1762376209.dist-info}/METADATA +1 -1
- {pulumi_aws_native-1.38.0a1761631437.dist-info → pulumi_aws_native-1.39.0a1762376209.dist-info}/RECORD +116 -96
- {pulumi_aws_native-1.38.0a1761631437.dist-info → pulumi_aws_native-1.39.0a1762376209.dist-info}/WHEEL +0 -0
- {pulumi_aws_native-1.38.0a1761631437.dist-info → pulumi_aws_native-1.39.0a1762376209.dist-info}/top_level.txt +0 -0
|
@@ -25,7 +25,7 @@ __all__ = [
|
|
|
25
25
|
|
|
26
26
|
@pulumi.output_type
|
|
27
27
|
class GetAutomatedReasoningPolicyResult:
|
|
28
|
-
def __init__(__self__, created_at=None, definition_hash=None, description=None, name=None, policy_arn=None, policy_definition=None, policy_id=None, tags=None, updated_at=None, version=None):
|
|
28
|
+
def __init__(__self__, created_at=None, definition_hash=None, description=None, kms_key_arn=None, name=None, policy_arn=None, policy_definition=None, policy_id=None, tags=None, updated_at=None, version=None):
|
|
29
29
|
if created_at and not isinstance(created_at, str):
|
|
30
30
|
raise TypeError("Expected argument 'created_at' to be a str")
|
|
31
31
|
pulumi.set(__self__, "created_at", created_at)
|
|
@@ -35,6 +35,9 @@ class GetAutomatedReasoningPolicyResult:
|
|
|
35
35
|
if description and not isinstance(description, str):
|
|
36
36
|
raise TypeError("Expected argument 'description' to be a str")
|
|
37
37
|
pulumi.set(__self__, "description", description)
|
|
38
|
+
if kms_key_arn and not isinstance(kms_key_arn, str):
|
|
39
|
+
raise TypeError("Expected argument 'kms_key_arn' to be a str")
|
|
40
|
+
pulumi.set(__self__, "kms_key_arn", kms_key_arn)
|
|
38
41
|
if name and not isinstance(name, str):
|
|
39
42
|
raise TypeError("Expected argument 'name' to be a str")
|
|
40
43
|
pulumi.set(__self__, "name", name)
|
|
@@ -81,6 +84,11 @@ class GetAutomatedReasoningPolicyResult:
|
|
|
81
84
|
"""
|
|
82
85
|
return pulumi.get(self, "description")
|
|
83
86
|
|
|
87
|
+
@_builtins.property
|
|
88
|
+
@pulumi.getter(name="kmsKeyArn")
|
|
89
|
+
def kms_key_arn(self) -> Optional[_builtins.str]:
|
|
90
|
+
return pulumi.get(self, "kms_key_arn")
|
|
91
|
+
|
|
84
92
|
@_builtins.property
|
|
85
93
|
@pulumi.getter
|
|
86
94
|
def name(self) -> Optional[_builtins.str]:
|
|
@@ -147,6 +155,7 @@ class AwaitableGetAutomatedReasoningPolicyResult(GetAutomatedReasoningPolicyResu
|
|
|
147
155
|
created_at=self.created_at,
|
|
148
156
|
definition_hash=self.definition_hash,
|
|
149
157
|
description=self.description,
|
|
158
|
+
kms_key_arn=self.kms_key_arn,
|
|
150
159
|
name=self.name,
|
|
151
160
|
policy_arn=self.policy_arn,
|
|
152
161
|
policy_definition=self.policy_definition,
|
|
@@ -173,6 +182,7 @@ def get_automated_reasoning_policy(policy_arn: Optional[_builtins.str] = None,
|
|
|
173
182
|
created_at=pulumi.get(__ret__, 'created_at'),
|
|
174
183
|
definition_hash=pulumi.get(__ret__, 'definition_hash'),
|
|
175
184
|
description=pulumi.get(__ret__, 'description'),
|
|
185
|
+
kms_key_arn=pulumi.get(__ret__, 'kms_key_arn'),
|
|
176
186
|
name=pulumi.get(__ret__, 'name'),
|
|
177
187
|
policy_arn=pulumi.get(__ret__, 'policy_arn'),
|
|
178
188
|
policy_definition=pulumi.get(__ret__, 'policy_definition'),
|
|
@@ -196,6 +206,7 @@ def get_automated_reasoning_policy_output(policy_arn: Optional[pulumi.Input[_bui
|
|
|
196
206
|
created_at=pulumi.get(__response__, 'created_at'),
|
|
197
207
|
definition_hash=pulumi.get(__response__, 'definition_hash'),
|
|
198
208
|
description=pulumi.get(__response__, 'description'),
|
|
209
|
+
kms_key_arn=pulumi.get(__response__, 'kms_key_arn'),
|
|
199
210
|
name=pulumi.get(__response__, 'name'),
|
|
200
211
|
policy_arn=pulumi.get(__response__, 'policy_arn'),
|
|
201
212
|
policy_definition=pulumi.get(__response__, 'policy_definition'),
|
|
@@ -18,8 +18,10 @@ from .get_gateway_target import *
|
|
|
18
18
|
from .get_memory import *
|
|
19
19
|
from .get_runtime import *
|
|
20
20
|
from .get_runtime_endpoint import *
|
|
21
|
+
from .get_workload_identity import *
|
|
21
22
|
from .memory import *
|
|
22
23
|
from .runtime import *
|
|
23
24
|
from .runtime_endpoint import *
|
|
25
|
+
from .workload_identity import *
|
|
24
26
|
from ._inputs import *
|
|
25
27
|
from . import outputs
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
from .. import outputs as _root_outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetWorkloadIdentityResult',
|
|
20
|
+
'AwaitableGetWorkloadIdentityResult',
|
|
21
|
+
'get_workload_identity',
|
|
22
|
+
'get_workload_identity_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetWorkloadIdentityResult:
|
|
27
|
+
def __init__(__self__, allowed_resource_oauth2_return_urls=None, created_time=None, last_updated_time=None, tags=None, workload_identity_arn=None):
|
|
28
|
+
if allowed_resource_oauth2_return_urls and not isinstance(allowed_resource_oauth2_return_urls, list):
|
|
29
|
+
raise TypeError("Expected argument 'allowed_resource_oauth2_return_urls' to be a list")
|
|
30
|
+
pulumi.set(__self__, "allowed_resource_oauth2_return_urls", allowed_resource_oauth2_return_urls)
|
|
31
|
+
if created_time and not isinstance(created_time, float):
|
|
32
|
+
raise TypeError("Expected argument 'created_time' to be a float")
|
|
33
|
+
pulumi.set(__self__, "created_time", created_time)
|
|
34
|
+
if last_updated_time and not isinstance(last_updated_time, float):
|
|
35
|
+
raise TypeError("Expected argument 'last_updated_time' to be a float")
|
|
36
|
+
pulumi.set(__self__, "last_updated_time", last_updated_time)
|
|
37
|
+
if tags and not isinstance(tags, list):
|
|
38
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
39
|
+
pulumi.set(__self__, "tags", tags)
|
|
40
|
+
if workload_identity_arn and not isinstance(workload_identity_arn, str):
|
|
41
|
+
raise TypeError("Expected argument 'workload_identity_arn' to be a str")
|
|
42
|
+
pulumi.set(__self__, "workload_identity_arn", workload_identity_arn)
|
|
43
|
+
|
|
44
|
+
@_builtins.property
|
|
45
|
+
@pulumi.getter(name="allowedResourceOauth2ReturnUrls")
|
|
46
|
+
def allowed_resource_oauth2_return_urls(self) -> Optional[Sequence[_builtins.str]]:
|
|
47
|
+
"""
|
|
48
|
+
The list of allowed OAuth2 return URLs for resources associated with this workload identity.
|
|
49
|
+
"""
|
|
50
|
+
return pulumi.get(self, "allowed_resource_oauth2_return_urls")
|
|
51
|
+
|
|
52
|
+
@_builtins.property
|
|
53
|
+
@pulumi.getter(name="createdTime")
|
|
54
|
+
def created_time(self) -> Optional[_builtins.float]:
|
|
55
|
+
"""
|
|
56
|
+
The timestamp when the workload identity was created.
|
|
57
|
+
"""
|
|
58
|
+
return pulumi.get(self, "created_time")
|
|
59
|
+
|
|
60
|
+
@_builtins.property
|
|
61
|
+
@pulumi.getter(name="lastUpdatedTime")
|
|
62
|
+
def last_updated_time(self) -> Optional[_builtins.float]:
|
|
63
|
+
"""
|
|
64
|
+
The timestamp when the workload identity was last updated.
|
|
65
|
+
"""
|
|
66
|
+
return pulumi.get(self, "last_updated_time")
|
|
67
|
+
|
|
68
|
+
@_builtins.property
|
|
69
|
+
@pulumi.getter
|
|
70
|
+
def tags(self) -> Optional[Sequence['_root_outputs.Tag']]:
|
|
71
|
+
"""
|
|
72
|
+
An array of key-value pairs to apply to this resource.
|
|
73
|
+
"""
|
|
74
|
+
return pulumi.get(self, "tags")
|
|
75
|
+
|
|
76
|
+
@_builtins.property
|
|
77
|
+
@pulumi.getter(name="workloadIdentityArn")
|
|
78
|
+
def workload_identity_arn(self) -> Optional[_builtins.str]:
|
|
79
|
+
"""
|
|
80
|
+
The Amazon Resource Name (ARN) of the workload identity.
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "workload_identity_arn")
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class AwaitableGetWorkloadIdentityResult(GetWorkloadIdentityResult):
|
|
86
|
+
# pylint: disable=using-constant-test
|
|
87
|
+
def __await__(self):
|
|
88
|
+
if False:
|
|
89
|
+
yield self
|
|
90
|
+
return GetWorkloadIdentityResult(
|
|
91
|
+
allowed_resource_oauth2_return_urls=self.allowed_resource_oauth2_return_urls,
|
|
92
|
+
created_time=self.created_time,
|
|
93
|
+
last_updated_time=self.last_updated_time,
|
|
94
|
+
tags=self.tags,
|
|
95
|
+
workload_identity_arn=self.workload_identity_arn)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def get_workload_identity(name: Optional[_builtins.str] = None,
|
|
99
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkloadIdentityResult:
|
|
100
|
+
"""
|
|
101
|
+
Definition of AWS::BedrockAgentCore::WorkloadIdentity Resource Type
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
:param _builtins.str name: The name of the workload identity. The name must be unique within your account.
|
|
105
|
+
"""
|
|
106
|
+
__args__ = dict()
|
|
107
|
+
__args__['name'] = name
|
|
108
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
109
|
+
__ret__ = pulumi.runtime.invoke('aws-native:bedrockagentcore:getWorkloadIdentity', __args__, opts=opts, typ=GetWorkloadIdentityResult).value
|
|
110
|
+
|
|
111
|
+
return AwaitableGetWorkloadIdentityResult(
|
|
112
|
+
allowed_resource_oauth2_return_urls=pulumi.get(__ret__, 'allowed_resource_oauth2_return_urls'),
|
|
113
|
+
created_time=pulumi.get(__ret__, 'created_time'),
|
|
114
|
+
last_updated_time=pulumi.get(__ret__, 'last_updated_time'),
|
|
115
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
116
|
+
workload_identity_arn=pulumi.get(__ret__, 'workload_identity_arn'))
|
|
117
|
+
def get_workload_identity_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
118
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetWorkloadIdentityResult]:
|
|
119
|
+
"""
|
|
120
|
+
Definition of AWS::BedrockAgentCore::WorkloadIdentity Resource Type
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
:param _builtins.str name: The name of the workload identity. The name must be unique within your account.
|
|
124
|
+
"""
|
|
125
|
+
__args__ = dict()
|
|
126
|
+
__args__['name'] = name
|
|
127
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
128
|
+
__ret__ = pulumi.runtime.invoke_output('aws-native:bedrockagentcore:getWorkloadIdentity', __args__, opts=opts, typ=GetWorkloadIdentityResult)
|
|
129
|
+
return __ret__.apply(lambda __response__: GetWorkloadIdentityResult(
|
|
130
|
+
allowed_resource_oauth2_return_urls=pulumi.get(__response__, 'allowed_resource_oauth2_return_urls'),
|
|
131
|
+
created_time=pulumi.get(__response__, 'created_time'),
|
|
132
|
+
last_updated_time=pulumi.get(__response__, 'last_updated_time'),
|
|
133
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
134
|
+
workload_identity_arn=pulumi.get(__response__, 'workload_identity_arn')))
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
from .. import _inputs as _root_inputs
|
|
17
|
+
from .. import outputs as _root_outputs
|
|
18
|
+
|
|
19
|
+
__all__ = ['WorkloadIdentityArgs', 'WorkloadIdentity']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class WorkloadIdentityArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
allowed_resource_oauth2_return_urls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
25
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]] = None):
|
|
27
|
+
"""
|
|
28
|
+
The set of arguments for constructing a WorkloadIdentity resource.
|
|
29
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_resource_oauth2_return_urls: The list of allowed OAuth2 return URLs for resources associated with this workload identity.
|
|
30
|
+
:param pulumi.Input[_builtins.str] name: The name of the workload identity. The name must be unique within your account.
|
|
31
|
+
:param pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]] tags: An array of key-value pairs to apply to this resource.
|
|
32
|
+
"""
|
|
33
|
+
if allowed_resource_oauth2_return_urls is not None:
|
|
34
|
+
pulumi.set(__self__, "allowed_resource_oauth2_return_urls", allowed_resource_oauth2_return_urls)
|
|
35
|
+
if name is not None:
|
|
36
|
+
pulumi.set(__self__, "name", name)
|
|
37
|
+
if tags is not None:
|
|
38
|
+
pulumi.set(__self__, "tags", tags)
|
|
39
|
+
|
|
40
|
+
@_builtins.property
|
|
41
|
+
@pulumi.getter(name="allowedResourceOauth2ReturnUrls")
|
|
42
|
+
def allowed_resource_oauth2_return_urls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
43
|
+
"""
|
|
44
|
+
The list of allowed OAuth2 return URLs for resources associated with this workload identity.
|
|
45
|
+
"""
|
|
46
|
+
return pulumi.get(self, "allowed_resource_oauth2_return_urls")
|
|
47
|
+
|
|
48
|
+
@allowed_resource_oauth2_return_urls.setter
|
|
49
|
+
def allowed_resource_oauth2_return_urls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
50
|
+
pulumi.set(self, "allowed_resource_oauth2_return_urls", value)
|
|
51
|
+
|
|
52
|
+
@_builtins.property
|
|
53
|
+
@pulumi.getter
|
|
54
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
55
|
+
"""
|
|
56
|
+
The name of the workload identity. The name must be unique within your account.
|
|
57
|
+
"""
|
|
58
|
+
return pulumi.get(self, "name")
|
|
59
|
+
|
|
60
|
+
@name.setter
|
|
61
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
62
|
+
pulumi.set(self, "name", value)
|
|
63
|
+
|
|
64
|
+
@_builtins.property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]]:
|
|
67
|
+
"""
|
|
68
|
+
An array of key-value pairs to apply to this resource.
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "tags")
|
|
71
|
+
|
|
72
|
+
@tags.setter
|
|
73
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]]):
|
|
74
|
+
pulumi.set(self, "tags", value)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
@pulumi.type_token("aws-native:bedrockagentcore:WorkloadIdentity")
|
|
78
|
+
class WorkloadIdentity(pulumi.CustomResource):
|
|
79
|
+
@overload
|
|
80
|
+
def __init__(__self__,
|
|
81
|
+
resource_name: str,
|
|
82
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
83
|
+
allowed_resource_oauth2_return_urls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
84
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
85
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None,
|
|
86
|
+
__props__=None):
|
|
87
|
+
"""
|
|
88
|
+
Definition of AWS::BedrockAgentCore::WorkloadIdentity Resource Type
|
|
89
|
+
|
|
90
|
+
:param str resource_name: The name of the resource.
|
|
91
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
92
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_resource_oauth2_return_urls: The list of allowed OAuth2 return URLs for resources associated with this workload identity.
|
|
93
|
+
:param pulumi.Input[_builtins.str] name: The name of the workload identity. The name must be unique within your account.
|
|
94
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]] tags: An array of key-value pairs to apply to this resource.
|
|
95
|
+
"""
|
|
96
|
+
...
|
|
97
|
+
@overload
|
|
98
|
+
def __init__(__self__,
|
|
99
|
+
resource_name: str,
|
|
100
|
+
args: Optional[WorkloadIdentityArgs] = None,
|
|
101
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
102
|
+
"""
|
|
103
|
+
Definition of AWS::BedrockAgentCore::WorkloadIdentity Resource Type
|
|
104
|
+
|
|
105
|
+
:param str resource_name: The name of the resource.
|
|
106
|
+
:param WorkloadIdentityArgs args: The arguments to use to populate this resource's properties.
|
|
107
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
108
|
+
"""
|
|
109
|
+
...
|
|
110
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
111
|
+
resource_args, opts = _utilities.get_resource_args_opts(WorkloadIdentityArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
112
|
+
if resource_args is not None:
|
|
113
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
114
|
+
else:
|
|
115
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
116
|
+
|
|
117
|
+
def _internal_init(__self__,
|
|
118
|
+
resource_name: str,
|
|
119
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
120
|
+
allowed_resource_oauth2_return_urls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
121
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
122
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None,
|
|
123
|
+
__props__=None):
|
|
124
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
125
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
126
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
127
|
+
if opts.id is None:
|
|
128
|
+
if __props__ is not None:
|
|
129
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
130
|
+
__props__ = WorkloadIdentityArgs.__new__(WorkloadIdentityArgs)
|
|
131
|
+
|
|
132
|
+
__props__.__dict__["allowed_resource_oauth2_return_urls"] = allowed_resource_oauth2_return_urls
|
|
133
|
+
__props__.__dict__["name"] = name
|
|
134
|
+
__props__.__dict__["tags"] = tags
|
|
135
|
+
__props__.__dict__["created_time"] = None
|
|
136
|
+
__props__.__dict__["last_updated_time"] = None
|
|
137
|
+
__props__.__dict__["workload_identity_arn"] = None
|
|
138
|
+
replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["name"])
|
|
139
|
+
opts = pulumi.ResourceOptions.merge(opts, replace_on_changes)
|
|
140
|
+
super(WorkloadIdentity, __self__).__init__(
|
|
141
|
+
'aws-native:bedrockagentcore:WorkloadIdentity',
|
|
142
|
+
resource_name,
|
|
143
|
+
__props__,
|
|
144
|
+
opts)
|
|
145
|
+
|
|
146
|
+
@staticmethod
|
|
147
|
+
def get(resource_name: str,
|
|
148
|
+
id: pulumi.Input[str],
|
|
149
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'WorkloadIdentity':
|
|
150
|
+
"""
|
|
151
|
+
Get an existing WorkloadIdentity resource's state with the given name, id, and optional extra
|
|
152
|
+
properties used to qualify the lookup.
|
|
153
|
+
|
|
154
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
155
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
156
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
157
|
+
"""
|
|
158
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
159
|
+
|
|
160
|
+
__props__ = WorkloadIdentityArgs.__new__(WorkloadIdentityArgs)
|
|
161
|
+
|
|
162
|
+
__props__.__dict__["allowed_resource_oauth2_return_urls"] = None
|
|
163
|
+
__props__.__dict__["created_time"] = None
|
|
164
|
+
__props__.__dict__["last_updated_time"] = None
|
|
165
|
+
__props__.__dict__["name"] = None
|
|
166
|
+
__props__.__dict__["tags"] = None
|
|
167
|
+
__props__.__dict__["workload_identity_arn"] = None
|
|
168
|
+
return WorkloadIdentity(resource_name, opts=opts, __props__=__props__)
|
|
169
|
+
|
|
170
|
+
@_builtins.property
|
|
171
|
+
@pulumi.getter(name="allowedResourceOauth2ReturnUrls")
|
|
172
|
+
def allowed_resource_oauth2_return_urls(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
173
|
+
"""
|
|
174
|
+
The list of allowed OAuth2 return URLs for resources associated with this workload identity.
|
|
175
|
+
"""
|
|
176
|
+
return pulumi.get(self, "allowed_resource_oauth2_return_urls")
|
|
177
|
+
|
|
178
|
+
@_builtins.property
|
|
179
|
+
@pulumi.getter(name="createdTime")
|
|
180
|
+
def created_time(self) -> pulumi.Output[_builtins.float]:
|
|
181
|
+
"""
|
|
182
|
+
The timestamp when the workload identity was created.
|
|
183
|
+
"""
|
|
184
|
+
return pulumi.get(self, "created_time")
|
|
185
|
+
|
|
186
|
+
@_builtins.property
|
|
187
|
+
@pulumi.getter(name="lastUpdatedTime")
|
|
188
|
+
def last_updated_time(self) -> pulumi.Output[_builtins.float]:
|
|
189
|
+
"""
|
|
190
|
+
The timestamp when the workload identity was last updated.
|
|
191
|
+
"""
|
|
192
|
+
return pulumi.get(self, "last_updated_time")
|
|
193
|
+
|
|
194
|
+
@_builtins.property
|
|
195
|
+
@pulumi.getter
|
|
196
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
197
|
+
"""
|
|
198
|
+
The name of the workload identity. The name must be unique within your account.
|
|
199
|
+
"""
|
|
200
|
+
return pulumi.get(self, "name")
|
|
201
|
+
|
|
202
|
+
@_builtins.property
|
|
203
|
+
@pulumi.getter
|
|
204
|
+
def tags(self) -> pulumi.Output[Optional[Sequence['_root_outputs.Tag']]]:
|
|
205
|
+
"""
|
|
206
|
+
An array of key-value pairs to apply to this resource.
|
|
207
|
+
"""
|
|
208
|
+
return pulumi.get(self, "tags")
|
|
209
|
+
|
|
210
|
+
@_builtins.property
|
|
211
|
+
@pulumi.getter(name="workloadIdentityArn")
|
|
212
|
+
def workload_identity_arn(self) -> pulumi.Output[_builtins.str]:
|
|
213
|
+
"""
|
|
214
|
+
The Amazon Resource Name (ARN) of the workload identity.
|
|
215
|
+
"""
|
|
216
|
+
return pulumi.get(self, "workload_identity_arn")
|
|
217
|
+
|
pulumi_aws_native/ce/_enums.py
CHANGED
|
@@ -22,6 +22,9 @@ class AnomalyMonitorMonitorDimension(_builtins.str, Enum):
|
|
|
22
22
|
The dimensions to evaluate
|
|
23
23
|
"""
|
|
24
24
|
SERVICE = "SERVICE"
|
|
25
|
+
LINKED_ACCOUNT = "LINKED_ACCOUNT"
|
|
26
|
+
TAG = "TAG"
|
|
27
|
+
COST_CATEGORY = "COST_CATEGORY"
|
|
25
28
|
|
|
26
29
|
|
|
27
30
|
@pulumi.type_token("aws-native:ce:AnomalyMonitorMonitorType")
|
|
@@ -34,7 +34,7 @@ class ConfiguredTableArgs:
|
|
|
34
34
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]] = None):
|
|
35
35
|
"""
|
|
36
36
|
The set of arguments for constructing a ConfiguredTable resource.
|
|
37
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_columns: The columns within the underlying AWS Glue table that can be
|
|
37
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_columns: The columns within the underlying AWS Glue table that can be used within collaborations.
|
|
38
38
|
:param pulumi.Input['ConfiguredTableAnalysisMethod'] analysis_method: The analysis method for the configured table.
|
|
39
39
|
|
|
40
40
|
`DIRECT_QUERY` allows SQL queries to be run directly on this table.
|
|
@@ -67,7 +67,7 @@ class ConfiguredTableArgs:
|
|
|
67
67
|
@pulumi.getter(name="allowedColumns")
|
|
68
68
|
def allowed_columns(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
69
69
|
"""
|
|
70
|
-
The columns within the underlying AWS Glue table that can be
|
|
70
|
+
The columns within the underlying AWS Glue table that can be used within collaborations.
|
|
71
71
|
"""
|
|
72
72
|
return pulumi.get(self, "allowed_columns")
|
|
73
73
|
|
|
@@ -186,7 +186,7 @@ class ConfiguredTable(pulumi.CustomResource):
|
|
|
186
186
|
|
|
187
187
|
:param str resource_name: The name of the resource.
|
|
188
188
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
189
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_columns: The columns within the underlying AWS Glue table that can be
|
|
189
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_columns: The columns within the underlying AWS Glue table that can be used within collaborations.
|
|
190
190
|
:param pulumi.Input['ConfiguredTableAnalysisMethod'] analysis_method: The analysis method for the configured table.
|
|
191
191
|
|
|
192
192
|
`DIRECT_QUERY` allows SQL queries to be run directly on this table.
|
|
@@ -296,7 +296,7 @@ class ConfiguredTable(pulumi.CustomResource):
|
|
|
296
296
|
@pulumi.getter(name="allowedColumns")
|
|
297
297
|
def allowed_columns(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
298
298
|
"""
|
|
299
|
-
The columns within the underlying AWS Glue table that can be
|
|
299
|
+
The columns within the underlying AWS Glue table that can be used within collaborations.
|
|
300
300
|
"""
|
|
301
301
|
return pulumi.get(self, "allowed_columns")
|
|
302
302
|
|
|
@@ -62,7 +62,7 @@ class GetConfiguredTableResult:
|
|
|
62
62
|
@pulumi.getter(name="allowedColumns")
|
|
63
63
|
def allowed_columns(self) -> Optional[Sequence[_builtins.str]]:
|
|
64
64
|
"""
|
|
65
|
-
The columns within the underlying AWS Glue table that can be
|
|
65
|
+
The columns within the underlying AWS Glue table that can be used within collaborations.
|
|
66
66
|
"""
|
|
67
67
|
return pulumi.get(self, "allowed_columns")
|
|
68
68
|
|
|
@@ -12,6 +12,7 @@ from .get_identity_pool_principal_tag import *
|
|
|
12
12
|
from .get_identity_pool_role_attachment import *
|
|
13
13
|
from .get_log_delivery_configuration import *
|
|
14
14
|
from .get_managed_login_branding import *
|
|
15
|
+
from .get_terms import *
|
|
15
16
|
from .get_user_pool import *
|
|
16
17
|
from .get_user_pool_client import *
|
|
17
18
|
from .get_user_pool_domain import *
|
|
@@ -25,6 +26,7 @@ from .identity_pool_principal_tag import *
|
|
|
25
26
|
from .identity_pool_role_attachment import *
|
|
26
27
|
from .log_delivery_configuration import *
|
|
27
28
|
from .managed_login_branding import *
|
|
29
|
+
from .terms import *
|
|
28
30
|
from .user_pool import *
|
|
29
31
|
from .user_pool_client import *
|
|
30
32
|
from .user_pool_domain import *
|
|
@@ -10,6 +10,8 @@ __all__ = [
|
|
|
10
10
|
'ManagedLoginBrandingCategoryType',
|
|
11
11
|
'ManagedLoginBrandingColorModeType',
|
|
12
12
|
'ManagedLoginBrandingExtensionType',
|
|
13
|
+
'TermsEnforcementType',
|
|
14
|
+
'TermsSourceType',
|
|
13
15
|
'UserPoolClientRefreshTokenRotationFeature',
|
|
14
16
|
'UserPoolTier',
|
|
15
17
|
]
|
|
@@ -50,6 +52,16 @@ class ManagedLoginBrandingExtensionType(_builtins.str, Enum):
|
|
|
50
52
|
WEBP = "WEBP"
|
|
51
53
|
|
|
52
54
|
|
|
55
|
+
@pulumi.type_token("aws-native:cognito:TermsEnforcementType")
|
|
56
|
+
class TermsEnforcementType(_builtins.str, Enum):
|
|
57
|
+
NONE = "NONE"
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
@pulumi.type_token("aws-native:cognito:TermsSourceType")
|
|
61
|
+
class TermsSourceType(_builtins.str, Enum):
|
|
62
|
+
LINK = "LINK"
|
|
63
|
+
|
|
64
|
+
|
|
53
65
|
@pulumi.type_token("aws-native:cognito:UserPoolClientRefreshTokenRotationFeature")
|
|
54
66
|
class UserPoolClientRefreshTokenRotationFeature(_builtins.str, Enum):
|
|
55
67
|
"""
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
from ._enums import *
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetTermsResult',
|
|
20
|
+
'AwaitableGetTermsResult',
|
|
21
|
+
'get_terms',
|
|
22
|
+
'get_terms_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetTermsResult:
|
|
27
|
+
def __init__(__self__, enforcement=None, links=None, terms_id=None, terms_name=None, terms_source=None):
|
|
28
|
+
if enforcement and not isinstance(enforcement, str):
|
|
29
|
+
raise TypeError("Expected argument 'enforcement' to be a str")
|
|
30
|
+
pulumi.set(__self__, "enforcement", enforcement)
|
|
31
|
+
if links and not isinstance(links, dict):
|
|
32
|
+
raise TypeError("Expected argument 'links' to be a dict")
|
|
33
|
+
pulumi.set(__self__, "links", links)
|
|
34
|
+
if terms_id and not isinstance(terms_id, str):
|
|
35
|
+
raise TypeError("Expected argument 'terms_id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "terms_id", terms_id)
|
|
37
|
+
if terms_name and not isinstance(terms_name, str):
|
|
38
|
+
raise TypeError("Expected argument 'terms_name' to be a str")
|
|
39
|
+
pulumi.set(__self__, "terms_name", terms_name)
|
|
40
|
+
if terms_source and not isinstance(terms_source, str):
|
|
41
|
+
raise TypeError("Expected argument 'terms_source' to be a str")
|
|
42
|
+
pulumi.set(__self__, "terms_source", terms_source)
|
|
43
|
+
|
|
44
|
+
@_builtins.property
|
|
45
|
+
@pulumi.getter
|
|
46
|
+
def enforcement(self) -> Optional['TermsEnforcementType']:
|
|
47
|
+
return pulumi.get(self, "enforcement")
|
|
48
|
+
|
|
49
|
+
@_builtins.property
|
|
50
|
+
@pulumi.getter
|
|
51
|
+
def links(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
52
|
+
return pulumi.get(self, "links")
|
|
53
|
+
|
|
54
|
+
@_builtins.property
|
|
55
|
+
@pulumi.getter(name="termsId")
|
|
56
|
+
def terms_id(self) -> Optional[_builtins.str]:
|
|
57
|
+
return pulumi.get(self, "terms_id")
|
|
58
|
+
|
|
59
|
+
@_builtins.property
|
|
60
|
+
@pulumi.getter(name="termsName")
|
|
61
|
+
def terms_name(self) -> Optional[_builtins.str]:
|
|
62
|
+
return pulumi.get(self, "terms_name")
|
|
63
|
+
|
|
64
|
+
@_builtins.property
|
|
65
|
+
@pulumi.getter(name="termsSource")
|
|
66
|
+
def terms_source(self) -> Optional['TermsSourceType']:
|
|
67
|
+
return pulumi.get(self, "terms_source")
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
class AwaitableGetTermsResult(GetTermsResult):
|
|
71
|
+
# pylint: disable=using-constant-test
|
|
72
|
+
def __await__(self):
|
|
73
|
+
if False:
|
|
74
|
+
yield self
|
|
75
|
+
return GetTermsResult(
|
|
76
|
+
enforcement=self.enforcement,
|
|
77
|
+
links=self.links,
|
|
78
|
+
terms_id=self.terms_id,
|
|
79
|
+
terms_name=self.terms_name,
|
|
80
|
+
terms_source=self.terms_source)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def get_terms(terms_id: Optional[_builtins.str] = None,
|
|
84
|
+
user_pool_id: Optional[_builtins.str] = None,
|
|
85
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTermsResult:
|
|
86
|
+
"""
|
|
87
|
+
Resource Type definition for AWS::Cognito::Terms
|
|
88
|
+
"""
|
|
89
|
+
__args__ = dict()
|
|
90
|
+
__args__['termsId'] = terms_id
|
|
91
|
+
__args__['userPoolId'] = user_pool_id
|
|
92
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
93
|
+
__ret__ = pulumi.runtime.invoke('aws-native:cognito:getTerms', __args__, opts=opts, typ=GetTermsResult).value
|
|
94
|
+
|
|
95
|
+
return AwaitableGetTermsResult(
|
|
96
|
+
enforcement=pulumi.get(__ret__, 'enforcement'),
|
|
97
|
+
links=pulumi.get(__ret__, 'links'),
|
|
98
|
+
terms_id=pulumi.get(__ret__, 'terms_id'),
|
|
99
|
+
terms_name=pulumi.get(__ret__, 'terms_name'),
|
|
100
|
+
terms_source=pulumi.get(__ret__, 'terms_source'))
|
|
101
|
+
def get_terms_output(terms_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
102
|
+
user_pool_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
103
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTermsResult]:
|
|
104
|
+
"""
|
|
105
|
+
Resource Type definition for AWS::Cognito::Terms
|
|
106
|
+
"""
|
|
107
|
+
__args__ = dict()
|
|
108
|
+
__args__['termsId'] = terms_id
|
|
109
|
+
__args__['userPoolId'] = user_pool_id
|
|
110
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
111
|
+
__ret__ = pulumi.runtime.invoke_output('aws-native:cognito:getTerms', __args__, opts=opts, typ=GetTermsResult)
|
|
112
|
+
return __ret__.apply(lambda __response__: GetTermsResult(
|
|
113
|
+
enforcement=pulumi.get(__response__, 'enforcement'),
|
|
114
|
+
links=pulumi.get(__response__, 'links'),
|
|
115
|
+
terms_id=pulumi.get(__response__, 'terms_id'),
|
|
116
|
+
terms_name=pulumi.get(__response__, 'terms_name'),
|
|
117
|
+
terms_source=pulumi.get(__response__, 'terms_source')))
|