pulumi-aws 7.14.0__py3-none-any.whl → 7.15.0__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 +8 -0
- pulumi_aws/bedrock/_inputs.py +1894 -267
- pulumi_aws/bedrock/agent_knowledge_base.py +253 -17
- pulumi_aws/bedrock/outputs.py +1571 -199
- pulumi_aws/cloudfront/__init__.py +1 -0
- pulumi_aws/cloudfront/_inputs.py +199 -0
- pulumi_aws/cloudfront/outputs.py +134 -0
- pulumi_aws/cloudfront/trust_store.py +497 -0
- pulumi_aws/codebuild/_inputs.py +20 -0
- pulumi_aws/codebuild/outputs.py +29 -0
- pulumi_aws/config/__init__.pyi +5 -0
- pulumi_aws/config/vars.py +7 -0
- pulumi_aws/datazone/domain.py +28 -0
- pulumi_aws/datazone/get_domain.py +15 -1
- pulumi_aws/ecs/_inputs.py +6 -6
- pulumi_aws/ecs/cluster.py +2 -2
- pulumi_aws/ecs/outputs.py +4 -4
- pulumi_aws/elasticache/serverless_cache.py +7 -7
- pulumi_aws/lambda_/function.py +31 -12
- pulumi_aws/networkmanager/_inputs.py +650 -23
- pulumi_aws/networkmanager/connect_attachment.py +47 -0
- pulumi_aws/networkmanager/connect_peer.py +7 -7
- pulumi_aws/networkmanager/dx_gateway_attachment.py +47 -0
- pulumi_aws/networkmanager/get_core_network_policy_document.py +37 -1
- pulumi_aws/networkmanager/outputs.py +379 -14
- pulumi_aws/networkmanager/site_to_site_vpn_attachment.py +47 -0
- pulumi_aws/networkmanager/transit_gateway_route_table_attachment.py +47 -0
- pulumi_aws/networkmanager/vpc_attachment.py +47 -0
- pulumi_aws/odb/get_cloud_vm_cluster.py +23 -1
- pulumi_aws/organizations/__init__.py +1 -0
- pulumi_aws/organizations/get_account.py +231 -0
- pulumi_aws/provider.py +21 -1
- pulumi_aws/pulumi-plugin.json +1 -1
- pulumi_aws/route53/get_resolver_endpoint.py +29 -1
- pulumi_aws/route53/resolver_endpoint.py +97 -3
- pulumi_aws/s3/_inputs.py +7 -0
- pulumi_aws/s3/outputs.py +4 -0
- pulumi_aws/vpclattice/_inputs.py +54 -0
- pulumi_aws/vpclattice/outputs.py +51 -0
- pulumi_aws/vpclattice/service_network_vpc_association.py +96 -0
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/METADATA +1 -1
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/RECORD +44 -42
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/WHEEL +0 -0
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/top_level.txt +0 -0
|
@@ -21,6 +21,7 @@ class TransitGatewayRouteTableAttachmentArgs:
|
|
|
21
21
|
def __init__(__self__, *,
|
|
22
22
|
peering_id: pulumi.Input[_builtins.str],
|
|
23
23
|
transit_gateway_route_table_arn: pulumi.Input[_builtins.str],
|
|
24
|
+
routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
25
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
25
26
|
"""
|
|
26
27
|
The set of arguments for constructing a TransitGatewayRouteTableAttachment resource.
|
|
@@ -28,10 +29,13 @@ class TransitGatewayRouteTableAttachmentArgs:
|
|
|
28
29
|
:param pulumi.Input[_builtins.str] transit_gateway_route_table_arn: ARN of the transit gateway route table for the attachment.
|
|
29
30
|
|
|
30
31
|
The following arguments are optional:
|
|
32
|
+
:param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Transit Gateway route table attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
31
33
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
32
34
|
"""
|
|
33
35
|
pulumi.set(__self__, "peering_id", peering_id)
|
|
34
36
|
pulumi.set(__self__, "transit_gateway_route_table_arn", transit_gateway_route_table_arn)
|
|
37
|
+
if routing_policy_label is not None:
|
|
38
|
+
pulumi.set(__self__, "routing_policy_label", routing_policy_label)
|
|
35
39
|
if tags is not None:
|
|
36
40
|
pulumi.set(__self__, "tags", tags)
|
|
37
41
|
|
|
@@ -61,6 +65,18 @@ class TransitGatewayRouteTableAttachmentArgs:
|
|
|
61
65
|
def transit_gateway_route_table_arn(self, value: pulumi.Input[_builtins.str]):
|
|
62
66
|
pulumi.set(self, "transit_gateway_route_table_arn", value)
|
|
63
67
|
|
|
68
|
+
@_builtins.property
|
|
69
|
+
@pulumi.getter(name="routingPolicyLabel")
|
|
70
|
+
def routing_policy_label(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
71
|
+
"""
|
|
72
|
+
The routing policy label to apply to the Transit Gateway route table attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
73
|
+
"""
|
|
74
|
+
return pulumi.get(self, "routing_policy_label")
|
|
75
|
+
|
|
76
|
+
@routing_policy_label.setter
|
|
77
|
+
def routing_policy_label(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
78
|
+
pulumi.set(self, "routing_policy_label", value)
|
|
79
|
+
|
|
64
80
|
@_builtins.property
|
|
65
81
|
@pulumi.getter
|
|
66
82
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
@@ -86,6 +102,7 @@ class _TransitGatewayRouteTableAttachmentState:
|
|
|
86
102
|
owner_account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
87
103
|
peering_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
88
104
|
resource_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
105
|
+
routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
89
106
|
segment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
90
107
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
91
108
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -102,6 +119,7 @@ class _TransitGatewayRouteTableAttachmentState:
|
|
|
102
119
|
:param pulumi.Input[_builtins.str] owner_account_id: ID of the attachment account owner.
|
|
103
120
|
:param pulumi.Input[_builtins.str] peering_id: ID of the peer for the attachment.
|
|
104
121
|
:param pulumi.Input[_builtins.str] resource_arn: Attachment resource ARN.
|
|
122
|
+
:param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Transit Gateway route table attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
105
123
|
:param pulumi.Input[_builtins.str] segment_name: Name of the segment attachment.
|
|
106
124
|
:param pulumi.Input[_builtins.str] state: State of the attachment.
|
|
107
125
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
@@ -128,6 +146,8 @@ class _TransitGatewayRouteTableAttachmentState:
|
|
|
128
146
|
pulumi.set(__self__, "peering_id", peering_id)
|
|
129
147
|
if resource_arn is not None:
|
|
130
148
|
pulumi.set(__self__, "resource_arn", resource_arn)
|
|
149
|
+
if routing_policy_label is not None:
|
|
150
|
+
pulumi.set(__self__, "routing_policy_label", routing_policy_label)
|
|
131
151
|
if segment_name is not None:
|
|
132
152
|
pulumi.set(__self__, "segment_name", segment_name)
|
|
133
153
|
if state is not None:
|
|
@@ -247,6 +267,18 @@ class _TransitGatewayRouteTableAttachmentState:
|
|
|
247
267
|
def resource_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
248
268
|
pulumi.set(self, "resource_arn", value)
|
|
249
269
|
|
|
270
|
+
@_builtins.property
|
|
271
|
+
@pulumi.getter(name="routingPolicyLabel")
|
|
272
|
+
def routing_policy_label(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
273
|
+
"""
|
|
274
|
+
The routing policy label to apply to the Transit Gateway route table attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
275
|
+
"""
|
|
276
|
+
return pulumi.get(self, "routing_policy_label")
|
|
277
|
+
|
|
278
|
+
@routing_policy_label.setter
|
|
279
|
+
def routing_policy_label(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
280
|
+
pulumi.set(self, "routing_policy_label", value)
|
|
281
|
+
|
|
250
282
|
@_builtins.property
|
|
251
283
|
@pulumi.getter(name="segmentName")
|
|
252
284
|
def segment_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -317,6 +349,7 @@ class TransitGatewayRouteTableAttachment(pulumi.CustomResource):
|
|
|
317
349
|
resource_name: str,
|
|
318
350
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
319
351
|
peering_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
352
|
+
routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
320
353
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
321
354
|
transit_gateway_route_table_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
322
355
|
__props__=None):
|
|
@@ -345,6 +378,7 @@ class TransitGatewayRouteTableAttachment(pulumi.CustomResource):
|
|
|
345
378
|
:param str resource_name: The name of the resource.
|
|
346
379
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
347
380
|
:param pulumi.Input[_builtins.str] peering_id: ID of the peer for the attachment.
|
|
381
|
+
:param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Transit Gateway route table attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
348
382
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
349
383
|
:param pulumi.Input[_builtins.str] transit_gateway_route_table_arn: ARN of the transit gateway route table for the attachment.
|
|
350
384
|
|
|
@@ -394,6 +428,7 @@ class TransitGatewayRouteTableAttachment(pulumi.CustomResource):
|
|
|
394
428
|
resource_name: str,
|
|
395
429
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
396
430
|
peering_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
431
|
+
routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
397
432
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
398
433
|
transit_gateway_route_table_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
399
434
|
__props__=None):
|
|
@@ -408,6 +443,7 @@ class TransitGatewayRouteTableAttachment(pulumi.CustomResource):
|
|
|
408
443
|
if peering_id is None and not opts.urn:
|
|
409
444
|
raise TypeError("Missing required property 'peering_id'")
|
|
410
445
|
__props__.__dict__["peering_id"] = peering_id
|
|
446
|
+
__props__.__dict__["routing_policy_label"] = routing_policy_label
|
|
411
447
|
__props__.__dict__["tags"] = tags
|
|
412
448
|
if transit_gateway_route_table_arn is None and not opts.urn:
|
|
413
449
|
raise TypeError("Missing required property 'transit_gateway_route_table_arn'")
|
|
@@ -442,6 +478,7 @@ class TransitGatewayRouteTableAttachment(pulumi.CustomResource):
|
|
|
442
478
|
owner_account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
443
479
|
peering_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
444
480
|
resource_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
481
|
+
routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
445
482
|
segment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
446
483
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
447
484
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -463,6 +500,7 @@ class TransitGatewayRouteTableAttachment(pulumi.CustomResource):
|
|
|
463
500
|
:param pulumi.Input[_builtins.str] owner_account_id: ID of the attachment account owner.
|
|
464
501
|
:param pulumi.Input[_builtins.str] peering_id: ID of the peer for the attachment.
|
|
465
502
|
:param pulumi.Input[_builtins.str] resource_arn: Attachment resource ARN.
|
|
503
|
+
:param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Transit Gateway route table attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
466
504
|
:param pulumi.Input[_builtins.str] segment_name: Name of the segment attachment.
|
|
467
505
|
:param pulumi.Input[_builtins.str] state: State of the attachment.
|
|
468
506
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
@@ -484,6 +522,7 @@ class TransitGatewayRouteTableAttachment(pulumi.CustomResource):
|
|
|
484
522
|
__props__.__dict__["owner_account_id"] = owner_account_id
|
|
485
523
|
__props__.__dict__["peering_id"] = peering_id
|
|
486
524
|
__props__.__dict__["resource_arn"] = resource_arn
|
|
525
|
+
__props__.__dict__["routing_policy_label"] = routing_policy_label
|
|
487
526
|
__props__.__dict__["segment_name"] = segment_name
|
|
488
527
|
__props__.__dict__["state"] = state
|
|
489
528
|
__props__.__dict__["tags"] = tags
|
|
@@ -563,6 +602,14 @@ class TransitGatewayRouteTableAttachment(pulumi.CustomResource):
|
|
|
563
602
|
"""
|
|
564
603
|
return pulumi.get(self, "resource_arn")
|
|
565
604
|
|
|
605
|
+
@_builtins.property
|
|
606
|
+
@pulumi.getter(name="routingPolicyLabel")
|
|
607
|
+
def routing_policy_label(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
608
|
+
"""
|
|
609
|
+
The routing policy label to apply to the Transit Gateway route table attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
610
|
+
"""
|
|
611
|
+
return pulumi.get(self, "routing_policy_label")
|
|
612
|
+
|
|
566
613
|
@_builtins.property
|
|
567
614
|
@pulumi.getter(name="segmentName")
|
|
568
615
|
def segment_name(self) -> pulumi.Output[_builtins.str]:
|
|
@@ -25,6 +25,7 @@ class VpcAttachmentArgs:
|
|
|
25
25
|
subnet_arns: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
26
26
|
vpc_arn: pulumi.Input[_builtins.str],
|
|
27
27
|
options: Optional[pulumi.Input['VpcAttachmentOptionsArgs']] = None,
|
|
28
|
+
routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
29
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
29
30
|
"""
|
|
30
31
|
The set of arguments for constructing a VpcAttachment resource.
|
|
@@ -34,6 +35,7 @@ class VpcAttachmentArgs:
|
|
|
34
35
|
|
|
35
36
|
The following arguments are optional:
|
|
36
37
|
:param pulumi.Input['VpcAttachmentOptionsArgs'] options: Options for the VPC attachment. See below.
|
|
38
|
+
:param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the VPC attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
37
39
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
38
40
|
"""
|
|
39
41
|
pulumi.set(__self__, "core_network_id", core_network_id)
|
|
@@ -41,6 +43,8 @@ class VpcAttachmentArgs:
|
|
|
41
43
|
pulumi.set(__self__, "vpc_arn", vpc_arn)
|
|
42
44
|
if options is not None:
|
|
43
45
|
pulumi.set(__self__, "options", options)
|
|
46
|
+
if routing_policy_label is not None:
|
|
47
|
+
pulumi.set(__self__, "routing_policy_label", routing_policy_label)
|
|
44
48
|
if tags is not None:
|
|
45
49
|
pulumi.set(__self__, "tags", tags)
|
|
46
50
|
|
|
@@ -94,6 +98,18 @@ class VpcAttachmentArgs:
|
|
|
94
98
|
def options(self, value: Optional[pulumi.Input['VpcAttachmentOptionsArgs']]):
|
|
95
99
|
pulumi.set(self, "options", value)
|
|
96
100
|
|
|
101
|
+
@_builtins.property
|
|
102
|
+
@pulumi.getter(name="routingPolicyLabel")
|
|
103
|
+
def routing_policy_label(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
104
|
+
"""
|
|
105
|
+
The routing policy label to apply to the VPC attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "routing_policy_label")
|
|
108
|
+
|
|
109
|
+
@routing_policy_label.setter
|
|
110
|
+
def routing_policy_label(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
111
|
+
pulumi.set(self, "routing_policy_label", value)
|
|
112
|
+
|
|
97
113
|
@_builtins.property
|
|
98
114
|
@pulumi.getter
|
|
99
115
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
@@ -119,6 +135,7 @@ class _VpcAttachmentState:
|
|
|
119
135
|
options: Optional[pulumi.Input['VpcAttachmentOptionsArgs']] = None,
|
|
120
136
|
owner_account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
121
137
|
resource_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
138
|
+
routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
122
139
|
segment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
123
140
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
124
141
|
subnet_arns: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -136,6 +153,7 @@ class _VpcAttachmentState:
|
|
|
136
153
|
:param pulumi.Input['VpcAttachmentOptionsArgs'] options: Options for the VPC attachment. See below.
|
|
137
154
|
:param pulumi.Input[_builtins.str] owner_account_id: ID of the attachment account owner.
|
|
138
155
|
:param pulumi.Input[_builtins.str] resource_arn: Attachment resource ARN.
|
|
156
|
+
:param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the VPC attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
139
157
|
:param pulumi.Input[_builtins.str] segment_name: Name of the segment attachment.
|
|
140
158
|
:param pulumi.Input[_builtins.str] state: State of the attachment.
|
|
141
159
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] subnet_arns: Subnet ARNs of the VPC attachment.
|
|
@@ -163,6 +181,8 @@ class _VpcAttachmentState:
|
|
|
163
181
|
pulumi.set(__self__, "owner_account_id", owner_account_id)
|
|
164
182
|
if resource_arn is not None:
|
|
165
183
|
pulumi.set(__self__, "resource_arn", resource_arn)
|
|
184
|
+
if routing_policy_label is not None:
|
|
185
|
+
pulumi.set(__self__, "routing_policy_label", routing_policy_label)
|
|
166
186
|
if segment_name is not None:
|
|
167
187
|
pulumi.set(__self__, "segment_name", segment_name)
|
|
168
188
|
if state is not None:
|
|
@@ -284,6 +304,18 @@ class _VpcAttachmentState:
|
|
|
284
304
|
def resource_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
285
305
|
pulumi.set(self, "resource_arn", value)
|
|
286
306
|
|
|
307
|
+
@_builtins.property
|
|
308
|
+
@pulumi.getter(name="routingPolicyLabel")
|
|
309
|
+
def routing_policy_label(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
310
|
+
"""
|
|
311
|
+
The routing policy label to apply to the VPC attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
312
|
+
"""
|
|
313
|
+
return pulumi.get(self, "routing_policy_label")
|
|
314
|
+
|
|
315
|
+
@routing_policy_label.setter
|
|
316
|
+
def routing_policy_label(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
317
|
+
pulumi.set(self, "routing_policy_label", value)
|
|
318
|
+
|
|
287
319
|
@_builtins.property
|
|
288
320
|
@pulumi.getter(name="segmentName")
|
|
289
321
|
def segment_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -367,6 +399,7 @@ class VpcAttachment(pulumi.CustomResource):
|
|
|
367
399
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
368
400
|
core_network_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
369
401
|
options: Optional[pulumi.Input[Union['VpcAttachmentOptionsArgs', 'VpcAttachmentOptionsArgsDict']]] = None,
|
|
402
|
+
routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
370
403
|
subnet_arns: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
371
404
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
372
405
|
vpc_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -418,6 +451,7 @@ class VpcAttachment(pulumi.CustomResource):
|
|
|
418
451
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
419
452
|
:param pulumi.Input[_builtins.str] core_network_id: ID of a core network for the VPC attachment.
|
|
420
453
|
:param pulumi.Input[Union['VpcAttachmentOptionsArgs', 'VpcAttachmentOptionsArgsDict']] options: Options for the VPC attachment. See below.
|
|
454
|
+
:param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the VPC attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
421
455
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] subnet_arns: Subnet ARNs of the VPC attachment.
|
|
422
456
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
423
457
|
:param pulumi.Input[_builtins.str] vpc_arn: ARN of the VPC.
|
|
@@ -490,6 +524,7 @@ class VpcAttachment(pulumi.CustomResource):
|
|
|
490
524
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
491
525
|
core_network_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
492
526
|
options: Optional[pulumi.Input[Union['VpcAttachmentOptionsArgs', 'VpcAttachmentOptionsArgsDict']]] = None,
|
|
527
|
+
routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
493
528
|
subnet_arns: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
494
529
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
495
530
|
vpc_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -506,6 +541,7 @@ class VpcAttachment(pulumi.CustomResource):
|
|
|
506
541
|
raise TypeError("Missing required property 'core_network_id'")
|
|
507
542
|
__props__.__dict__["core_network_id"] = core_network_id
|
|
508
543
|
__props__.__dict__["options"] = options
|
|
544
|
+
__props__.__dict__["routing_policy_label"] = routing_policy_label
|
|
509
545
|
if subnet_arns is None and not opts.urn:
|
|
510
546
|
raise TypeError("Missing required property 'subnet_arns'")
|
|
511
547
|
__props__.__dict__["subnet_arns"] = subnet_arns
|
|
@@ -542,6 +578,7 @@ class VpcAttachment(pulumi.CustomResource):
|
|
|
542
578
|
options: Optional[pulumi.Input[Union['VpcAttachmentOptionsArgs', 'VpcAttachmentOptionsArgsDict']]] = None,
|
|
543
579
|
owner_account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
544
580
|
resource_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
581
|
+
routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
545
582
|
segment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
546
583
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
547
584
|
subnet_arns: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -564,6 +601,7 @@ class VpcAttachment(pulumi.CustomResource):
|
|
|
564
601
|
:param pulumi.Input[Union['VpcAttachmentOptionsArgs', 'VpcAttachmentOptionsArgsDict']] options: Options for the VPC attachment. See below.
|
|
565
602
|
:param pulumi.Input[_builtins.str] owner_account_id: ID of the attachment account owner.
|
|
566
603
|
:param pulumi.Input[_builtins.str] resource_arn: Attachment resource ARN.
|
|
604
|
+
:param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the VPC attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
567
605
|
:param pulumi.Input[_builtins.str] segment_name: Name of the segment attachment.
|
|
568
606
|
:param pulumi.Input[_builtins.str] state: State of the attachment.
|
|
569
607
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] subnet_arns: Subnet ARNs of the VPC attachment.
|
|
@@ -586,6 +624,7 @@ class VpcAttachment(pulumi.CustomResource):
|
|
|
586
624
|
__props__.__dict__["options"] = options
|
|
587
625
|
__props__.__dict__["owner_account_id"] = owner_account_id
|
|
588
626
|
__props__.__dict__["resource_arn"] = resource_arn
|
|
627
|
+
__props__.__dict__["routing_policy_label"] = routing_policy_label
|
|
589
628
|
__props__.__dict__["segment_name"] = segment_name
|
|
590
629
|
__props__.__dict__["state"] = state
|
|
591
630
|
__props__.__dict__["subnet_arns"] = subnet_arns
|
|
@@ -666,6 +705,14 @@ class VpcAttachment(pulumi.CustomResource):
|
|
|
666
705
|
"""
|
|
667
706
|
return pulumi.get(self, "resource_arn")
|
|
668
707
|
|
|
708
|
+
@_builtins.property
|
|
709
|
+
@pulumi.getter(name="routingPolicyLabel")
|
|
710
|
+
def routing_policy_label(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
711
|
+
"""
|
|
712
|
+
The routing policy label to apply to the VPC attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
|
|
713
|
+
"""
|
|
714
|
+
return pulumi.get(self, "routing_policy_label")
|
|
715
|
+
|
|
669
716
|
@_builtins.property
|
|
670
717
|
@pulumi.getter(name="segmentName")
|
|
671
718
|
def segment_name(self) -> pulumi.Output[_builtins.str]:
|
|
@@ -27,10 +27,13 @@ class GetCloudVmClusterResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getCloudVmCluster.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, arn=None, cloud_exadata_infrastructure_id=None, cluster_name=None, compute_model=None, cpu_core_count=None, created_at=None, data_collection_options=None, data_storage_size_in_tbs=None, db_node_storage_size_in_gbs=None, db_servers=None, disk_redundancy=None, display_name=None, domain=None, gi_version=None, hostname_prefix_computed=None, id=None, iorm_config_caches=None, is_local_backup_enabled=None, is_sparse_disk_group_enabled=None, last_update_history_entry_id=None, license_model=None, listener_port=None, memory_size_in_gbs=None, node_count=None, oci_resource_anchor_name=None, oci_url=None, ocid=None, odb_network_id=None, percent_progress=None, region=None, scan_dns_name=None, scan_dns_record_id=None, scan_ip_ids=None, shape=None, ssh_public_keys=None, status=None, status_reason=None, storage_size_in_gbs=None, system_version=None, tags=None, timezone=None, vip_ids=None):
|
|
30
|
+
def __init__(__self__, arn=None, cloud_exadata_infrastructure_arn=None, cloud_exadata_infrastructure_id=None, cluster_name=None, compute_model=None, cpu_core_count=None, created_at=None, data_collection_options=None, data_storage_size_in_tbs=None, db_node_storage_size_in_gbs=None, db_servers=None, disk_redundancy=None, display_name=None, domain=None, gi_version=None, hostname_prefix_computed=None, id=None, iorm_config_caches=None, is_local_backup_enabled=None, is_sparse_disk_group_enabled=None, last_update_history_entry_id=None, license_model=None, listener_port=None, memory_size_in_gbs=None, node_count=None, oci_resource_anchor_name=None, oci_url=None, ocid=None, odb_network_arn=None, odb_network_id=None, percent_progress=None, region=None, scan_dns_name=None, scan_dns_record_id=None, scan_ip_ids=None, shape=None, ssh_public_keys=None, status=None, status_reason=None, storage_size_in_gbs=None, system_version=None, tags=None, timezone=None, vip_ids=None):
|
|
31
31
|
if arn and not isinstance(arn, str):
|
|
32
32
|
raise TypeError("Expected argument 'arn' to be a str")
|
|
33
33
|
pulumi.set(__self__, "arn", arn)
|
|
34
|
+
if cloud_exadata_infrastructure_arn and not isinstance(cloud_exadata_infrastructure_arn, str):
|
|
35
|
+
raise TypeError("Expected argument 'cloud_exadata_infrastructure_arn' to be a str")
|
|
36
|
+
pulumi.set(__self__, "cloud_exadata_infrastructure_arn", cloud_exadata_infrastructure_arn)
|
|
34
37
|
if cloud_exadata_infrastructure_id and not isinstance(cloud_exadata_infrastructure_id, str):
|
|
35
38
|
raise TypeError("Expected argument 'cloud_exadata_infrastructure_id' to be a str")
|
|
36
39
|
pulumi.set(__self__, "cloud_exadata_infrastructure_id", cloud_exadata_infrastructure_id)
|
|
@@ -109,6 +112,9 @@ class GetCloudVmClusterResult:
|
|
|
109
112
|
if ocid and not isinstance(ocid, str):
|
|
110
113
|
raise TypeError("Expected argument 'ocid' to be a str")
|
|
111
114
|
pulumi.set(__self__, "ocid", ocid)
|
|
115
|
+
if odb_network_arn and not isinstance(odb_network_arn, str):
|
|
116
|
+
raise TypeError("Expected argument 'odb_network_arn' to be a str")
|
|
117
|
+
pulumi.set(__self__, "odb_network_arn", odb_network_arn)
|
|
112
118
|
if odb_network_id and not isinstance(odb_network_id, str):
|
|
113
119
|
raise TypeError("Expected argument 'odb_network_id' to be a str")
|
|
114
120
|
pulumi.set(__self__, "odb_network_id", odb_network_id)
|
|
@@ -163,6 +169,11 @@ class GetCloudVmClusterResult:
|
|
|
163
169
|
"""
|
|
164
170
|
return pulumi.get(self, "arn")
|
|
165
171
|
|
|
172
|
+
@_builtins.property
|
|
173
|
+
@pulumi.getter(name="cloudExadataInfrastructureArn")
|
|
174
|
+
def cloud_exadata_infrastructure_arn(self) -> _builtins.str:
|
|
175
|
+
return pulumi.get(self, "cloud_exadata_infrastructure_arn")
|
|
176
|
+
|
|
166
177
|
@_builtins.property
|
|
167
178
|
@pulumi.getter(name="cloudExadataInfrastructureId")
|
|
168
179
|
def cloud_exadata_infrastructure_id(self) -> _builtins.str:
|
|
@@ -368,6 +379,11 @@ class GetCloudVmClusterResult:
|
|
|
368
379
|
"""
|
|
369
380
|
return pulumi.get(self, "ocid")
|
|
370
381
|
|
|
382
|
+
@_builtins.property
|
|
383
|
+
@pulumi.getter(name="odbNetworkArn")
|
|
384
|
+
def odb_network_arn(self) -> _builtins.str:
|
|
385
|
+
return pulumi.get(self, "odb_network_arn")
|
|
386
|
+
|
|
371
387
|
@_builtins.property
|
|
372
388
|
@pulumi.getter(name="odbNetworkId")
|
|
373
389
|
def odb_network_id(self) -> _builtins.str:
|
|
@@ -490,6 +506,7 @@ class AwaitableGetCloudVmClusterResult(GetCloudVmClusterResult):
|
|
|
490
506
|
yield self
|
|
491
507
|
return GetCloudVmClusterResult(
|
|
492
508
|
arn=self.arn,
|
|
509
|
+
cloud_exadata_infrastructure_arn=self.cloud_exadata_infrastructure_arn,
|
|
493
510
|
cloud_exadata_infrastructure_id=self.cloud_exadata_infrastructure_id,
|
|
494
511
|
cluster_name=self.cluster_name,
|
|
495
512
|
compute_model=self.compute_model,
|
|
@@ -516,6 +533,7 @@ class AwaitableGetCloudVmClusterResult(GetCloudVmClusterResult):
|
|
|
516
533
|
oci_resource_anchor_name=self.oci_resource_anchor_name,
|
|
517
534
|
oci_url=self.oci_url,
|
|
518
535
|
ocid=self.ocid,
|
|
536
|
+
odb_network_arn=self.odb_network_arn,
|
|
519
537
|
odb_network_id=self.odb_network_id,
|
|
520
538
|
percent_progress=self.percent_progress,
|
|
521
539
|
region=self.region,
|
|
@@ -566,6 +584,7 @@ def get_cloud_vm_cluster(id: Optional[_builtins.str] = None,
|
|
|
566
584
|
|
|
567
585
|
return AwaitableGetCloudVmClusterResult(
|
|
568
586
|
arn=pulumi.get(__ret__, 'arn'),
|
|
587
|
+
cloud_exadata_infrastructure_arn=pulumi.get(__ret__, 'cloud_exadata_infrastructure_arn'),
|
|
569
588
|
cloud_exadata_infrastructure_id=pulumi.get(__ret__, 'cloud_exadata_infrastructure_id'),
|
|
570
589
|
cluster_name=pulumi.get(__ret__, 'cluster_name'),
|
|
571
590
|
compute_model=pulumi.get(__ret__, 'compute_model'),
|
|
@@ -592,6 +611,7 @@ def get_cloud_vm_cluster(id: Optional[_builtins.str] = None,
|
|
|
592
611
|
oci_resource_anchor_name=pulumi.get(__ret__, 'oci_resource_anchor_name'),
|
|
593
612
|
oci_url=pulumi.get(__ret__, 'oci_url'),
|
|
594
613
|
ocid=pulumi.get(__ret__, 'ocid'),
|
|
614
|
+
odb_network_arn=pulumi.get(__ret__, 'odb_network_arn'),
|
|
595
615
|
odb_network_id=pulumi.get(__ret__, 'odb_network_id'),
|
|
596
616
|
percent_progress=pulumi.get(__ret__, 'percent_progress'),
|
|
597
617
|
region=pulumi.get(__ret__, 'region'),
|
|
@@ -639,6 +659,7 @@ def get_cloud_vm_cluster_output(id: Optional[pulumi.Input[_builtins.str]] = None
|
|
|
639
659
|
__ret__ = pulumi.runtime.invoke_output('aws:odb/getCloudVmCluster:getCloudVmCluster', __args__, opts=opts, typ=GetCloudVmClusterResult)
|
|
640
660
|
return __ret__.apply(lambda __response__: GetCloudVmClusterResult(
|
|
641
661
|
arn=pulumi.get(__response__, 'arn'),
|
|
662
|
+
cloud_exadata_infrastructure_arn=pulumi.get(__response__, 'cloud_exadata_infrastructure_arn'),
|
|
642
663
|
cloud_exadata_infrastructure_id=pulumi.get(__response__, 'cloud_exadata_infrastructure_id'),
|
|
643
664
|
cluster_name=pulumi.get(__response__, 'cluster_name'),
|
|
644
665
|
compute_model=pulumi.get(__response__, 'compute_model'),
|
|
@@ -665,6 +686,7 @@ def get_cloud_vm_cluster_output(id: Optional[pulumi.Input[_builtins.str]] = None
|
|
|
665
686
|
oci_resource_anchor_name=pulumi.get(__response__, 'oci_resource_anchor_name'),
|
|
666
687
|
oci_url=pulumi.get(__response__, 'oci_url'),
|
|
667
688
|
ocid=pulumi.get(__response__, 'ocid'),
|
|
689
|
+
odb_network_arn=pulumi.get(__response__, 'odb_network_arn'),
|
|
668
690
|
odb_network_id=pulumi.get(__response__, 'odb_network_id'),
|
|
669
691
|
percent_progress=pulumi.get(__response__, 'percent_progress'),
|
|
670
692
|
region=pulumi.get(__response__, 'region'),
|
|
@@ -8,6 +8,7 @@ import typing
|
|
|
8
8
|
# Export this package's modules as members:
|
|
9
9
|
from .account import *
|
|
10
10
|
from .delegated_administrator import *
|
|
11
|
+
from .get_account import *
|
|
11
12
|
from .get_delegated_administrators import *
|
|
12
13
|
from .get_delegated_services import *
|
|
13
14
|
from .get_organization import *
|
|
@@ -0,0 +1,231 @@
|
|
|
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
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
'GetAccountResult',
|
|
19
|
+
'AwaitableGetAccountResult',
|
|
20
|
+
'get_account',
|
|
21
|
+
'get_account_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetAccountResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getAccount.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, account_id=None, arn=None, email=None, id=None, joined_method=None, joined_timestamp=None, name=None, parent_id=None, state=None, tags=None):
|
|
30
|
+
if account_id and not isinstance(account_id, str):
|
|
31
|
+
raise TypeError("Expected argument 'account_id' to be a str")
|
|
32
|
+
pulumi.set(__self__, "account_id", account_id)
|
|
33
|
+
if arn and not isinstance(arn, str):
|
|
34
|
+
raise TypeError("Expected argument 'arn' to be a str")
|
|
35
|
+
pulumi.set(__self__, "arn", arn)
|
|
36
|
+
if email and not isinstance(email, str):
|
|
37
|
+
raise TypeError("Expected argument 'email' to be a str")
|
|
38
|
+
pulumi.set(__self__, "email", email)
|
|
39
|
+
if id and not isinstance(id, str):
|
|
40
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
41
|
+
pulumi.set(__self__, "id", id)
|
|
42
|
+
if joined_method and not isinstance(joined_method, str):
|
|
43
|
+
raise TypeError("Expected argument 'joined_method' to be a str")
|
|
44
|
+
pulumi.set(__self__, "joined_method", joined_method)
|
|
45
|
+
if joined_timestamp and not isinstance(joined_timestamp, str):
|
|
46
|
+
raise TypeError("Expected argument 'joined_timestamp' to be a str")
|
|
47
|
+
pulumi.set(__self__, "joined_timestamp", joined_timestamp)
|
|
48
|
+
if name and not isinstance(name, str):
|
|
49
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
50
|
+
pulumi.set(__self__, "name", name)
|
|
51
|
+
if parent_id and not isinstance(parent_id, str):
|
|
52
|
+
raise TypeError("Expected argument 'parent_id' to be a str")
|
|
53
|
+
pulumi.set(__self__, "parent_id", parent_id)
|
|
54
|
+
if state and not isinstance(state, str):
|
|
55
|
+
raise TypeError("Expected argument 'state' to be a str")
|
|
56
|
+
pulumi.set(__self__, "state", state)
|
|
57
|
+
if tags and not isinstance(tags, dict):
|
|
58
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
59
|
+
pulumi.set(__self__, "tags", tags)
|
|
60
|
+
|
|
61
|
+
@_builtins.property
|
|
62
|
+
@pulumi.getter(name="accountId")
|
|
63
|
+
def account_id(self) -> _builtins.str:
|
|
64
|
+
return pulumi.get(self, "account_id")
|
|
65
|
+
|
|
66
|
+
@_builtins.property
|
|
67
|
+
@pulumi.getter
|
|
68
|
+
def arn(self) -> _builtins.str:
|
|
69
|
+
"""
|
|
70
|
+
ARN of the organization.
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "arn")
|
|
73
|
+
|
|
74
|
+
@_builtins.property
|
|
75
|
+
@pulumi.getter
|
|
76
|
+
def email(self) -> _builtins.str:
|
|
77
|
+
"""
|
|
78
|
+
Email address of the owner assigned to the new member account.
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "email")
|
|
81
|
+
|
|
82
|
+
@_builtins.property
|
|
83
|
+
@pulumi.getter
|
|
84
|
+
def id(self) -> _builtins.str:
|
|
85
|
+
"""
|
|
86
|
+
The provider-assigned unique ID for this managed resource.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "id")
|
|
89
|
+
|
|
90
|
+
@_builtins.property
|
|
91
|
+
@pulumi.getter(name="joinedMethod")
|
|
92
|
+
def joined_method(self) -> _builtins.str:
|
|
93
|
+
"""
|
|
94
|
+
Method by which the account joined the organization.
|
|
95
|
+
"""
|
|
96
|
+
return pulumi.get(self, "joined_method")
|
|
97
|
+
|
|
98
|
+
@_builtins.property
|
|
99
|
+
@pulumi.getter(name="joinedTimestamp")
|
|
100
|
+
def joined_timestamp(self) -> _builtins.str:
|
|
101
|
+
"""
|
|
102
|
+
Date the account became a part of the organization.
|
|
103
|
+
"""
|
|
104
|
+
return pulumi.get(self, "joined_timestamp")
|
|
105
|
+
|
|
106
|
+
@_builtins.property
|
|
107
|
+
@pulumi.getter
|
|
108
|
+
def name(self) -> _builtins.str:
|
|
109
|
+
"""
|
|
110
|
+
Friendly name for the member account.
|
|
111
|
+
"""
|
|
112
|
+
return pulumi.get(self, "name")
|
|
113
|
+
|
|
114
|
+
@_builtins.property
|
|
115
|
+
@pulumi.getter(name="parentId")
|
|
116
|
+
def parent_id(self) -> _builtins.str:
|
|
117
|
+
"""
|
|
118
|
+
Parent Organizational Unit ID or Root ID for the account.
|
|
119
|
+
"""
|
|
120
|
+
return pulumi.get(self, "parent_id")
|
|
121
|
+
|
|
122
|
+
@_builtins.property
|
|
123
|
+
@pulumi.getter
|
|
124
|
+
def state(self) -> _builtins.str:
|
|
125
|
+
"""
|
|
126
|
+
State of the account in the organization.
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "state")
|
|
129
|
+
|
|
130
|
+
@_builtins.property
|
|
131
|
+
@pulumi.getter
|
|
132
|
+
def tags(self) -> Mapping[str, _builtins.str]:
|
|
133
|
+
"""
|
|
134
|
+
Map of tags for the resource.
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "tags")
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
class AwaitableGetAccountResult(GetAccountResult):
|
|
140
|
+
# pylint: disable=using-constant-test
|
|
141
|
+
def __await__(self):
|
|
142
|
+
if False:
|
|
143
|
+
yield self
|
|
144
|
+
return GetAccountResult(
|
|
145
|
+
account_id=self.account_id,
|
|
146
|
+
arn=self.arn,
|
|
147
|
+
email=self.email,
|
|
148
|
+
id=self.id,
|
|
149
|
+
joined_method=self.joined_method,
|
|
150
|
+
joined_timestamp=self.joined_timestamp,
|
|
151
|
+
name=self.name,
|
|
152
|
+
parent_id=self.parent_id,
|
|
153
|
+
state=self.state,
|
|
154
|
+
tags=self.tags)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
def get_account(account_id: Optional[_builtins.str] = None,
|
|
158
|
+
tags: Optional[Mapping[str, _builtins.str]] = None,
|
|
159
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountResult:
|
|
160
|
+
"""
|
|
161
|
+
Get information about an account in an organization.
|
|
162
|
+
|
|
163
|
+
## Example Usage
|
|
164
|
+
|
|
165
|
+
### Basic Usage
|
|
166
|
+
|
|
167
|
+
```python
|
|
168
|
+
import pulumi
|
|
169
|
+
import pulumi_aws as aws
|
|
170
|
+
|
|
171
|
+
example = aws.organizations.get_account(account_id="AWS ACCOUNT ID")
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
:param _builtins.str account_id: Account ID number of a delegated administrator account in the organization.
|
|
176
|
+
:param Mapping[str, _builtins.str] tags: Map of tags for the resource.
|
|
177
|
+
"""
|
|
178
|
+
__args__ = dict()
|
|
179
|
+
__args__['accountId'] = account_id
|
|
180
|
+
__args__['tags'] = tags
|
|
181
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
182
|
+
__ret__ = pulumi.runtime.invoke('aws:organizations/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult).value
|
|
183
|
+
|
|
184
|
+
return AwaitableGetAccountResult(
|
|
185
|
+
account_id=pulumi.get(__ret__, 'account_id'),
|
|
186
|
+
arn=pulumi.get(__ret__, 'arn'),
|
|
187
|
+
email=pulumi.get(__ret__, 'email'),
|
|
188
|
+
id=pulumi.get(__ret__, 'id'),
|
|
189
|
+
joined_method=pulumi.get(__ret__, 'joined_method'),
|
|
190
|
+
joined_timestamp=pulumi.get(__ret__, 'joined_timestamp'),
|
|
191
|
+
name=pulumi.get(__ret__, 'name'),
|
|
192
|
+
parent_id=pulumi.get(__ret__, 'parent_id'),
|
|
193
|
+
state=pulumi.get(__ret__, 'state'),
|
|
194
|
+
tags=pulumi.get(__ret__, 'tags'))
|
|
195
|
+
def get_account_output(account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
196
|
+
tags: Optional[pulumi.Input[Optional[Mapping[str, _builtins.str]]]] = None,
|
|
197
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountResult]:
|
|
198
|
+
"""
|
|
199
|
+
Get information about an account in an organization.
|
|
200
|
+
|
|
201
|
+
## Example Usage
|
|
202
|
+
|
|
203
|
+
### Basic Usage
|
|
204
|
+
|
|
205
|
+
```python
|
|
206
|
+
import pulumi
|
|
207
|
+
import pulumi_aws as aws
|
|
208
|
+
|
|
209
|
+
example = aws.organizations.get_account(account_id="AWS ACCOUNT ID")
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
:param _builtins.str account_id: Account ID number of a delegated administrator account in the organization.
|
|
214
|
+
:param Mapping[str, _builtins.str] tags: Map of tags for the resource.
|
|
215
|
+
"""
|
|
216
|
+
__args__ = dict()
|
|
217
|
+
__args__['accountId'] = account_id
|
|
218
|
+
__args__['tags'] = tags
|
|
219
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
220
|
+
__ret__ = pulumi.runtime.invoke_output('aws:organizations/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult)
|
|
221
|
+
return __ret__.apply(lambda __response__: GetAccountResult(
|
|
222
|
+
account_id=pulumi.get(__response__, 'account_id'),
|
|
223
|
+
arn=pulumi.get(__response__, 'arn'),
|
|
224
|
+
email=pulumi.get(__response__, 'email'),
|
|
225
|
+
id=pulumi.get(__response__, 'id'),
|
|
226
|
+
joined_method=pulumi.get(__response__, 'joined_method'),
|
|
227
|
+
joined_timestamp=pulumi.get(__response__, 'joined_timestamp'),
|
|
228
|
+
name=pulumi.get(__response__, 'name'),
|
|
229
|
+
parent_id=pulumi.get(__response__, 'parent_id'),
|
|
230
|
+
state=pulumi.get(__response__, 'state'),
|
|
231
|
+
tags=pulumi.get(__response__, 'tags')))
|