pulumi-aws 7.11.1__py3-none-any.whl → 7.12.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 +57 -0
- pulumi_aws/acm/certificate.py +20 -20
- pulumi_aws/acmpca/certificate.py +8 -8
- pulumi_aws/apigateway/account.py +0 -4
- pulumi_aws/appflow/_inputs.py +33 -0
- pulumi_aws/appflow/outputs.py +22 -0
- pulumi_aws/appsync/graph_ql_api.py +84 -0
- pulumi_aws/bedrock/_inputs.py +97 -21
- pulumi_aws/bedrock/agent_agent_alias.py +94 -0
- pulumi_aws/bedrock/agentcore_agent_runtime.py +4 -4
- pulumi_aws/bedrock/agentcore_browser.py +42 -0
- pulumi_aws/bedrock/agentcore_gateway_target.py +217 -7
- pulumi_aws/bedrock/agentcore_memory.py +37 -9
- pulumi_aws/bedrock/agentcore_oauth2_credential_provider.py +38 -0
- pulumi_aws/bedrock/outputs.py +64 -17
- pulumi_aws/cloudfront/_inputs.py +15 -14
- pulumi_aws/cloudfront/distribution.py +28 -0
- pulumi_aws/cloudfront/outputs.py +10 -9
- pulumi_aws/cloudhsmv2/cluster.py +64 -0
- pulumi_aws/cloudwatch/_inputs.py +9 -8
- pulumi_aws/cloudwatch/contributor_managed_insight_rule.py +20 -0
- pulumi_aws/cloudwatch/log_delivery_destination.py +53 -12
- pulumi_aws/cloudwatch/outputs.py +6 -5
- pulumi_aws/codebuild/webhook.py +16 -16
- pulumi_aws/codepipeline/webhook.py +16 -16
- pulumi_aws/connect/_inputs.py +50 -4
- pulumi_aws/connect/outputs.py +95 -4
- pulumi_aws/connect/routing_profile.py +42 -18
- pulumi_aws/datasync/location_fsx_ontap_file_system.py +34 -0
- pulumi_aws/datazone/project.py +24 -0
- pulumi_aws/detective/organization_configuration.py +20 -0
- pulumi_aws/dms/_inputs.py +3 -3
- pulumi_aws/dms/outputs.py +2 -2
- pulumi_aws/ec2/__init__.py +1 -0
- pulumi_aws/ec2/_inputs.py +182 -0
- pulumi_aws/ec2/allowed_images_settings.py +338 -0
- pulumi_aws/ec2/get_coip_pools.py +24 -0
- pulumi_aws/ec2/image_block_public_access.py +48 -1
- pulumi_aws/ec2/outputs.py +167 -0
- pulumi_aws/ec2/security_group.py +6 -6
- pulumi_aws/ec2/serial_console_access.py +50 -3
- pulumi_aws/ec2/vpc_endpoint.py +92 -0
- pulumi_aws/ec2clientvpn/authorization_rule.py +7 -7
- pulumi_aws/ec2clientvpn/route.py +7 -7
- pulumi_aws/ec2transitgateway/instance_connect_endpoint.py +47 -0
- pulumi_aws/ecrpublic/get_images.py +24 -0
- pulumi_aws/ecs/_inputs.py +172 -33
- pulumi_aws/ecs/get_service.py +318 -7
- pulumi_aws/ecs/outputs.py +957 -86
- pulumi_aws/ecs/service.py +76 -0
- pulumi_aws/eks/_inputs.py +195 -5
- pulumi_aws/eks/outputs.py +164 -4
- pulumi_aws/elasticache/_inputs.py +154 -0
- pulumi_aws/elasticache/get_replication_group.py +23 -9
- pulumi_aws/elasticache/outputs.py +204 -0
- pulumi_aws/elasticache/replication_group.py +115 -0
- pulumi_aws/elasticache/reserved_cache_node.py +28 -0
- pulumi_aws/finspace/kx_cluster.py +76 -0
- pulumi_aws/fis/__init__.py +1 -0
- pulumi_aws/fis/target_account_configuration.py +401 -0
- pulumi_aws/glue/job.py +7 -7
- pulumi_aws/guardduty/malware_protection_plan.py +50 -0
- pulumi_aws/guardduty/member_detector_feature.py +42 -0
- pulumi_aws/invoicing/__init__.py +11 -0
- pulumi_aws/invoicing/_inputs.py +128 -0
- pulumi_aws/invoicing/invoice_unit.py +620 -0
- pulumi_aws/invoicing/outputs.py +99 -0
- pulumi_aws/iot/ca_certificate.py +32 -32
- pulumi_aws/iot/get_registration_code.py +8 -8
- pulumi_aws/ivschat/logging_configuration.py +28 -0
- pulumi_aws/kinesis/get_stream.py +15 -1
- pulumi_aws/kinesis/stream.py +47 -0
- pulumi_aws/kms/key.py +7 -7
- pulumi_aws/licensemanager/license_grant.py +36 -0
- pulumi_aws/m2/environment.py +150 -0
- pulumi_aws/networkfirewall/tls_inspection_configuration.py +84 -0
- pulumi_aws/networkflowmonitor/__init__.py +12 -0
- pulumi_aws/networkflowmonitor/_inputs.py +412 -0
- pulumi_aws/networkflowmonitor/monitor.py +568 -0
- pulumi_aws/networkflowmonitor/outputs.py +302 -0
- pulumi_aws/networkflowmonitor/scope.py +443 -0
- pulumi_aws/observabilityadmin/__init__.py +11 -0
- pulumi_aws/observabilityadmin/_inputs.py +506 -0
- pulumi_aws/observabilityadmin/centralization_rule_for_organization.py +637 -0
- pulumi_aws/observabilityadmin/outputs.py +415 -0
- pulumi_aws/opensearch/_inputs.py +92 -133
- pulumi_aws/opensearch/authorize_vpc_endpoint_access.py +4 -4
- pulumi_aws/opensearch/domain.py +60 -0
- pulumi_aws/opensearch/get_domain.py +16 -9
- pulumi_aws/opensearch/outputs.py +131 -2
- pulumi_aws/organizations/get_policies.py +2 -2
- pulumi_aws/organizations/get_policies_for_target.py +2 -2
- pulumi_aws/organizations/get_policy.py +1 -1
- pulumi_aws/organizations/organization.py +7 -7
- pulumi_aws/organizations/policy.py +35 -7
- pulumi_aws/pulumi-plugin.json +1 -1
- pulumi_aws/quicksight/analysis.py +108 -0
- pulumi_aws/quicksight/dashboard.py +110 -0
- pulumi_aws/quicksight/template.py +126 -0
- pulumi_aws/redshift/cluster_snapshot.py +28 -0
- pulumi_aws/redshift/get_cluster.py +52 -0
- pulumi_aws/redshift/snapshot_copy_grant.py +22 -0
- pulumi_aws/route53/profiles_association.py +30 -0
- pulumi_aws/route53/profiles_resource_association.py +34 -0
- pulumi_aws/s3control/multi_region_access_point_policy.py +76 -0
- pulumi_aws/s3tables/table.py +76 -1
- pulumi_aws/s3tables/table_bucket.py +78 -3
- pulumi_aws/sagemaker/_inputs.py +225 -232
- pulumi_aws/sagemaker/endpoint_configuration.py +111 -64
- pulumi_aws/sagemaker/outputs.py +154 -158
- pulumi_aws/ssmincidents/get_response_plan.py +14 -0
- pulumi_aws/ssoadmin/account_assignment.py +4 -4
- pulumi_aws/transfer/profile.py +20 -0
- pulumi_aws/transfer/server.py +7 -0
- pulumi_aws/transfer/ssh_key.py +6 -6
- pulumi_aws/wafv2/rule_group.py +440 -0
- pulumi_aws/workspacesweb/session_logger_association.py +80 -0
- pulumi_aws/workspacesweb/trust_store_association.py +24 -0
- {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/METADATA +1 -1
- {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/RECORD +122 -107
- {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/WHEEL +0 -0
- {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/top_level.txt +0 -0
pulumi_aws/ec2clientvpn/route.py
CHANGED
|
@@ -27,7 +27,7 @@ class RouteArgs:
|
|
|
27
27
|
"""
|
|
28
28
|
The set of arguments for constructing a Route resource.
|
|
29
29
|
:param pulumi.Input[_builtins.str] client_vpn_endpoint_id: The ID of the Client VPN endpoint.
|
|
30
|
-
:param pulumi.Input[_builtins.str] destination_cidr_block: The IPv4 address range, in CIDR notation, of the route destination.
|
|
30
|
+
:param pulumi.Input[_builtins.str] destination_cidr_block: The IPv4 or IPv6 address range, in CIDR notation, of the route destination.
|
|
31
31
|
:param pulumi.Input[_builtins.str] target_vpc_subnet_id: The ID of the Subnet to route the traffic through. It must already be attached to the Client VPN.
|
|
32
32
|
:param pulumi.Input[_builtins.str] description: A brief description of the route.
|
|
33
33
|
:param pulumi.Input[_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.
|
|
@@ -56,7 +56,7 @@ class RouteArgs:
|
|
|
56
56
|
@pulumi.getter(name="destinationCidrBlock")
|
|
57
57
|
def destination_cidr_block(self) -> pulumi.Input[_builtins.str]:
|
|
58
58
|
"""
|
|
59
|
-
The IPv4 address range, in CIDR notation, of the route destination.
|
|
59
|
+
The IPv4 or IPv6 address range, in CIDR notation, of the route destination.
|
|
60
60
|
"""
|
|
61
61
|
return pulumi.get(self, "destination_cidr_block")
|
|
62
62
|
|
|
@@ -115,7 +115,7 @@ class _RouteState:
|
|
|
115
115
|
Input properties used for looking up and filtering Route resources.
|
|
116
116
|
:param pulumi.Input[_builtins.str] client_vpn_endpoint_id: The ID of the Client VPN endpoint.
|
|
117
117
|
:param pulumi.Input[_builtins.str] description: A brief description of the route.
|
|
118
|
-
:param pulumi.Input[_builtins.str] destination_cidr_block: The IPv4 address range, in CIDR notation, of the route destination.
|
|
118
|
+
:param pulumi.Input[_builtins.str] destination_cidr_block: The IPv4 or IPv6 address range, in CIDR notation, of the route destination.
|
|
119
119
|
:param pulumi.Input[_builtins.str] origin: Indicates how the Client VPN route was added. Will be `add-route` for routes created by this resource.
|
|
120
120
|
:param pulumi.Input[_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.
|
|
121
121
|
:param pulumi.Input[_builtins.str] target_vpc_subnet_id: The ID of the Subnet to route the traffic through. It must already be attached to the Client VPN.
|
|
@@ -164,7 +164,7 @@ class _RouteState:
|
|
|
164
164
|
@pulumi.getter(name="destinationCidrBlock")
|
|
165
165
|
def destination_cidr_block(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
166
166
|
"""
|
|
167
|
-
The IPv4 address range, in CIDR notation, of the route destination.
|
|
167
|
+
The IPv4 or IPv6 address range, in CIDR notation, of the route destination.
|
|
168
168
|
"""
|
|
169
169
|
return pulumi.get(self, "destination_cidr_block")
|
|
170
170
|
|
|
@@ -275,7 +275,7 @@ class Route(pulumi.CustomResource):
|
|
|
275
275
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
276
276
|
:param pulumi.Input[_builtins.str] client_vpn_endpoint_id: The ID of the Client VPN endpoint.
|
|
277
277
|
:param pulumi.Input[_builtins.str] description: A brief description of the route.
|
|
278
|
-
:param pulumi.Input[_builtins.str] destination_cidr_block: The IPv4 address range, in CIDR notation, of the route destination.
|
|
278
|
+
:param pulumi.Input[_builtins.str] destination_cidr_block: The IPv4 or IPv6 address range, in CIDR notation, of the route destination.
|
|
279
279
|
:param pulumi.Input[_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.
|
|
280
280
|
:param pulumi.Input[_builtins.str] target_vpc_subnet_id: The ID of the Subnet to route the traffic through. It must already be attached to the Client VPN.
|
|
281
281
|
"""
|
|
@@ -391,7 +391,7 @@ class Route(pulumi.CustomResource):
|
|
|
391
391
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
392
392
|
:param pulumi.Input[_builtins.str] client_vpn_endpoint_id: The ID of the Client VPN endpoint.
|
|
393
393
|
:param pulumi.Input[_builtins.str] description: A brief description of the route.
|
|
394
|
-
:param pulumi.Input[_builtins.str] destination_cidr_block: The IPv4 address range, in CIDR notation, of the route destination.
|
|
394
|
+
:param pulumi.Input[_builtins.str] destination_cidr_block: The IPv4 or IPv6 address range, in CIDR notation, of the route destination.
|
|
395
395
|
:param pulumi.Input[_builtins.str] origin: Indicates how the Client VPN route was added. Will be `add-route` for routes created by this resource.
|
|
396
396
|
:param pulumi.Input[_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.
|
|
397
397
|
:param pulumi.Input[_builtins.str] target_vpc_subnet_id: The ID of the Subnet to route the traffic through. It must already be attached to the Client VPN.
|
|
@@ -430,7 +430,7 @@ class Route(pulumi.CustomResource):
|
|
|
430
430
|
@pulumi.getter(name="destinationCidrBlock")
|
|
431
431
|
def destination_cidr_block(self) -> pulumi.Output[_builtins.str]:
|
|
432
432
|
"""
|
|
433
|
-
The IPv4 address range, in CIDR notation, of the route destination.
|
|
433
|
+
The IPv4 or IPv6 address range, in CIDR notation, of the route destination.
|
|
434
434
|
"""
|
|
435
435
|
return pulumi.get(self, "destination_cidr_block")
|
|
436
436
|
|
|
@@ -22,6 +22,7 @@ __all__ = ['InstanceConnectEndpointArgs', 'InstanceConnectEndpoint']
|
|
|
22
22
|
class InstanceConnectEndpointArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
24
|
subnet_id: pulumi.Input[_builtins.str],
|
|
25
|
+
ip_address_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
26
|
preserve_client_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
26
27
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
28
|
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -30,12 +31,15 @@ class InstanceConnectEndpointArgs:
|
|
|
30
31
|
"""
|
|
31
32
|
The set of arguments for constructing a InstanceConnectEndpoint resource.
|
|
32
33
|
:param pulumi.Input[_builtins.str] subnet_id: The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
|
|
34
|
+
:param pulumi.Input[_builtins.str] ip_address_type: IP address type of the endpoint. Valid values are `ipv4`, `ipv6`, and `dualstack`. The default value is determined by the IP address type of the subnet. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateInstanceConnectEndpoint.html) for more details.
|
|
33
35
|
:param pulumi.Input[_builtins.bool] preserve_client_ip: Indicates whether your client's IP address is preserved as the source. Default: `true`.
|
|
34
36
|
:param pulumi.Input[_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.
|
|
35
37
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_group_ids: One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
|
|
36
38
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags to assign to this resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
37
39
|
"""
|
|
38
40
|
pulumi.set(__self__, "subnet_id", subnet_id)
|
|
41
|
+
if ip_address_type is not None:
|
|
42
|
+
pulumi.set(__self__, "ip_address_type", ip_address_type)
|
|
39
43
|
if preserve_client_ip is not None:
|
|
40
44
|
pulumi.set(__self__, "preserve_client_ip", preserve_client_ip)
|
|
41
45
|
if region is not None:
|
|
@@ -59,6 +63,18 @@ class InstanceConnectEndpointArgs:
|
|
|
59
63
|
def subnet_id(self, value: pulumi.Input[_builtins.str]):
|
|
60
64
|
pulumi.set(self, "subnet_id", value)
|
|
61
65
|
|
|
66
|
+
@_builtins.property
|
|
67
|
+
@pulumi.getter(name="ipAddressType")
|
|
68
|
+
def ip_address_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
69
|
+
"""
|
|
70
|
+
IP address type of the endpoint. Valid values are `ipv4`, `ipv6`, and `dualstack`. The default value is determined by the IP address type of the subnet. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateInstanceConnectEndpoint.html) for more details.
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "ip_address_type")
|
|
73
|
+
|
|
74
|
+
@ip_address_type.setter
|
|
75
|
+
def ip_address_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
76
|
+
pulumi.set(self, "ip_address_type", value)
|
|
77
|
+
|
|
62
78
|
@_builtins.property
|
|
63
79
|
@pulumi.getter(name="preserveClientIp")
|
|
64
80
|
def preserve_client_ip(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -124,6 +140,7 @@ class _InstanceConnectEndpointState:
|
|
|
124
140
|
availability_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
125
141
|
dns_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
126
142
|
fips_dns_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
143
|
+
ip_address_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
127
144
|
network_interface_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
128
145
|
owner_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
129
146
|
preserve_client_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -140,6 +157,7 @@ class _InstanceConnectEndpointState:
|
|
|
140
157
|
:param pulumi.Input[_builtins.str] availability_zone: The Availability Zone of the EC2 Instance Connect Endpoint.
|
|
141
158
|
:param pulumi.Input[_builtins.str] dns_name: The DNS name of the EC2 Instance Connect Endpoint.
|
|
142
159
|
:param pulumi.Input[_builtins.str] fips_dns_name: The DNS name of the EC2 Instance Connect FIPS Endpoint.
|
|
160
|
+
:param pulumi.Input[_builtins.str] ip_address_type: IP address type of the endpoint. Valid values are `ipv4`, `ipv6`, and `dualstack`. The default value is determined by the IP address type of the subnet. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateInstanceConnectEndpoint.html) for more details.
|
|
143
161
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_interface_ids: The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
|
|
144
162
|
:param pulumi.Input[_builtins.str] owner_id: The ID of the AWS account that created the EC2 Instance Connect Endpoint.
|
|
145
163
|
:param pulumi.Input[_builtins.bool] preserve_client_ip: Indicates whether your client's IP address is preserved as the source. Default: `true`.
|
|
@@ -158,6 +176,8 @@ class _InstanceConnectEndpointState:
|
|
|
158
176
|
pulumi.set(__self__, "dns_name", dns_name)
|
|
159
177
|
if fips_dns_name is not None:
|
|
160
178
|
pulumi.set(__self__, "fips_dns_name", fips_dns_name)
|
|
179
|
+
if ip_address_type is not None:
|
|
180
|
+
pulumi.set(__self__, "ip_address_type", ip_address_type)
|
|
161
181
|
if network_interface_ids is not None:
|
|
162
182
|
pulumi.set(__self__, "network_interface_ids", network_interface_ids)
|
|
163
183
|
if owner_id is not None:
|
|
@@ -227,6 +247,18 @@ class _InstanceConnectEndpointState:
|
|
|
227
247
|
def fips_dns_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
228
248
|
pulumi.set(self, "fips_dns_name", value)
|
|
229
249
|
|
|
250
|
+
@_builtins.property
|
|
251
|
+
@pulumi.getter(name="ipAddressType")
|
|
252
|
+
def ip_address_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
253
|
+
"""
|
|
254
|
+
IP address type of the endpoint. Valid values are `ipv4`, `ipv6`, and `dualstack`. The default value is determined by the IP address type of the subnet. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateInstanceConnectEndpoint.html) for more details.
|
|
255
|
+
"""
|
|
256
|
+
return pulumi.get(self, "ip_address_type")
|
|
257
|
+
|
|
258
|
+
@ip_address_type.setter
|
|
259
|
+
def ip_address_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
260
|
+
pulumi.set(self, "ip_address_type", value)
|
|
261
|
+
|
|
230
262
|
@_builtins.property
|
|
231
263
|
@pulumi.getter(name="networkInterfaceIds")
|
|
232
264
|
def network_interface_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
@@ -351,6 +383,7 @@ class InstanceConnectEndpoint(pulumi.CustomResource):
|
|
|
351
383
|
def __init__(__self__,
|
|
352
384
|
resource_name: str,
|
|
353
385
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
386
|
+
ip_address_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
354
387
|
preserve_client_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
355
388
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
356
389
|
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -380,6 +413,7 @@ class InstanceConnectEndpoint(pulumi.CustomResource):
|
|
|
380
413
|
|
|
381
414
|
:param str resource_name: The name of the resource.
|
|
382
415
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
416
|
+
:param pulumi.Input[_builtins.str] ip_address_type: IP address type of the endpoint. Valid values are `ipv4`, `ipv6`, and `dualstack`. The default value is determined by the IP address type of the subnet. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateInstanceConnectEndpoint.html) for more details.
|
|
383
417
|
:param pulumi.Input[_builtins.bool] preserve_client_ip: Indicates whether your client's IP address is preserved as the source. Default: `true`.
|
|
384
418
|
:param pulumi.Input[_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.
|
|
385
419
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_group_ids: One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
|
|
@@ -427,6 +461,7 @@ class InstanceConnectEndpoint(pulumi.CustomResource):
|
|
|
427
461
|
def _internal_init(__self__,
|
|
428
462
|
resource_name: str,
|
|
429
463
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
464
|
+
ip_address_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
430
465
|
preserve_client_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
431
466
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
432
467
|
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -442,6 +477,7 @@ class InstanceConnectEndpoint(pulumi.CustomResource):
|
|
|
442
477
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
443
478
|
__props__ = InstanceConnectEndpointArgs.__new__(InstanceConnectEndpointArgs)
|
|
444
479
|
|
|
480
|
+
__props__.__dict__["ip_address_type"] = ip_address_type
|
|
445
481
|
__props__.__dict__["preserve_client_ip"] = preserve_client_ip
|
|
446
482
|
__props__.__dict__["region"] = region
|
|
447
483
|
__props__.__dict__["security_group_ids"] = security_group_ids
|
|
@@ -472,6 +508,7 @@ class InstanceConnectEndpoint(pulumi.CustomResource):
|
|
|
472
508
|
availability_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
473
509
|
dns_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
474
510
|
fips_dns_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
511
|
+
ip_address_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
475
512
|
network_interface_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
476
513
|
owner_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
477
514
|
preserve_client_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -493,6 +530,7 @@ class InstanceConnectEndpoint(pulumi.CustomResource):
|
|
|
493
530
|
:param pulumi.Input[_builtins.str] availability_zone: The Availability Zone of the EC2 Instance Connect Endpoint.
|
|
494
531
|
:param pulumi.Input[_builtins.str] dns_name: The DNS name of the EC2 Instance Connect Endpoint.
|
|
495
532
|
:param pulumi.Input[_builtins.str] fips_dns_name: The DNS name of the EC2 Instance Connect FIPS Endpoint.
|
|
533
|
+
:param pulumi.Input[_builtins.str] ip_address_type: IP address type of the endpoint. Valid values are `ipv4`, `ipv6`, and `dualstack`. The default value is determined by the IP address type of the subnet. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateInstanceConnectEndpoint.html) for more details.
|
|
496
534
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_interface_ids: The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
|
|
497
535
|
:param pulumi.Input[_builtins.str] owner_id: The ID of the AWS account that created the EC2 Instance Connect Endpoint.
|
|
498
536
|
:param pulumi.Input[_builtins.bool] preserve_client_ip: Indicates whether your client's IP address is preserved as the source. Default: `true`.
|
|
@@ -511,6 +549,7 @@ class InstanceConnectEndpoint(pulumi.CustomResource):
|
|
|
511
549
|
__props__.__dict__["availability_zone"] = availability_zone
|
|
512
550
|
__props__.__dict__["dns_name"] = dns_name
|
|
513
551
|
__props__.__dict__["fips_dns_name"] = fips_dns_name
|
|
552
|
+
__props__.__dict__["ip_address_type"] = ip_address_type
|
|
514
553
|
__props__.__dict__["network_interface_ids"] = network_interface_ids
|
|
515
554
|
__props__.__dict__["owner_id"] = owner_id
|
|
516
555
|
__props__.__dict__["preserve_client_ip"] = preserve_client_ip
|
|
@@ -555,6 +594,14 @@ class InstanceConnectEndpoint(pulumi.CustomResource):
|
|
|
555
594
|
"""
|
|
556
595
|
return pulumi.get(self, "fips_dns_name")
|
|
557
596
|
|
|
597
|
+
@_builtins.property
|
|
598
|
+
@pulumi.getter(name="ipAddressType")
|
|
599
|
+
def ip_address_type(self) -> pulumi.Output[_builtins.str]:
|
|
600
|
+
"""
|
|
601
|
+
IP address type of the endpoint. Valid values are `ipv4`, `ipv6`, and `dualstack`. The default value is determined by the IP address type of the subnet. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateInstanceConnectEndpoint.html) for more details.
|
|
602
|
+
"""
|
|
603
|
+
return pulumi.get(self, "ip_address_type")
|
|
604
|
+
|
|
558
605
|
@_builtins.property
|
|
559
606
|
@pulumi.getter(name="networkInterfaceIds")
|
|
560
607
|
def network_interface_ids(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
@@ -113,6 +113,18 @@ def get_images(image_ids: Optional[Sequence[Union['GetImagesImageIdArgs', 'GetIm
|
|
|
113
113
|
"""
|
|
114
114
|
The ECR Public Images data source allows the list of images in a specified public repository to be retrieved.
|
|
115
115
|
|
|
116
|
+
## Example Usage
|
|
117
|
+
|
|
118
|
+
```python
|
|
119
|
+
import pulumi
|
|
120
|
+
import pulumi_aws as aws
|
|
121
|
+
import pulumi_std as std
|
|
122
|
+
|
|
123
|
+
example = aws.ecrpublic.get_images(repository_name="my-public-repository")
|
|
124
|
+
pulumi.export("imageDigests", [img.digest for img in example.images if img.digest != None])
|
|
125
|
+
pulumi.export("imageTags", std.distinct(input=std.flatten(input=[img.tags for img in example.images]).result).result)
|
|
126
|
+
```
|
|
127
|
+
|
|
116
128
|
|
|
117
129
|
:param Sequence[Union['GetImagesImageIdArgs', 'GetImagesImageIdArgsDict']] image_ids: One or more image ID filters. Each image ID can use either a tag or digest (or both). Each object has the following attributes:
|
|
118
130
|
: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.
|
|
@@ -142,6 +154,18 @@ def get_images_output(image_ids: Optional[pulumi.Input[Optional[Sequence[Union['
|
|
|
142
154
|
"""
|
|
143
155
|
The ECR Public Images data source allows the list of images in a specified public repository to be retrieved.
|
|
144
156
|
|
|
157
|
+
## Example Usage
|
|
158
|
+
|
|
159
|
+
```python
|
|
160
|
+
import pulumi
|
|
161
|
+
import pulumi_aws as aws
|
|
162
|
+
import pulumi_std as std
|
|
163
|
+
|
|
164
|
+
example = aws.ecrpublic.get_images(repository_name="my-public-repository")
|
|
165
|
+
pulumi.export("imageDigests", [img.digest for img in example.images if img.digest != None])
|
|
166
|
+
pulumi.export("imageTags", std.distinct(input=std.flatten(input=[img.tags for img in example.images]).result).result)
|
|
167
|
+
```
|
|
168
|
+
|
|
145
169
|
|
|
146
170
|
:param Sequence[Union['GetImagesImageIdArgs', 'GetImagesImageIdArgsDict']] image_ids: One or more image ID filters. Each image ID can use either a tag or digest (or both). Each object has the following attributes:
|
|
147
171
|
: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.
|
pulumi_aws/ecs/_inputs.py
CHANGED
|
@@ -69,8 +69,12 @@ __all__ = [
|
|
|
69
69
|
'ServiceDeploymentCircuitBreakerArgsDict',
|
|
70
70
|
'ServiceDeploymentConfigurationArgs',
|
|
71
71
|
'ServiceDeploymentConfigurationArgsDict',
|
|
72
|
+
'ServiceDeploymentConfigurationCanaryConfigurationArgs',
|
|
73
|
+
'ServiceDeploymentConfigurationCanaryConfigurationArgsDict',
|
|
72
74
|
'ServiceDeploymentConfigurationLifecycleHookArgs',
|
|
73
75
|
'ServiceDeploymentConfigurationLifecycleHookArgsDict',
|
|
76
|
+
'ServiceDeploymentConfigurationLinearConfigurationArgs',
|
|
77
|
+
'ServiceDeploymentConfigurationLinearConfigurationArgsDict',
|
|
74
78
|
'ServiceDeploymentControllerArgs',
|
|
75
79
|
'ServiceDeploymentControllerArgsDict',
|
|
76
80
|
'ServiceLoadBalancerArgs',
|
|
@@ -2082,15 +2086,23 @@ if not MYPY:
|
|
|
2082
2086
|
class ServiceDeploymentConfigurationArgsDict(TypedDict):
|
|
2083
2087
|
bake_time_in_minutes: NotRequired[pulumi.Input[_builtins.str]]
|
|
2084
2088
|
"""
|
|
2085
|
-
Number of minutes to wait after a new deployment is fully provisioned before terminating the old deployment.
|
|
2089
|
+
Number of minutes to wait after a new deployment is fully provisioned before terminating the old deployment. Valid range: 0-1440 minutes. Used with `BLUE_GREEN`, `LINEAR`, and `CANARY` strategies.
|
|
2090
|
+
"""
|
|
2091
|
+
canary_configuration: NotRequired[pulumi.Input['ServiceDeploymentConfigurationCanaryConfigurationArgsDict']]
|
|
2092
|
+
"""
|
|
2093
|
+
Configuration block for canary deployment strategy. Required when `strategy` is set to `CANARY`. See below.
|
|
2086
2094
|
"""
|
|
2087
2095
|
lifecycle_hooks: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceDeploymentConfigurationLifecycleHookArgsDict']]]]
|
|
2088
2096
|
"""
|
|
2089
2097
|
Configuration block for lifecycle hooks that are invoked during deployments. See below.
|
|
2090
2098
|
"""
|
|
2099
|
+
linear_configuration: NotRequired[pulumi.Input['ServiceDeploymentConfigurationLinearConfigurationArgsDict']]
|
|
2100
|
+
"""
|
|
2101
|
+
Configuration block for linear deployment strategy. Required when `strategy` is set to `LINEAR`. See below.
|
|
2102
|
+
"""
|
|
2091
2103
|
strategy: NotRequired[pulumi.Input[_builtins.str]]
|
|
2092
2104
|
"""
|
|
2093
|
-
Type of deployment strategy. Valid values: `ROLLING`, `BLUE_GREEN`. Default: `ROLLING`.
|
|
2105
|
+
Type of deployment strategy. Valid values: `ROLLING`, `BLUE_GREEN`, `LINEAR`, `CANARY`. Default: `ROLLING`.
|
|
2094
2106
|
"""
|
|
2095
2107
|
elif False:
|
|
2096
2108
|
ServiceDeploymentConfigurationArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -2099,17 +2111,25 @@ elif False:
|
|
|
2099
2111
|
class ServiceDeploymentConfigurationArgs:
|
|
2100
2112
|
def __init__(__self__, *,
|
|
2101
2113
|
bake_time_in_minutes: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2114
|
+
canary_configuration: Optional[pulumi.Input['ServiceDeploymentConfigurationCanaryConfigurationArgs']] = None,
|
|
2102
2115
|
lifecycle_hooks: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceDeploymentConfigurationLifecycleHookArgs']]]] = None,
|
|
2116
|
+
linear_configuration: Optional[pulumi.Input['ServiceDeploymentConfigurationLinearConfigurationArgs']] = None,
|
|
2103
2117
|
strategy: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2104
2118
|
"""
|
|
2105
|
-
:param pulumi.Input[_builtins.str] bake_time_in_minutes: Number of minutes to wait after a new deployment is fully provisioned before terminating the old deployment.
|
|
2119
|
+
:param pulumi.Input[_builtins.str] bake_time_in_minutes: Number of minutes to wait after a new deployment is fully provisioned before terminating the old deployment. Valid range: 0-1440 minutes. Used with `BLUE_GREEN`, `LINEAR`, and `CANARY` strategies.
|
|
2120
|
+
:param pulumi.Input['ServiceDeploymentConfigurationCanaryConfigurationArgs'] canary_configuration: Configuration block for canary deployment strategy. Required when `strategy` is set to `CANARY`. See below.
|
|
2106
2121
|
:param pulumi.Input[Sequence[pulumi.Input['ServiceDeploymentConfigurationLifecycleHookArgs']]] lifecycle_hooks: Configuration block for lifecycle hooks that are invoked during deployments. See below.
|
|
2107
|
-
:param pulumi.Input[
|
|
2122
|
+
:param pulumi.Input['ServiceDeploymentConfigurationLinearConfigurationArgs'] linear_configuration: Configuration block for linear deployment strategy. Required when `strategy` is set to `LINEAR`. See below.
|
|
2123
|
+
:param pulumi.Input[_builtins.str] strategy: Type of deployment strategy. Valid values: `ROLLING`, `BLUE_GREEN`, `LINEAR`, `CANARY`. Default: `ROLLING`.
|
|
2108
2124
|
"""
|
|
2109
2125
|
if bake_time_in_minutes is not None:
|
|
2110
2126
|
pulumi.set(__self__, "bake_time_in_minutes", bake_time_in_minutes)
|
|
2127
|
+
if canary_configuration is not None:
|
|
2128
|
+
pulumi.set(__self__, "canary_configuration", canary_configuration)
|
|
2111
2129
|
if lifecycle_hooks is not None:
|
|
2112
2130
|
pulumi.set(__self__, "lifecycle_hooks", lifecycle_hooks)
|
|
2131
|
+
if linear_configuration is not None:
|
|
2132
|
+
pulumi.set(__self__, "linear_configuration", linear_configuration)
|
|
2113
2133
|
if strategy is not None:
|
|
2114
2134
|
pulumi.set(__self__, "strategy", strategy)
|
|
2115
2135
|
|
|
@@ -2117,7 +2137,7 @@ class ServiceDeploymentConfigurationArgs:
|
|
|
2117
2137
|
@pulumi.getter(name="bakeTimeInMinutes")
|
|
2118
2138
|
def bake_time_in_minutes(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2119
2139
|
"""
|
|
2120
|
-
Number of minutes to wait after a new deployment is fully provisioned before terminating the old deployment.
|
|
2140
|
+
Number of minutes to wait after a new deployment is fully provisioned before terminating the old deployment. Valid range: 0-1440 minutes. Used with `BLUE_GREEN`, `LINEAR`, and `CANARY` strategies.
|
|
2121
2141
|
"""
|
|
2122
2142
|
return pulumi.get(self, "bake_time_in_minutes")
|
|
2123
2143
|
|
|
@@ -2125,6 +2145,18 @@ class ServiceDeploymentConfigurationArgs:
|
|
|
2125
2145
|
def bake_time_in_minutes(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2126
2146
|
pulumi.set(self, "bake_time_in_minutes", value)
|
|
2127
2147
|
|
|
2148
|
+
@_builtins.property
|
|
2149
|
+
@pulumi.getter(name="canaryConfiguration")
|
|
2150
|
+
def canary_configuration(self) -> Optional[pulumi.Input['ServiceDeploymentConfigurationCanaryConfigurationArgs']]:
|
|
2151
|
+
"""
|
|
2152
|
+
Configuration block for canary deployment strategy. Required when `strategy` is set to `CANARY`. See below.
|
|
2153
|
+
"""
|
|
2154
|
+
return pulumi.get(self, "canary_configuration")
|
|
2155
|
+
|
|
2156
|
+
@canary_configuration.setter
|
|
2157
|
+
def canary_configuration(self, value: Optional[pulumi.Input['ServiceDeploymentConfigurationCanaryConfigurationArgs']]):
|
|
2158
|
+
pulumi.set(self, "canary_configuration", value)
|
|
2159
|
+
|
|
2128
2160
|
@_builtins.property
|
|
2129
2161
|
@pulumi.getter(name="lifecycleHooks")
|
|
2130
2162
|
def lifecycle_hooks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ServiceDeploymentConfigurationLifecycleHookArgs']]]]:
|
|
@@ -2137,11 +2169,23 @@ class ServiceDeploymentConfigurationArgs:
|
|
|
2137
2169
|
def lifecycle_hooks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceDeploymentConfigurationLifecycleHookArgs']]]]):
|
|
2138
2170
|
pulumi.set(self, "lifecycle_hooks", value)
|
|
2139
2171
|
|
|
2172
|
+
@_builtins.property
|
|
2173
|
+
@pulumi.getter(name="linearConfiguration")
|
|
2174
|
+
def linear_configuration(self) -> Optional[pulumi.Input['ServiceDeploymentConfigurationLinearConfigurationArgs']]:
|
|
2175
|
+
"""
|
|
2176
|
+
Configuration block for linear deployment strategy. Required when `strategy` is set to `LINEAR`. See below.
|
|
2177
|
+
"""
|
|
2178
|
+
return pulumi.get(self, "linear_configuration")
|
|
2179
|
+
|
|
2180
|
+
@linear_configuration.setter
|
|
2181
|
+
def linear_configuration(self, value: Optional[pulumi.Input['ServiceDeploymentConfigurationLinearConfigurationArgs']]):
|
|
2182
|
+
pulumi.set(self, "linear_configuration", value)
|
|
2183
|
+
|
|
2140
2184
|
@_builtins.property
|
|
2141
2185
|
@pulumi.getter
|
|
2142
2186
|
def strategy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2143
2187
|
"""
|
|
2144
|
-
Type of deployment strategy. Valid values: `ROLLING`, `BLUE_GREEN`. Default: `ROLLING`.
|
|
2188
|
+
Type of deployment strategy. Valid values: `ROLLING`, `BLUE_GREEN`, `LINEAR`, `CANARY`. Default: `ROLLING`.
|
|
2145
2189
|
"""
|
|
2146
2190
|
return pulumi.get(self, "strategy")
|
|
2147
2191
|
|
|
@@ -2150,6 +2194,58 @@ class ServiceDeploymentConfigurationArgs:
|
|
|
2150
2194
|
pulumi.set(self, "strategy", value)
|
|
2151
2195
|
|
|
2152
2196
|
|
|
2197
|
+
if not MYPY:
|
|
2198
|
+
class ServiceDeploymentConfigurationCanaryConfigurationArgsDict(TypedDict):
|
|
2199
|
+
canary_bake_time_in_minutes: NotRequired[pulumi.Input[_builtins.str]]
|
|
2200
|
+
"""
|
|
2201
|
+
Number of minutes to wait before shifting all traffic to the new deployment. Valid range: 0-1440 minutes.
|
|
2202
|
+
"""
|
|
2203
|
+
canary_percent: NotRequired[pulumi.Input[_builtins.float]]
|
|
2204
|
+
"""
|
|
2205
|
+
Percentage of traffic to route to the canary deployment. Valid range: 0.1-100.0.
|
|
2206
|
+
"""
|
|
2207
|
+
elif False:
|
|
2208
|
+
ServiceDeploymentConfigurationCanaryConfigurationArgsDict: TypeAlias = Mapping[str, Any]
|
|
2209
|
+
|
|
2210
|
+
@pulumi.input_type
|
|
2211
|
+
class ServiceDeploymentConfigurationCanaryConfigurationArgs:
|
|
2212
|
+
def __init__(__self__, *,
|
|
2213
|
+
canary_bake_time_in_minutes: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2214
|
+
canary_percent: Optional[pulumi.Input[_builtins.float]] = None):
|
|
2215
|
+
"""
|
|
2216
|
+
:param pulumi.Input[_builtins.str] canary_bake_time_in_minutes: Number of minutes to wait before shifting all traffic to the new deployment. Valid range: 0-1440 minutes.
|
|
2217
|
+
:param pulumi.Input[_builtins.float] canary_percent: Percentage of traffic to route to the canary deployment. Valid range: 0.1-100.0.
|
|
2218
|
+
"""
|
|
2219
|
+
if canary_bake_time_in_minutes is not None:
|
|
2220
|
+
pulumi.set(__self__, "canary_bake_time_in_minutes", canary_bake_time_in_minutes)
|
|
2221
|
+
if canary_percent is not None:
|
|
2222
|
+
pulumi.set(__self__, "canary_percent", canary_percent)
|
|
2223
|
+
|
|
2224
|
+
@_builtins.property
|
|
2225
|
+
@pulumi.getter(name="canaryBakeTimeInMinutes")
|
|
2226
|
+
def canary_bake_time_in_minutes(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2227
|
+
"""
|
|
2228
|
+
Number of minutes to wait before shifting all traffic to the new deployment. Valid range: 0-1440 minutes.
|
|
2229
|
+
"""
|
|
2230
|
+
return pulumi.get(self, "canary_bake_time_in_minutes")
|
|
2231
|
+
|
|
2232
|
+
@canary_bake_time_in_minutes.setter
|
|
2233
|
+
def canary_bake_time_in_minutes(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2234
|
+
pulumi.set(self, "canary_bake_time_in_minutes", value)
|
|
2235
|
+
|
|
2236
|
+
@_builtins.property
|
|
2237
|
+
@pulumi.getter(name="canaryPercent")
|
|
2238
|
+
def canary_percent(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
2239
|
+
"""
|
|
2240
|
+
Percentage of traffic to route to the canary deployment. Valid range: 0.1-100.0.
|
|
2241
|
+
"""
|
|
2242
|
+
return pulumi.get(self, "canary_percent")
|
|
2243
|
+
|
|
2244
|
+
@canary_percent.setter
|
|
2245
|
+
def canary_percent(self, value: Optional[pulumi.Input[_builtins.float]]):
|
|
2246
|
+
pulumi.set(self, "canary_percent", value)
|
|
2247
|
+
|
|
2248
|
+
|
|
2153
2249
|
if not MYPY:
|
|
2154
2250
|
class ServiceDeploymentConfigurationLifecycleHookArgsDict(TypedDict):
|
|
2155
2251
|
hook_target_arn: pulumi.Input[_builtins.str]
|
|
@@ -2239,6 +2335,58 @@ class ServiceDeploymentConfigurationLifecycleHookArgs:
|
|
|
2239
2335
|
pulumi.set(self, "hook_details", value)
|
|
2240
2336
|
|
|
2241
2337
|
|
|
2338
|
+
if not MYPY:
|
|
2339
|
+
class ServiceDeploymentConfigurationLinearConfigurationArgsDict(TypedDict):
|
|
2340
|
+
step_bake_time_in_minutes: NotRequired[pulumi.Input[_builtins.str]]
|
|
2341
|
+
"""
|
|
2342
|
+
Number of minutes to wait between each step during a linear deployment. Valid range: 0-1440 minutes.
|
|
2343
|
+
"""
|
|
2344
|
+
step_percent: NotRequired[pulumi.Input[_builtins.float]]
|
|
2345
|
+
"""
|
|
2346
|
+
Percentage of traffic to shift in each step during a linear deployment. Valid range: 3.0-100.0.
|
|
2347
|
+
"""
|
|
2348
|
+
elif False:
|
|
2349
|
+
ServiceDeploymentConfigurationLinearConfigurationArgsDict: TypeAlias = Mapping[str, Any]
|
|
2350
|
+
|
|
2351
|
+
@pulumi.input_type
|
|
2352
|
+
class ServiceDeploymentConfigurationLinearConfigurationArgs:
|
|
2353
|
+
def __init__(__self__, *,
|
|
2354
|
+
step_bake_time_in_minutes: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2355
|
+
step_percent: Optional[pulumi.Input[_builtins.float]] = None):
|
|
2356
|
+
"""
|
|
2357
|
+
:param pulumi.Input[_builtins.str] step_bake_time_in_minutes: Number of minutes to wait between each step during a linear deployment. Valid range: 0-1440 minutes.
|
|
2358
|
+
:param pulumi.Input[_builtins.float] step_percent: Percentage of traffic to shift in each step during a linear deployment. Valid range: 3.0-100.0.
|
|
2359
|
+
"""
|
|
2360
|
+
if step_bake_time_in_minutes is not None:
|
|
2361
|
+
pulumi.set(__self__, "step_bake_time_in_minutes", step_bake_time_in_minutes)
|
|
2362
|
+
if step_percent is not None:
|
|
2363
|
+
pulumi.set(__self__, "step_percent", step_percent)
|
|
2364
|
+
|
|
2365
|
+
@_builtins.property
|
|
2366
|
+
@pulumi.getter(name="stepBakeTimeInMinutes")
|
|
2367
|
+
def step_bake_time_in_minutes(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2368
|
+
"""
|
|
2369
|
+
Number of minutes to wait between each step during a linear deployment. Valid range: 0-1440 minutes.
|
|
2370
|
+
"""
|
|
2371
|
+
return pulumi.get(self, "step_bake_time_in_minutes")
|
|
2372
|
+
|
|
2373
|
+
@step_bake_time_in_minutes.setter
|
|
2374
|
+
def step_bake_time_in_minutes(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2375
|
+
pulumi.set(self, "step_bake_time_in_minutes", value)
|
|
2376
|
+
|
|
2377
|
+
@_builtins.property
|
|
2378
|
+
@pulumi.getter(name="stepPercent")
|
|
2379
|
+
def step_percent(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
2380
|
+
"""
|
|
2381
|
+
Percentage of traffic to shift in each step during a linear deployment. Valid range: 3.0-100.0.
|
|
2382
|
+
"""
|
|
2383
|
+
return pulumi.get(self, "step_percent")
|
|
2384
|
+
|
|
2385
|
+
@step_percent.setter
|
|
2386
|
+
def step_percent(self, value: Optional[pulumi.Input[_builtins.float]]):
|
|
2387
|
+
pulumi.set(self, "step_percent", value)
|
|
2388
|
+
|
|
2389
|
+
|
|
2242
2390
|
if not MYPY:
|
|
2243
2391
|
class ServiceDeploymentControllerArgsDict(TypedDict):
|
|
2244
2392
|
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
@@ -2284,8 +2432,6 @@ if not MYPY:
|
|
|
2284
2432
|
advanced_configuration: NotRequired[pulumi.Input['ServiceLoadBalancerAdvancedConfigurationArgsDict']]
|
|
2285
2433
|
"""
|
|
2286
2434
|
Configuration block for Blue/Green deployment settings. Required when using `BLUE_GREEN` deployment strategy. See below.
|
|
2287
|
-
|
|
2288
|
-
> **Version note:** Multiple `load_balancer` configuration block support was added in version 2.22.0 of the provider. This allows configuration of [ECS service support for multiple target groups](https://aws.amazon.com/about-aws/whats-new/2019/07/amazon-ecs-services-now-support-multiple-load-balancer-target-groups/).
|
|
2289
2435
|
"""
|
|
2290
2436
|
elb_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2291
2437
|
"""
|
|
@@ -2294,6 +2440,8 @@ if not MYPY:
|
|
|
2294
2440
|
target_group_arn: NotRequired[pulumi.Input[_builtins.str]]
|
|
2295
2441
|
"""
|
|
2296
2442
|
ARN of the Load Balancer target group to associate with the service.
|
|
2443
|
+
|
|
2444
|
+
> **Version note:** Multiple `load_balancer` configuration block support was added in version 2.22.0 of the provider. This allows configuration of [ECS service support for multiple target groups](https://aws.amazon.com/about-aws/whats-new/2019/07/amazon-ecs-services-now-support-multiple-load-balancer-target-groups/).
|
|
2297
2445
|
"""
|
|
2298
2446
|
elif False:
|
|
2299
2447
|
ServiceLoadBalancerArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -2310,10 +2458,10 @@ class ServiceLoadBalancerArgs:
|
|
|
2310
2458
|
:param pulumi.Input[_builtins.str] container_name: Name of the container to associate with the load balancer (as it appears in a container definition).
|
|
2311
2459
|
:param pulumi.Input[_builtins.int] container_port: Port on the container to associate with the load balancer.
|
|
2312
2460
|
:param pulumi.Input['ServiceLoadBalancerAdvancedConfigurationArgs'] advanced_configuration: Configuration block for Blue/Green deployment settings. Required when using `BLUE_GREEN` deployment strategy. See below.
|
|
2313
|
-
|
|
2314
|
-
> **Version note:** Multiple `load_balancer` configuration block support was added in version 2.22.0 of the provider. This allows configuration of [ECS service support for multiple target groups](https://aws.amazon.com/about-aws/whats-new/2019/07/amazon-ecs-services-now-support-multiple-load-balancer-target-groups/).
|
|
2315
2461
|
:param pulumi.Input[_builtins.str] elb_name: Name of the ELB (Classic) to associate with the service.
|
|
2316
2462
|
:param pulumi.Input[_builtins.str] target_group_arn: ARN of the Load Balancer target group to associate with the service.
|
|
2463
|
+
|
|
2464
|
+
> **Version note:** Multiple `load_balancer` configuration block support was added in version 2.22.0 of the provider. This allows configuration of [ECS service support for multiple target groups](https://aws.amazon.com/about-aws/whats-new/2019/07/amazon-ecs-services-now-support-multiple-load-balancer-target-groups/).
|
|
2317
2465
|
"""
|
|
2318
2466
|
pulumi.set(__self__, "container_name", container_name)
|
|
2319
2467
|
pulumi.set(__self__, "container_port", container_port)
|
|
@@ -2353,8 +2501,6 @@ class ServiceLoadBalancerArgs:
|
|
|
2353
2501
|
def advanced_configuration(self) -> Optional[pulumi.Input['ServiceLoadBalancerAdvancedConfigurationArgs']]:
|
|
2354
2502
|
"""
|
|
2355
2503
|
Configuration block for Blue/Green deployment settings. Required when using `BLUE_GREEN` deployment strategy. See below.
|
|
2356
|
-
|
|
2357
|
-
> **Version note:** Multiple `load_balancer` configuration block support was added in version 2.22.0 of the provider. This allows configuration of [ECS service support for multiple target groups](https://aws.amazon.com/about-aws/whats-new/2019/07/amazon-ecs-services-now-support-multiple-load-balancer-target-groups/).
|
|
2358
2504
|
"""
|
|
2359
2505
|
return pulumi.get(self, "advanced_configuration")
|
|
2360
2506
|
|
|
@@ -2379,6 +2525,8 @@ class ServiceLoadBalancerArgs:
|
|
|
2379
2525
|
def target_group_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2380
2526
|
"""
|
|
2381
2527
|
ARN of the Load Balancer target group to associate with the service.
|
|
2528
|
+
|
|
2529
|
+
> **Version note:** Multiple `load_balancer` configuration block support was added in version 2.22.0 of the provider. This allows configuration of [ECS service support for multiple target groups](https://aws.amazon.com/about-aws/whats-new/2019/07/amazon-ecs-services-now-support-multiple-load-balancer-target-groups/).
|
|
2382
2530
|
"""
|
|
2383
2531
|
return pulumi.get(self, "target_group_arn")
|
|
2384
2532
|
|
|
@@ -2481,12 +2629,12 @@ if not MYPY:
|
|
|
2481
2629
|
subnets: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
2482
2630
|
"""
|
|
2483
2631
|
Subnets associated with the task or service.
|
|
2632
|
+
|
|
2633
|
+
For more information, see [Task Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html)
|
|
2484
2634
|
"""
|
|
2485
2635
|
assign_public_ip: NotRequired[pulumi.Input[_builtins.bool]]
|
|
2486
2636
|
"""
|
|
2487
2637
|
Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`.
|
|
2488
|
-
|
|
2489
|
-
For more information, see [Task Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html)
|
|
2490
2638
|
"""
|
|
2491
2639
|
security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2492
2640
|
"""
|
|
@@ -2503,9 +2651,9 @@ class ServiceNetworkConfigurationArgs:
|
|
|
2503
2651
|
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
2504
2652
|
"""
|
|
2505
2653
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] subnets: Subnets associated with the task or service.
|
|
2506
|
-
:param pulumi.Input[_builtins.bool] assign_public_ip: Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`.
|
|
2507
2654
|
|
|
2508
2655
|
For more information, see [Task Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html)
|
|
2656
|
+
:param pulumi.Input[_builtins.bool] assign_public_ip: Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`.
|
|
2509
2657
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_groups: Security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
|
|
2510
2658
|
"""
|
|
2511
2659
|
pulumi.set(__self__, "subnets", subnets)
|
|
@@ -2519,6 +2667,8 @@ class ServiceNetworkConfigurationArgs:
|
|
|
2519
2667
|
def subnets(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
2520
2668
|
"""
|
|
2521
2669
|
Subnets associated with the task or service.
|
|
2670
|
+
|
|
2671
|
+
For more information, see [Task Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html)
|
|
2522
2672
|
"""
|
|
2523
2673
|
return pulumi.get(self, "subnets")
|
|
2524
2674
|
|
|
@@ -2531,8 +2681,6 @@ class ServiceNetworkConfigurationArgs:
|
|
|
2531
2681
|
def assign_public_ip(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
2532
2682
|
"""
|
|
2533
2683
|
Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`.
|
|
2534
|
-
|
|
2535
|
-
For more information, see [Task Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html)
|
|
2536
2684
|
"""
|
|
2537
2685
|
return pulumi.get(self, "assign_public_ip")
|
|
2538
2686
|
|
|
@@ -2558,15 +2706,12 @@ if not MYPY:
|
|
|
2558
2706
|
type: pulumi.Input[_builtins.str]
|
|
2559
2707
|
"""
|
|
2560
2708
|
Type of placement strategy. Must be one of: `binpack`, `random`, or `spread`
|
|
2709
|
+
|
|
2710
|
+
> **Note:** for `spread`, `host` and `instanceId` will be normalized, by AWS, to be `instanceId`. This means the statefile will show `instanceId` but your config will differ if you use `host`.
|
|
2561
2711
|
"""
|
|
2562
2712
|
field: NotRequired[pulumi.Input[_builtins.str]]
|
|
2563
2713
|
"""
|
|
2564
|
-
For the `spread` placement strategy, valid values are `instanceId` (or `host`,
|
|
2565
|
-
which has the same effect), or any platform or custom attribute that is applied to a container instance.
|
|
2566
|
-
For the `binpack` type, valid values are `memory` and `cpu`. For the `random` type, this attribute is not
|
|
2567
|
-
needed. For more information, see [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html).
|
|
2568
|
-
|
|
2569
|
-
> **Note:** for `spread`, `host` and `instanceId` will be normalized, by AWS, to be `instanceId`. This means the statefile will show `instanceId` but your config will differ if you use `host`.
|
|
2714
|
+
For the `spread` placement strategy, valid values are `instanceId` (or `host`, which has the same effect), or any platform or custom attribute that is applied to a container instance. For the `binpack` type, valid values are `memory` and `cpu`. For the `random` type, this attribute is not needed. For more information, see [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html).
|
|
2570
2715
|
"""
|
|
2571
2716
|
elif False:
|
|
2572
2717
|
ServiceOrderedPlacementStrategyArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -2578,12 +2723,9 @@ class ServiceOrderedPlacementStrategyArgs:
|
|
|
2578
2723
|
field: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2579
2724
|
"""
|
|
2580
2725
|
:param pulumi.Input[_builtins.str] type: Type of placement strategy. Must be one of: `binpack`, `random`, or `spread`
|
|
2581
|
-
:param pulumi.Input[_builtins.str] field: For the `spread` placement strategy, valid values are `instanceId` (or `host`,
|
|
2582
|
-
which has the same effect), or any platform or custom attribute that is applied to a container instance.
|
|
2583
|
-
For the `binpack` type, valid values are `memory` and `cpu`. For the `random` type, this attribute is not
|
|
2584
|
-
needed. For more information, see [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html).
|
|
2585
2726
|
|
|
2586
2727
|
> **Note:** for `spread`, `host` and `instanceId` will be normalized, by AWS, to be `instanceId`. This means the statefile will show `instanceId` but your config will differ if you use `host`.
|
|
2728
|
+
:param pulumi.Input[_builtins.str] field: For the `spread` placement strategy, valid values are `instanceId` (or `host`, which has the same effect), or any platform or custom attribute that is applied to a container instance. For the `binpack` type, valid values are `memory` and `cpu`. For the `random` type, this attribute is not needed. For more information, see [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html).
|
|
2587
2729
|
"""
|
|
2588
2730
|
pulumi.set(__self__, "type", type)
|
|
2589
2731
|
if field is not None:
|
|
@@ -2594,6 +2736,8 @@ class ServiceOrderedPlacementStrategyArgs:
|
|
|
2594
2736
|
def type(self) -> pulumi.Input[_builtins.str]:
|
|
2595
2737
|
"""
|
|
2596
2738
|
Type of placement strategy. Must be one of: `binpack`, `random`, or `spread`
|
|
2739
|
+
|
|
2740
|
+
> **Note:** for `spread`, `host` and `instanceId` will be normalized, by AWS, to be `instanceId`. This means the statefile will show `instanceId` but your config will differ if you use `host`.
|
|
2597
2741
|
"""
|
|
2598
2742
|
return pulumi.get(self, "type")
|
|
2599
2743
|
|
|
@@ -2605,12 +2749,7 @@ class ServiceOrderedPlacementStrategyArgs:
|
|
|
2605
2749
|
@pulumi.getter
|
|
2606
2750
|
def field(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2607
2751
|
"""
|
|
2608
|
-
For the `spread` placement strategy, valid values are `instanceId` (or `host`,
|
|
2609
|
-
which has the same effect), or any platform or custom attribute that is applied to a container instance.
|
|
2610
|
-
For the `binpack` type, valid values are `memory` and `cpu`. For the `random` type, this attribute is not
|
|
2611
|
-
needed. For more information, see [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html).
|
|
2612
|
-
|
|
2613
|
-
> **Note:** for `spread`, `host` and `instanceId` will be normalized, by AWS, to be `instanceId`. This means the statefile will show `instanceId` but your config will differ if you use `host`.
|
|
2752
|
+
For the `spread` placement strategy, valid values are `instanceId` (or `host`, which has the same effect), or any platform or custom attribute that is applied to a container instance. For the `binpack` type, valid values are `memory` and `cpu`. For the `random` type, this attribute is not needed. For more information, see [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html).
|
|
2614
2753
|
"""
|
|
2615
2754
|
return pulumi.get(self, "field")
|
|
2616
2755
|
|