From 288427315b76db9a0ba9ddff9cc16149a5e92c48 Mon Sep 17 00:00:00 2001 From: Paul Stack Date: Fri, 4 Dec 2020 16:12:37 +0000 Subject: [PATCH] Upgrade to v3.20.0 of the AWS Terraform Provider (#1250) --- CHANGELOG.md | 2 +- provider/cmd/pulumi-resource-aws/schema.json | 210 +++++++++++++++--- provider/go.mod | 2 +- provider/go.sum | 8 +- .../Inputs/ProjectSecondaryArtifactArgs.cs | 2 +- .../Inputs/ProjectSecondaryArtifactGetArgs.cs | 2 +- .../Outputs/ProjectSecondaryArtifact.cs | 2 +- sdk/dotnet/Config/Config.cs | 2 + sdk/dotnet/Ec2/VpnConnection.cs | 4 +- .../Ec2TransitGateway/GetVpnAttachment.cs | 2 + sdk/dotnet/Eks/GetClusterAuth.cs | 8 - sdk/dotnet/Eks/NodeGroup.cs | 8 +- sdk/dotnet/ElastiCache/Cluster.cs | 6 +- sdk/dotnet/ElastiCache/ReplicationGroup.cs | 6 +- sdk/dotnet/Inputs/ProviderEndpointArgs.cs | 6 + sdk/dotnet/Lambda/EventSourceMapping.cs | 6 +- ...eGroupRulesSourceStatefulRuleHeaderArgs.cs | 31 ++- ...oupRulesSourceStatefulRuleHeaderGetArgs.cs | 31 ++- ...ssRuleRuleDefinitionMatchAttributesArgs.cs | 2 +- ...efinitionMatchAttributesDestinationArgs.cs | 4 +- ...nitionMatchAttributesDestinationGetArgs.cs | 4 +- ...uleRuleDefinitionMatchAttributesGetArgs.cs | 2 +- ...RuleDefinitionMatchAttributesSourceArgs.cs | 4 +- ...eDefinitionMatchAttributesSourceGetArgs.cs | 4 +- ...uleDefinitionMatchAttributesTcpFlagArgs.cs | 4 +- ...DefinitionMatchAttributesTcpFlagGetArgs.cs | 4 +- ...pRuleGroupRulesSourceStatefulRuleHeader.cs | 31 ++- ...telessRuleRuleDefinitionMatchAttributes.cs | 2 +- ...uleDefinitionMatchAttributesDestination.cs | 4 +- ...RuleRuleDefinitionMatchAttributesSource.cs | 4 +- ...uleRuleDefinitionMatchAttributesTcpFlag.cs | 4 +- sdk/dotnet/Outputs/ProviderEndpoint.cs | 8 + sdk/dotnet/StorageGateway/Gateway.cs | 74 ++++-- .../GatewayGatewayNetworkInterfaceArgs.cs | 25 +++ .../GatewayGatewayNetworkInterfaceGetArgs.cs | 25 +++ .../GatewaySmbActiveDirectorySettingsArgs.cs | 29 +++ ...atewaySmbActiveDirectorySettingsGetArgs.cs | 29 +++ .../Outputs/GatewayGatewayNetworkInterface.cs | 27 +++ .../GatewaySmbActiveDirectorySettings.cs | 27 +++ sdk/go/aws/codebuild/pulumiTypes.go | 6 +- sdk/go/aws/config/pulumiTypes.go | 12 + sdk/go/aws/ec2/vpnConnection.go | 6 +- .../aws/ec2transitgateway/getVpnAttachment.go | 2 + sdk/go/aws/eks/getClusterAuth.go | 6 - sdk/go/aws/eks/nodeGroup.go | 12 +- sdk/go/aws/elasticache/cluster.go | 10 +- sdk/go/aws/elasticache/replicationGroup.go | 10 +- sdk/go/aws/lambda/eventSourceMapping.go | 10 +- sdk/go/aws/networkfirewall/pulumiTypes.go | 111 +++++---- sdk/go/aws/pulumiTypes.go | 12 + sdk/go/aws/storagegateway/gateway.go | 48 ++-- sdk/go/aws/storagegateway/pulumiTypes.go | 178 +++++++++++++++ sdk/nodejs/ec2/vpnConnection.ts | 4 +- .../ec2transitgateway/getVpnAttachment.ts | 2 + sdk/nodejs/eks/getClusterAuth.ts | 8 - sdk/nodejs/eks/nodeGroup.ts | 8 +- sdk/nodejs/elasticache/cluster.ts | 6 +- sdk/nodejs/elasticache/replicationGroup.ts | 6 +- sdk/nodejs/lambda/eventSourceMapping.ts | 6 +- sdk/nodejs/storagegateway/gateway.ts | 60 +++-- sdk/nodejs/types/input.ts | 57 +++-- sdk/nodejs/types/output.ts | 59 +++-- sdk/python/pulumi_aws/_inputs.py | 24 ++ sdk/python/pulumi_aws/_tables.py | 4 + sdk/python/pulumi_aws/codebuild/_inputs.py | 4 +- sdk/python/pulumi_aws/codebuild/outputs.py | 4 +- sdk/python/pulumi_aws/config/outputs.py | 16 ++ sdk/python/pulumi_aws/ec2/vpn_connection.py | 4 +- .../ec2transitgateway/get_vpn_attachment.py | 2 + sdk/python/pulumi_aws/eks/get_cluster_auth.py | 8 +- sdk/python/pulumi_aws/eks/node_group.py | 8 +- sdk/python/pulumi_aws/elasticache/cluster.py | 6 +- .../elasticache/replication_group.py | 6 +- .../lambda_/event_source_mapping.py | 6 +- .../pulumi_aws/networkfirewall/_inputs.py | 121 +++++----- .../pulumi_aws/networkfirewall/outputs.py | 97 ++++---- sdk/python/pulumi_aws/outputs.py | 16 ++ .../pulumi_aws/storagegateway/_inputs.py | 90 +++++++- .../pulumi_aws/storagegateway/gateway.py | 68 ++++-- .../pulumi_aws/storagegateway/outputs.py | 73 +++++- 80 files changed, 1358 insertions(+), 493 deletions(-) create mode 100644 sdk/dotnet/StorageGateway/Inputs/GatewayGatewayNetworkInterfaceArgs.cs create mode 100644 sdk/dotnet/StorageGateway/Inputs/GatewayGatewayNetworkInterfaceGetArgs.cs create mode 100644 sdk/dotnet/StorageGateway/Outputs/GatewayGatewayNetworkInterface.cs diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f374e8bfa1..74b6ea848d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ CHANGELOG ========= ## HEAD (Unreleased) -_(none)_ +* Upgrade to v3.20.0 of the AWS Terraform Provider --- diff --git a/provider/cmd/pulumi-resource-aws/schema.json b/provider/cmd/pulumi-resource-aws/schema.json index 750009f6ecc..0ea77c9ae6e 100644 --- a/provider/cmd/pulumi-resource-aws/schema.json +++ b/provider/cmd/pulumi-resource-aws/schema.json @@ -13756,7 +13756,7 @@ }, "type": { "type": "string", - "description": "The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`.\n", + "description": "The build output artifact's type. The only valid value is `S3`.\n", "language": { "python": { "mapCase": false @@ -16211,6 +16211,9 @@ "ecr": { "type": "string" }, + "ecrpublic": { + "type": "string" + }, "ecs": { "type": "string" }, @@ -16355,6 +16358,9 @@ "mq": { "type": "string" }, + "mwaa": { + "type": "string" + }, "neptune": { "type": "string" }, @@ -38470,6 +38476,14 @@ } } }, + "ecrpublic": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, "ecs": { "type": "string", "language": { @@ -38854,6 +38868,14 @@ } } }, + "mwaa": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, "neptune": { "type": "string", "language": { @@ -50831,7 +50853,7 @@ "properties": { "destination": { "type": "string", - "description": "The destination IP address or address range to inspect for, in CIDR notation. If left empty, this matches with any destination address.\n", + "description": "The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`.\n", "language": { "python": { "mapCase": false @@ -50840,7 +50862,7 @@ }, "destinationPort": { "type": "string", - "description": "The destination port to inspect for. If left empty, this matches with any port.\n", + "description": "The destination port to inspect for. To match with any address, specify `ANY`.\n", "language": { "python": { "mapCase": false @@ -50858,7 +50880,7 @@ }, "protocol": { "type": "string", - "description": "The protocol to inspect. If not specified, this matches with any protocol.\nValid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`.\n", + "description": "The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`.\n", "language": { "python": { "mapCase": false @@ -50867,7 +50889,7 @@ }, "source": { "type": "string", - "description": "The source IP address or address range for, in CIDR notation. If left empty, this matches with any source address.\n", + "description": "The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`.\n", "language": { "python": { "mapCase": false @@ -50876,7 +50898,7 @@ }, "sourcePort": { "type": "string", - "description": "The source port to inspect for. If left empty, this matches with any port.\n", + "description": "The source port to inspect for. To match with any address, specify `ANY`.\n", "language": { "python": { "mapCase": false @@ -50886,7 +50908,12 @@ }, "type": "object", "required": [ - "direction" + "destination", + "destinationPort", + "direction", + "protocol", + "source", + "sourcePort" ] }, "aws:networkfirewall/RuleGroupRuleGroupRulesSourceStatefulRuleRuleOption:RuleGroupRuleGroupRulesSourceStatefulRuleRuleOption": { @@ -51119,7 +51146,7 @@ "items": { "type": "integer" }, - "description": "Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA).\n", + "description": "Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.\n", "language": { "python": { "mapCase": false @@ -51177,7 +51204,10 @@ } } }, - "type": "object" + "type": "object", + "required": [ + "addressDefinition" + ] }, "aws:networkfirewall/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationPort:RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationPort": { "properties": { @@ -51217,7 +51247,10 @@ } } }, - "type": "object" + "type": "object", + "required": [ + "addressDefinition" + ] }, "aws:networkfirewall/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourcePort:RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourcePort": { "properties": { @@ -51252,7 +51285,7 @@ "items": { "type": "string" }, - "description": "Set of flags to look for in a packet. AWS Network Firewall checks only the part of the packet specified in `masks`.\nValid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`.\n", + "description": "Set of flags to look for in a packet. This setting can only specify values that are also specified in `masks`.\nValid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`.\n", "language": { "python": { "mapCase": false @@ -51264,7 +51297,7 @@ "items": { "type": "string" }, - "description": "Set of values describing the part of the packet that you want to check for the flags. To inspect the entire packet, leave this empty.\nValid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`.\n", + "description": "Set of flags to consider in the inspection. To inspect all flags, leave this empty.\nValid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`.\n", "language": { "python": { "mapCase": false @@ -58041,8 +58074,49 @@ "region" ] }, + "aws:storagegateway/GatewayGatewayNetworkInterface:GatewayGatewayNetworkInterface": { + "properties": { + "ipv4Address": { + "type": "string", + "description": "The Internet Protocol version 4 (IPv4) address of the interface.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "ipv4Address" + ] + } + } + }, "aws:storagegateway/GatewaySmbActiveDirectorySettings:GatewaySmbActiveDirectorySettings": { "properties": { + "activeDirectoryStatus": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "domainControllers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of IPv4 addresses, NetBIOS names, or host names of your domain server.\nIf you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`.\n", + "language": { + "python": { + "mapCase": false + } + } + }, "domainName": { "type": "string", "description": "The name of the domain that you want the gateway to join.\n", @@ -58052,6 +58126,15 @@ } } }, + "organizationalUnit": { + "type": "string", + "description": "The organizational unit (OU) is a container in an Active Directory that can hold users, groups,\ncomputers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.\n", + "language": { + "python": { + "mapCase": false + } + } + }, "password": { "type": "string", "description": "The password of the user who has permission to add the gateway to the Active Directory domain.\n", @@ -58061,6 +58144,15 @@ } } }, + "timeoutInSeconds": { + "type": "integer", + "description": "Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds.\n", + "language": { + "python": { + "mapCase": false + } + } + }, "username": { "type": "string", "description": "The user name of user who has permission to add the gateway to the Active Directory domain.\n", @@ -58076,7 +58168,17 @@ "domainName", "password", "username" - ] + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "activeDirectoryStatus", + "domainName", + "password", + "username" + ] + } + } }, "aws:storagegateway/NfsFileShareCacheAttributes:NfsFileShareCacheAttributes": { "properties": { @@ -170462,7 +170564,7 @@ }, "transitGatewayAttachmentId": { "type": "string", - "description": "When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID.\n" + "description": "When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID. See also the [`aws.ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html) for tagging the EC2 Transit Gateway VPN Attachment.\n" }, "transitGatewayId": { "type": "string", @@ -170646,7 +170748,7 @@ }, "transitGatewayAttachmentId": { "type": "string", - "description": "When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID.\n" + "description": "When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID. See also the [`aws.ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html) for tagging the EC2 Transit Gateway VPN Attachment.\n" }, "transitGatewayId": { "type": "string", @@ -174075,7 +174177,7 @@ }, "capacityType": { "type": "string", - "description": "Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`.\n" + "description": "Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided.\n" }, "clusterName": { "type": "string", @@ -174160,6 +174262,7 @@ "required": [ "amiType", "arn", + "capacityType", "clusterName", "diskSize", "instanceTypes", @@ -174179,7 +174282,7 @@ }, "capacityType": { "type": "string", - "description": "Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`.\n" + "description": "Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided.\n" }, "clusterName": { "type": "string", @@ -174269,7 +174372,7 @@ }, "capacityType": { "type": "string", - "description": "Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`.\n" + "description": "Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided.\n" }, "clusterName": { "type": "string", @@ -174461,7 +174564,7 @@ }, "snapshotRetentionLimit": { "type": "integer", - "description": "The number of days for which ElastiCache will\nretain automatic cache cluster snapshots before deleting them. For example, if you set\nSnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days\nbefore being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.\nPlease note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes\n" + "description": "The number of days for which ElastiCache will\nretain automatic cache cluster snapshots before deleting them. For example, if you set\nSnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days\nbefore being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.\nPlease note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes\n" }, "snapshotWindow": { "type": "string", @@ -174588,7 +174691,7 @@ }, "snapshotRetentionLimit": { "type": "integer", - "description": "The number of days for which ElastiCache will\nretain automatic cache cluster snapshots before deleting them. For example, if you set\nSnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days\nbefore being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.\nPlease note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes\n" + "description": "The number of days for which ElastiCache will\nretain automatic cache cluster snapshots before deleting them. For example, if you set\nSnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days\nbefore being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.\nPlease note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes\n" }, "snapshotWindow": { "type": "string", @@ -174713,7 +174816,7 @@ }, "snapshotRetentionLimit": { "type": "integer", - "description": "The number of days for which ElastiCache will\nretain automatic cache cluster snapshots before deleting them. For example, if you set\nSnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days\nbefore being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.\nPlease note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes\n" + "description": "The number of days for which ElastiCache will\nretain automatic cache cluster snapshots before deleting them. For example, if you set\nSnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days\nbefore being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.\nPlease note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes\n" }, "snapshotWindow": { "type": "string", @@ -174935,7 +175038,7 @@ }, "snapshotRetentionLimit": { "type": "integer", - "description": "The number of days for which ElastiCache will\nretain automatic cache cluster snapshots before deleting them. For example, if you set\nSnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days\nbefore being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.\nPlease note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes\n" + "description": "The number of days for which ElastiCache will\nretain automatic cache cluster snapshots before deleting them. For example, if you set\nSnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days\nbefore being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.\nPlease note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes\n" }, "snapshotWindow": { "type": "string", @@ -175078,7 +175181,7 @@ }, "snapshotRetentionLimit": { "type": "integer", - "description": "The number of days for which ElastiCache will\nretain automatic cache cluster snapshots before deleting them. For example, if you set\nSnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days\nbefore being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.\nPlease note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes\n" + "description": "The number of days for which ElastiCache will\nretain automatic cache cluster snapshots before deleting them. For example, if you set\nSnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days\nbefore being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.\nPlease note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes\n" }, "snapshotWindow": { "type": "string", @@ -175223,7 +175326,7 @@ }, "snapshotRetentionLimit": { "type": "integer", - "description": "The number of days for which ElastiCache will\nretain automatic cache cluster snapshots before deleting them. For example, if you set\nSnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days\nbefore being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.\nPlease note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes\n" + "description": "The number of days for which ElastiCache will\nretain automatic cache cluster snapshots before deleting them. For example, if you set\nSnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days\nbefore being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.\nPlease note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes\n" }, "snapshotWindow": { "type": "string", @@ -190492,7 +190595,7 @@ }, "maximumBatchingWindowInSeconds": { "type": "integer", - "description": "The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function.\n" + "description": "The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function.\n" }, "maximumRecordAgeInSeconds": { "type": "integer" @@ -190562,7 +190665,7 @@ }, "maximumBatchingWindowInSeconds": { "type": "integer", - "description": "The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function.\n" + "description": "The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function.\n" }, "maximumRecordAgeInSeconds": { "type": "integer" @@ -190625,7 +190728,7 @@ }, "maximumBatchingWindowInSeconds": { "type": "integer", - "description": "The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function.\n" + "description": "The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function.\n" }, "maximumRecordAgeInSeconds": { "type": "integer" @@ -218523,7 +218626,7 @@ } }, "aws:storagegateway/gateway:Gateway": { - "description": "Manages an AWS Storage Gateway file, tape, or volume gateway in the provider region.\n\n\u003e NOTE: The Storage Gateway API requires the gateway to be connected to properly return information after activation. If you are receiving `The specified gateway is not connected` errors during resource creation (gateway activation), ensure your gateway instance meets the [Storage Gateway requirements](https://docs.aws.amazon.com/storagegateway/latest/userguide/Requirements.html).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### File Gateway\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.storagegateway.Gateway(\"example\", {\n gatewayIpAddress: \"1.2.3.4\",\n gatewayName: \"example\",\n gatewayTimezone: \"GMT\",\n gatewayType: \"FILE_S3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.storagegateway.Gateway(\"example\",\n gateway_ip_address=\"1.2.3.4\",\n gateway_name=\"example\",\n gateway_timezone=\"GMT\",\n gateway_type=\"FILE_S3\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.StorageGateway.Gateway(\"example\", new Aws.StorageGateway.GatewayArgs\n {\n GatewayIpAddress = \"1.2.3.4\",\n GatewayName = \"example\",\n GatewayTimezone = \"GMT\",\n GatewayType = \"FILE_S3\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/storagegateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := storagegateway.NewGateway(ctx, \"example\", \u0026storagegateway.GatewayArgs{\n\t\t\tGatewayIpAddress: pulumi.String(\"1.2.3.4\"),\n\t\t\tGatewayName: pulumi.String(\"example\"),\n\t\t\tGatewayTimezone: pulumi.String(\"GMT\"),\n\t\t\tGatewayType: pulumi.String(\"FILE_S3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Tape Gateway\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.storagegateway.Gateway(\"example\", {\n gatewayIpAddress: \"1.2.3.4\",\n gatewayName: \"example\",\n gatewayTimezone: \"GMT\",\n gatewayType: \"VTL\",\n mediumChangerType: \"AWS-Gateway-VTL\",\n tapeDriveType: \"IBM-ULT3580-TD5\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.storagegateway.Gateway(\"example\",\n gateway_ip_address=\"1.2.3.4\",\n gateway_name=\"example\",\n gateway_timezone=\"GMT\",\n gateway_type=\"VTL\",\n medium_changer_type=\"AWS-Gateway-VTL\",\n tape_drive_type=\"IBM-ULT3580-TD5\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.StorageGateway.Gateway(\"example\", new Aws.StorageGateway.GatewayArgs\n {\n GatewayIpAddress = \"1.2.3.4\",\n GatewayName = \"example\",\n GatewayTimezone = \"GMT\",\n GatewayType = \"VTL\",\n MediumChangerType = \"AWS-Gateway-VTL\",\n TapeDriveType = \"IBM-ULT3580-TD5\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/storagegateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := storagegateway.NewGateway(ctx, \"example\", \u0026storagegateway.GatewayArgs{\n\t\t\tGatewayIpAddress: pulumi.String(\"1.2.3.4\"),\n\t\t\tGatewayName: pulumi.String(\"example\"),\n\t\t\tGatewayTimezone: pulumi.String(\"GMT\"),\n\t\t\tGatewayType: pulumi.String(\"VTL\"),\n\t\t\tMediumChangerType: pulumi.String(\"AWS-Gateway-VTL\"),\n\t\t\tTapeDriveType: pulumi.String(\"IBM-ULT3580-TD5\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Volume Gateway (Cached)\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.storagegateway.Gateway(\"example\", {\n gatewayIpAddress: \"1.2.3.4\",\n gatewayName: \"example\",\n gatewayTimezone: \"GMT\",\n gatewayType: \"CACHED\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.storagegateway.Gateway(\"example\",\n gateway_ip_address=\"1.2.3.4\",\n gateway_name=\"example\",\n gateway_timezone=\"GMT\",\n gateway_type=\"CACHED\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.StorageGateway.Gateway(\"example\", new Aws.StorageGateway.GatewayArgs\n {\n GatewayIpAddress = \"1.2.3.4\",\n GatewayName = \"example\",\n GatewayTimezone = \"GMT\",\n GatewayType = \"CACHED\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/storagegateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := storagegateway.NewGateway(ctx, \"example\", \u0026storagegateway.GatewayArgs{\n\t\t\tGatewayIpAddress: pulumi.String(\"1.2.3.4\"),\n\t\t\tGatewayName: pulumi.String(\"example\"),\n\t\t\tGatewayTimezone: pulumi.String(\"GMT\"),\n\t\t\tGatewayType: pulumi.String(\"CACHED\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Volume Gateway (Stored)\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.storagegateway.Gateway(\"example\", {\n gatewayIpAddress: \"1.2.3.4\",\n gatewayName: \"example\",\n gatewayTimezone: \"GMT\",\n gatewayType: \"STORED\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.storagegateway.Gateway(\"example\",\n gateway_ip_address=\"1.2.3.4\",\n gateway_name=\"example\",\n gateway_timezone=\"GMT\",\n gateway_type=\"STORED\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.StorageGateway.Gateway(\"example\", new Aws.StorageGateway.GatewayArgs\n {\n GatewayIpAddress = \"1.2.3.4\",\n GatewayName = \"example\",\n GatewayTimezone = \"GMT\",\n GatewayType = \"STORED\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/storagegateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := storagegateway.NewGateway(ctx, \"example\", \u0026storagegateway.GatewayArgs{\n\t\t\tGatewayIpAddress: pulumi.String(\"1.2.3.4\"),\n\t\t\tGatewayName: pulumi.String(\"example\"),\n\t\t\tGatewayTimezone: pulumi.String(\"GMT\"),\n\t\t\tGatewayType: pulumi.String(\"STORED\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n`aws_storagegateway_gateway` can be imported by using the gateway Amazon Resource Name (ARN), e.g.\n\n```sh\n $ pulumi import aws:storagegateway/gateway:Gateway example arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678\n```\n\n Certain resource arguments, like `gateway_ip_address` do not have a Storage Gateway API method for reading the information after creation, either omit the argument from the Terraform configuration or use [`ignore_changes`](/docs/configuration/resources.html#ignore_changes) to hide the difference, e.g. hcl resource \"aws_storagegateway_gateway\" \"example\" {\n\n # ... other configuration ...\n\n gateway_ip_address = aws_instance.sgw.private_ip\n\n # There is no Storage Gateway API for reading gateway_ip_address\n\n lifecycle {\n\n\n\n ignore_changes = [\"gateway_ip_address\"]\n\n } } ", + "description": "Manages an AWS Storage Gateway file, tape, or volume gateway in the provider region.\n\n\u003e NOTE: The Storage Gateway API requires the gateway to be connected to properly return information after activation. If you are receiving `The specified gateway is not connected` errors during resource creation (gateway activation), ensure your gateway instance meets the [Storage Gateway requirements](https://docs.aws.amazon.com/storagegateway/latest/userguide/Requirements.html).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### File Gateway\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.storagegateway.Gateway(\"example\", {\n gatewayIpAddress: \"1.2.3.4\",\n gatewayName: \"example\",\n gatewayTimezone: \"GMT\",\n gatewayType: \"FILE_S3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.storagegateway.Gateway(\"example\",\n gateway_ip_address=\"1.2.3.4\",\n gateway_name=\"example\",\n gateway_timezone=\"GMT\",\n gateway_type=\"FILE_S3\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.StorageGateway.Gateway(\"example\", new Aws.StorageGateway.GatewayArgs\n {\n GatewayIpAddress = \"1.2.3.4\",\n GatewayName = \"example\",\n GatewayTimezone = \"GMT\",\n GatewayType = \"FILE_S3\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/storagegateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := storagegateway.NewGateway(ctx, \"example\", \u0026storagegateway.GatewayArgs{\n\t\t\tGatewayIpAddress: pulumi.String(\"1.2.3.4\"),\n\t\t\tGatewayName: pulumi.String(\"example\"),\n\t\t\tGatewayTimezone: pulumi.String(\"GMT\"),\n\t\t\tGatewayType: pulumi.String(\"FILE_S3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Tape Gateway\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.storagegateway.Gateway(\"example\", {\n gatewayIpAddress: \"1.2.3.4\",\n gatewayName: \"example\",\n gatewayTimezone: \"GMT\",\n gatewayType: \"VTL\",\n mediumChangerType: \"AWS-Gateway-VTL\",\n tapeDriveType: \"IBM-ULT3580-TD5\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.storagegateway.Gateway(\"example\",\n gateway_ip_address=\"1.2.3.4\",\n gateway_name=\"example\",\n gateway_timezone=\"GMT\",\n gateway_type=\"VTL\",\n medium_changer_type=\"AWS-Gateway-VTL\",\n tape_drive_type=\"IBM-ULT3580-TD5\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.StorageGateway.Gateway(\"example\", new Aws.StorageGateway.GatewayArgs\n {\n GatewayIpAddress = \"1.2.3.4\",\n GatewayName = \"example\",\n GatewayTimezone = \"GMT\",\n GatewayType = \"VTL\",\n MediumChangerType = \"AWS-Gateway-VTL\",\n TapeDriveType = \"IBM-ULT3580-TD5\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/storagegateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := storagegateway.NewGateway(ctx, \"example\", \u0026storagegateway.GatewayArgs{\n\t\t\tGatewayIpAddress: pulumi.String(\"1.2.3.4\"),\n\t\t\tGatewayName: pulumi.String(\"example\"),\n\t\t\tGatewayTimezone: pulumi.String(\"GMT\"),\n\t\t\tGatewayType: pulumi.String(\"VTL\"),\n\t\t\tMediumChangerType: pulumi.String(\"AWS-Gateway-VTL\"),\n\t\t\tTapeDriveType: pulumi.String(\"IBM-ULT3580-TD5\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Volume Gateway (Cached)\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.storagegateway.Gateway(\"example\", {\n gatewayIpAddress: \"1.2.3.4\",\n gatewayName: \"example\",\n gatewayTimezone: \"GMT\",\n gatewayType: \"CACHED\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.storagegateway.Gateway(\"example\",\n gateway_ip_address=\"1.2.3.4\",\n gateway_name=\"example\",\n gateway_timezone=\"GMT\",\n gateway_type=\"CACHED\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.StorageGateway.Gateway(\"example\", new Aws.StorageGateway.GatewayArgs\n {\n GatewayIpAddress = \"1.2.3.4\",\n GatewayName = \"example\",\n GatewayTimezone = \"GMT\",\n GatewayType = \"CACHED\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/storagegateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := storagegateway.NewGateway(ctx, \"example\", \u0026storagegateway.GatewayArgs{\n\t\t\tGatewayIpAddress: pulumi.String(\"1.2.3.4\"),\n\t\t\tGatewayName: pulumi.String(\"example\"),\n\t\t\tGatewayTimezone: pulumi.String(\"GMT\"),\n\t\t\tGatewayType: pulumi.String(\"CACHED\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Volume Gateway (Stored)\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.storagegateway.Gateway(\"example\", {\n gatewayIpAddress: \"1.2.3.4\",\n gatewayName: \"example\",\n gatewayTimezone: \"GMT\",\n gatewayType: \"STORED\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.storagegateway.Gateway(\"example\",\n gateway_ip_address=\"1.2.3.4\",\n gateway_name=\"example\",\n gateway_timezone=\"GMT\",\n gateway_type=\"STORED\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.StorageGateway.Gateway(\"example\", new Aws.StorageGateway.GatewayArgs\n {\n GatewayIpAddress = \"1.2.3.4\",\n GatewayName = \"example\",\n GatewayTimezone = \"GMT\",\n GatewayType = \"STORED\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/storagegateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := storagegateway.NewGateway(ctx, \"example\", \u0026storagegateway.GatewayArgs{\n\t\t\tGatewayIpAddress: pulumi.String(\"1.2.3.4\"),\n\t\t\tGatewayName: pulumi.String(\"example\"),\n\t\t\tGatewayTimezone: pulumi.String(\"GMT\"),\n\t\t\tGatewayType: pulumi.String(\"STORED\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n`aws_storagegateway_gateway` can be imported by using the gateway Amazon Resource Name (ARN), e.g.\n\n```sh\n $ pulumi import aws:storagegateway/gateway:Gateway example arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678\n```\n\n Certain resource arguments, like `gateway_ip_address` do not have a Storage Gateway API method for reading the information after creation, either omit the argument from the provider configuration or use `ignoreChanges` to hide the difference. ", "properties": { "activationKey": { "type": "string", @@ -218545,6 +218648,14 @@ "type": "string", "description": "The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.\n" }, + "ec2InstanceId": { + "type": "string", + "description": "The ID of the Amazon EC2 instance that was used to launch the gateway.\n" + }, + "endpointType": { + "type": "string", + "description": "The type of endpoint for your gateway.\n" + }, "gatewayId": { "type": "string", "description": "Identifier of the gateway.\n" @@ -218557,6 +218668,13 @@ "type": "string", "description": "Name of the gateway.\n" }, + "gatewayNetworkInterfaces": { + "type": "array", + "items": { + "$ref": "#/types/aws:storagegateway/GatewayGatewayNetworkInterface:GatewayGatewayNetworkInterface" + }, + "description": "An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.\n" + }, "gatewayTimezone": { "type": "string", "description": "Time zone for the gateway. The time zone is of the format \"GMT\", \"GMT-hr:mm\", or \"GMT+hr:mm\". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.\n" @@ -218569,9 +218687,13 @@ "type": "string", "description": "VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running Pulumi. More info on what ports are required by your VPC Endpoint Security group in [Activating a Gateway in a Virtual Private Cloud](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html).\n" }, + "hostEnvironment": { + "type": "string", + "description": "The type of hypervisor environment used by the host.\n" + }, "mediumChangerType": { "type": "string", - "description": "Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`.\n" + "description": "Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`.\n" }, "smbActiveDirectorySettings": { "$ref": "#/types/aws:storagegateway/GatewaySmbActiveDirectorySettings:GatewaySmbActiveDirectorySettings", @@ -218600,10 +218722,14 @@ "required": [ "activationKey", "arn", + "ec2InstanceId", + "endpointType", "gatewayId", "gatewayIpAddress", "gatewayName", + "gatewayNetworkInterfaces", "gatewayTimezone", + "hostEnvironment", "smbSecurityStrategy" ], "inputProperties": { @@ -218645,7 +218771,7 @@ }, "mediumChangerType": { "type": "string", - "description": "Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`.\n" + "description": "Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`.\n" }, "smbActiveDirectorySettings": { "$ref": "#/types/aws:storagegateway/GatewaySmbActiveDirectorySettings:GatewaySmbActiveDirectorySettings", @@ -218698,6 +218824,14 @@ "type": "string", "description": "The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.\n" }, + "ec2InstanceId": { + "type": "string", + "description": "The ID of the Amazon EC2 instance that was used to launch the gateway.\n" + }, + "endpointType": { + "type": "string", + "description": "The type of endpoint for your gateway.\n" + }, "gatewayId": { "type": "string", "description": "Identifier of the gateway.\n" @@ -218710,6 +218844,13 @@ "type": "string", "description": "Name of the gateway.\n" }, + "gatewayNetworkInterfaces": { + "type": "array", + "items": { + "$ref": "#/types/aws:storagegateway/GatewayGatewayNetworkInterface:GatewayGatewayNetworkInterface" + }, + "description": "An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.\n" + }, "gatewayTimezone": { "type": "string", "description": "Time zone for the gateway. The time zone is of the format \"GMT\", \"GMT-hr:mm\", or \"GMT+hr:mm\". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.\n" @@ -218722,9 +218863,13 @@ "type": "string", "description": "VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running Pulumi. More info on what ports are required by your VPC Endpoint Security group in [Activating a Gateway in a Virtual Private Cloud](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html).\n" }, + "hostEnvironment": { + "type": "string", + "description": "The type of hypervisor environment used by the host.\n" + }, "mediumChangerType": { "type": "string", - "description": "Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`.\n" + "description": "Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`.\n" }, "smbActiveDirectorySettings": { "$ref": "#/types/aws:storagegateway/GatewaySmbActiveDirectorySettings:GatewaySmbActiveDirectorySettings", @@ -231064,7 +231209,7 @@ } }, "aws:ec2transitgateway/getVpnAttachment:getVpnAttachment": { - "description": "Get information on an EC2 Transit Gateway VPN Attachment.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### By Transit Gateway and VPN Connection Identifiers\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = aws.ec2transitgateway.getVpnAttachment({\n transitGatewayId: aws_ec2_transit_gateway.example.id,\n vpnConnectionId: aws_vpn_connection.example.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.ec2transitgateway.get_vpn_attachment(transit_gateway_id=aws_ec2_transit_gateway[\"example\"][\"id\"],\n vpn_connection_id=aws_vpn_connection[\"example\"][\"id\"])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = Output.Create(Aws.Ec2TransitGateway.GetVpnAttachment.InvokeAsync(new Aws.Ec2TransitGateway.GetVpnAttachmentArgs\n {\n TransitGatewayId = aws_ec2_transit_gateway.Example.Id,\n VpnConnectionId = aws_vpn_connection.Example.Id,\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := aws_ec2_transit_gateway.Example.Id\n\t\topt1 := aws_vpn_connection.Example.Id\n\t\t_, err := ec2transitgateway.GetVpnAttachment(ctx, \u0026ec2transitgateway.GetVpnAttachmentArgs{\n\t\t\tTransitGatewayId: \u0026opt0,\n\t\t\tVpnConnectionId: \u0026opt1,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Filter\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst test = pulumi.output(aws.ec2transitgateway.getVpnAttachment({\n filters: [{\n name: \"resource-id\",\n values: [\"some-resource\"],\n }],\n}, { async: true }));\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\ntest = aws.ec2transitgateway.get_vpn_attachment(filters=[aws.ec2transitgateway.GetVpnAttachmentFilterArgs(\n name=\"resource-id\",\n values=[\"some-resource\"],\n)])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var test = Output.Create(Aws.Ec2TransitGateway.GetVpnAttachment.InvokeAsync(new Aws.Ec2TransitGateway.GetVpnAttachmentArgs\n {\n Filters = \n {\n new Aws.Ec2TransitGateway.Inputs.GetVpnAttachmentFilterArgs\n {\n Name = \"resource-id\",\n Values = \n {\n \"some-resource\",\n },\n },\n },\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ec2transitgateway.GetVpnAttachment(ctx, \u0026ec2transitgateway.GetVpnAttachmentArgs{\n\t\t\tFilters: []ec2transitgateway.GetVpnAttachmentFilter{\n\t\t\t\tec2transitgateway.GetVpnAttachmentFilter{\n\t\t\t\t\tName: \"resource-id\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"some-resource\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on an EC2 Transit Gateway VPN Attachment.\n\n\u003e EC2 Transit Gateway VPN Attachments are implicitly created by VPN Connections referencing an EC2 Transit Gateway so there is no managed resource. For ease, the [`aws.ec2.VpnConnection` resource](https://www.terraform.io/docs/providers/aws/r/vpn_connection.html) includes a `transit_gateway_attachment_id` attribute which can replace some usage of this data source. For tagging the attachment, see the [`aws.ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### By Transit Gateway and VPN Connection Identifiers\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = aws.ec2transitgateway.getVpnAttachment({\n transitGatewayId: aws_ec2_transit_gateway.example.id,\n vpnConnectionId: aws_vpn_connection.example.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.ec2transitgateway.get_vpn_attachment(transit_gateway_id=aws_ec2_transit_gateway[\"example\"][\"id\"],\n vpn_connection_id=aws_vpn_connection[\"example\"][\"id\"])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = Output.Create(Aws.Ec2TransitGateway.GetVpnAttachment.InvokeAsync(new Aws.Ec2TransitGateway.GetVpnAttachmentArgs\n {\n TransitGatewayId = aws_ec2_transit_gateway.Example.Id,\n VpnConnectionId = aws_vpn_connection.Example.Id,\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := aws_ec2_transit_gateway.Example.Id\n\t\topt1 := aws_vpn_connection.Example.Id\n\t\t_, err := ec2transitgateway.GetVpnAttachment(ctx, \u0026ec2transitgateway.GetVpnAttachmentArgs{\n\t\t\tTransitGatewayId: \u0026opt0,\n\t\t\tVpnConnectionId: \u0026opt1,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Filter\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst test = pulumi.output(aws.ec2transitgateway.getVpnAttachment({\n filters: [{\n name: \"resource-id\",\n values: [\"some-resource\"],\n }],\n}, { async: true }));\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\ntest = aws.ec2transitgateway.get_vpn_attachment(filters=[aws.ec2transitgateway.GetVpnAttachmentFilterArgs(\n name=\"resource-id\",\n values=[\"some-resource\"],\n)])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var test = Output.Create(Aws.Ec2TransitGateway.GetVpnAttachment.InvokeAsync(new Aws.Ec2TransitGateway.GetVpnAttachmentArgs\n {\n Filters = \n {\n new Aws.Ec2TransitGateway.Inputs.GetVpnAttachmentFilterArgs\n {\n Name = \"resource-id\",\n Values = \n {\n \"some-resource\",\n },\n },\n },\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ec2transitgateway.GetVpnAttachment(ctx, \u0026ec2transitgateway.GetVpnAttachmentArgs{\n\t\t\tFilters: []ec2transitgateway.GetVpnAttachmentFilter{\n\t\t\t\tec2transitgateway.GetVpnAttachmentFilter{\n\t\t\t\t\tName: \"resource-id\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"some-resource\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getVpnAttachment.\n", "properties": { @@ -232099,7 +232244,6 @@ } }, "aws:eks/getClusterAuth:getClusterAuth": { - "description": "Get an authentication token to communicate with an EKS cluster.\n\nUses IAM credentials from the AWS provider to generate a temporary token that is compatible with\n[AWS IAM Authenticator](https://github.com/kubernetes-sigs/aws-iam-authenticator) authentication.\nThis can be used to authenticate to an EKS cluster or to a cluster that has the AWS IAM Authenticator\nserver configured.\n", "inputs": { "description": "A collection of arguments for invoking getClusterAuth.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index 2ca62569502..81f75c354cd 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -15,5 +15,5 @@ replace ( github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.4.3+incompatible github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20200910230100-328eb4ff41df github.com/hashicorp/vault => github.com/hashicorp/vault v1.2.0 - github.com/terraform-providers/terraform-provider-aws => github.com/pulumi/terraform-provider-aws v1.38.1-0.20201201222528-a8b47938bf95 + github.com/terraform-providers/terraform-provider-aws => github.com/pulumi/terraform-provider-aws v1.38.1-0.20201204131137-387acf2ecd1d ) diff --git a/provider/go.sum b/provider/go.sum index d8c88f0deb8..f788f4123fb 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -120,8 +120,8 @@ github.com/aws/aws-sdk-go v1.19.39/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpi github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.31.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= github.com/aws/aws-sdk-go v1.31.13/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= -github.com/aws/aws-sdk-go v1.35.37 h1:XA71k5PofXJ/eeXdWrTQiuWPEEyq8liguR+Y/QUELhI= -github.com/aws/aws-sdk-go v1.35.37/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/aws/aws-sdk-go v1.36.0 h1:CscTrS+szX5iu34zk2bZrChnGO/GMtUYgMK1Xzs2hYo= +github.com/aws/aws-sdk-go v1.36.0/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= github.com/beevik/etree v1.1.0 h1:T0xke/WvNtMoCqgzPhkX2r4rjY3GDZFi+FjpRZY2Jbs= github.com/beevik/etree v1.1.0/go.mod h1:r8Aw8JqVegEf0w2fDnATrX9VpkMcyFeM0FhwO62wh+A= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= @@ -548,8 +548,8 @@ github.com/pulumi/pulumi/sdk/v2 v2.15.1-0.20201202214525-260620430c4c h1:nYFMU38 github.com/pulumi/pulumi/sdk/v2 v2.15.1-0.20201202214525-260620430c4c/go.mod h1:Z9ifPo/Q0+hUpAyguVx2gp5Sx+CBumnWvYQDhrM8l3E= github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20200910230100-328eb4ff41df h1:kXSvfAz43o0D0gfxUqVCOP3NrfnGbptJBshVsqZlBqA= github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20200910230100-328eb4ff41df/go.mod h1:pVZLnLuSe/yv0XqTHFPb8xRGWPwgANT77jHeHqjXS5o= -github.com/pulumi/terraform-provider-aws v1.38.1-0.20201201222528-a8b47938bf95 h1:bIclVa/7UTvlErJMeTauhLgN0MnCyi/C2E3wIjom4oA= -github.com/pulumi/terraform-provider-aws v1.38.1-0.20201201222528-a8b47938bf95/go.mod h1:ZslLiBvJetBUHSnztG0XdSQpwuQkb85f3bqk7kV9ZCo= +github.com/pulumi/terraform-provider-aws v1.38.1-0.20201204131137-387acf2ecd1d h1:YDxI1r/nHF0QhuY9c8skzxmu1EDDzd7vjOR/YACDCVs= +github.com/pulumi/terraform-provider-aws v1.38.1-0.20201204131137-387acf2ecd1d/go.mod h1:kdhsukI1rMp0GTrqciw7l2Bh8UgwsJJq/pLhEyy0S8k= github.com/rjeczalik/notify v0.9.2/go.mod h1:aErll2f0sUX9PXZnVNyeiObbmTlk5jnMoCa4QEjJeqM= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= diff --git a/sdk/dotnet/CodeBuild/Inputs/ProjectSecondaryArtifactArgs.cs b/sdk/dotnet/CodeBuild/Inputs/ProjectSecondaryArtifactArgs.cs index 8bf4db7e88f..acf0b523472 100644 --- a/sdk/dotnet/CodeBuild/Inputs/ProjectSecondaryArtifactArgs.cs +++ b/sdk/dotnet/CodeBuild/Inputs/ProjectSecondaryArtifactArgs.cs @@ -61,7 +61,7 @@ public sealed class ProjectSecondaryArtifactArgs : Pulumi.ResourceArgs public Input? Path { get; set; } /// - /// The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`. + /// The build output artifact's type. The only valid value is `S3`. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/CodeBuild/Inputs/ProjectSecondaryArtifactGetArgs.cs b/sdk/dotnet/CodeBuild/Inputs/ProjectSecondaryArtifactGetArgs.cs index 991db073521..bda19e81964 100644 --- a/sdk/dotnet/CodeBuild/Inputs/ProjectSecondaryArtifactGetArgs.cs +++ b/sdk/dotnet/CodeBuild/Inputs/ProjectSecondaryArtifactGetArgs.cs @@ -61,7 +61,7 @@ public sealed class ProjectSecondaryArtifactGetArgs : Pulumi.ResourceArgs public Input? Path { get; set; } /// - /// The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`. + /// The build output artifact's type. The only valid value is `S3`. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/CodeBuild/Outputs/ProjectSecondaryArtifact.cs b/sdk/dotnet/CodeBuild/Outputs/ProjectSecondaryArtifact.cs index efa682b5fe8..cd3293d25ea 100644 --- a/sdk/dotnet/CodeBuild/Outputs/ProjectSecondaryArtifact.cs +++ b/sdk/dotnet/CodeBuild/Outputs/ProjectSecondaryArtifact.cs @@ -46,7 +46,7 @@ public sealed class ProjectSecondaryArtifact /// public readonly string? Path; /// - /// The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`. + /// The build output artifact's type. The only valid value is `S3`. /// public readonly string Type; diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs index 3e1d398d820..e1c23c67561 100644 --- a/sdk/dotnet/Config/Config.cs +++ b/sdk/dotnet/Config/Config.cs @@ -157,6 +157,7 @@ public class Endpoints public string? Dynamodb { get; set; } = null!; public string? Ec2 { get; set; } = null!; public string? Ecr { get; set; } = null!; + public string? Ecrpublic { get; set; } = null!; public string? Ecs { get; set; } = null!; public string? Efs { get; set; } = null!; public string? Eks { get; set; } = null!; @@ -205,6 +206,7 @@ public class Endpoints public string? Mediastore { get; set; } = null!; public string? Mediastoredata { get; set; } = null!; public string? Mq { get; set; } = null!; + public string? Mwaa { get; set; } = null!; public string? Neptune { get; set; } = null!; public string? Networkfirewall { get; set; } = null!; public string? Networkmanager { get; set; } = null!; diff --git a/sdk/dotnet/Ec2/VpnConnection.cs b/sdk/dotnet/Ec2/VpnConnection.cs index 2d5c967a79a..236715bfe84 100644 --- a/sdk/dotnet/Ec2/VpnConnection.cs +++ b/sdk/dotnet/Ec2/VpnConnection.cs @@ -127,7 +127,7 @@ public partial class VpnConnection : Pulumi.CustomResource public Output?> Tags { get; private set; } = null!; /// - /// When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID. + /// When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID. See also the [`aws.ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html) for tagging the EC2 Transit Gateway VPN Attachment. /// [Output("transitGatewayAttachmentId")] public Output TransitGatewayAttachmentId { get; private set; } = null!; @@ -401,7 +401,7 @@ public InputMap Tags } /// - /// When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID. + /// When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID. See also the [`aws.ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html) for tagging the EC2 Transit Gateway VPN Attachment. /// [Input("transitGatewayAttachmentId")] public Input? TransitGatewayAttachmentId { get; set; } diff --git a/sdk/dotnet/Ec2TransitGateway/GetVpnAttachment.cs b/sdk/dotnet/Ec2TransitGateway/GetVpnAttachment.cs index ab922b013dd..14788fb0839 100644 --- a/sdk/dotnet/Ec2TransitGateway/GetVpnAttachment.cs +++ b/sdk/dotnet/Ec2TransitGateway/GetVpnAttachment.cs @@ -14,6 +14,8 @@ public static class GetVpnAttachment /// /// Get information on an EC2 Transit Gateway VPN Attachment. /// + /// > EC2 Transit Gateway VPN Attachments are implicitly created by VPN Connections referencing an EC2 Transit Gateway so there is no managed resource. For ease, the [`aws.ec2.VpnConnection` resource](https://www.terraform.io/docs/providers/aws/r/vpn_connection.html) includes a `transit_gateway_attachment_id` attribute which can replace some usage of this data source. For tagging the attachment, see the [`aws.ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html). + /// /// {{% examples %}} /// ## Example Usage /// {{% example %}} diff --git a/sdk/dotnet/Eks/GetClusterAuth.cs b/sdk/dotnet/Eks/GetClusterAuth.cs index 69bd23fece2..c0d70dbc314 100644 --- a/sdk/dotnet/Eks/GetClusterAuth.cs +++ b/sdk/dotnet/Eks/GetClusterAuth.cs @@ -11,14 +11,6 @@ namespace Pulumi.Aws.Eks { public static class GetClusterAuth { - /// - /// Get an authentication token to communicate with an EKS cluster. - /// - /// Uses IAM credentials from the AWS provider to generate a temporary token that is compatible with - /// [AWS IAM Authenticator](https://github.com/kubernetes-sigs/aws-iam-authenticator) authentication. - /// This can be used to authenticate to an EKS cluster or to a cluster that has the AWS IAM Authenticator - /// server configured. - /// public static Task InvokeAsync(GetClusterAuthArgs args, InvokeOptions? options = null) => Pulumi.Deployment.Instance.InvokeAsync("aws:eks/getClusterAuth:getClusterAuth", args ?? new GetClusterAuthArgs(), options.WithVersion()); } diff --git a/sdk/dotnet/Eks/NodeGroup.cs b/sdk/dotnet/Eks/NodeGroup.cs index 00cd8fa70f8..8874549a997 100644 --- a/sdk/dotnet/Eks/NodeGroup.cs +++ b/sdk/dotnet/Eks/NodeGroup.cs @@ -146,10 +146,10 @@ public partial class NodeGroup : Pulumi.CustomResource public Output Arn { get; private set; } = null!; /// - /// Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. + /// Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. /// [Output("capacityType")] - public Output CapacityType { get; private set; } = null!; + public Output CapacityType { get; private set; } = null!; /// /// Name of the EKS Cluster. @@ -300,7 +300,7 @@ public sealed class NodeGroupArgs : Pulumi.ResourceArgs public Input? AmiType { get; set; } /// - /// Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. + /// Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. /// [Input("capacityType")] public Input? CapacityType { get; set; } @@ -433,7 +433,7 @@ public sealed class NodeGroupState : Pulumi.ResourceArgs public Input? Arn { get; set; } /// - /// Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. + /// Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. /// [Input("capacityType")] public Input? CapacityType { get; set; } diff --git a/sdk/dotnet/ElastiCache/Cluster.cs b/sdk/dotnet/ElastiCache/Cluster.cs index 956014def31..53a48d1ed80 100644 --- a/sdk/dotnet/ElastiCache/Cluster.cs +++ b/sdk/dotnet/ElastiCache/Cluster.cs @@ -254,7 +254,7 @@ public partial class Cluster : Pulumi.CustomResource /// retain automatic cache cluster snapshots before deleting them. For example, if you set /// SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days /// before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - /// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes + /// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes /// [Output("snapshotRetentionLimit")] public Output SnapshotRetentionLimit { get; private set; } = null!; @@ -483,7 +483,7 @@ public InputList SnapshotArns /// retain automatic cache cluster snapshots before deleting them. For example, if you set /// SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days /// before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - /// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes + /// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes /// [Input("snapshotRetentionLimit")] public Input? SnapshotRetentionLimit { get; set; } @@ -707,7 +707,7 @@ public InputList SnapshotArns /// retain automatic cache cluster snapshots before deleting them. For example, if you set /// SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days /// before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - /// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes + /// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes /// [Input("snapshotRetentionLimit")] public Input? SnapshotRetentionLimit { get; set; } diff --git a/sdk/dotnet/ElastiCache/ReplicationGroup.cs b/sdk/dotnet/ElastiCache/ReplicationGroup.cs index f8af23d28f0..26f41535f3a 100644 --- a/sdk/dotnet/ElastiCache/ReplicationGroup.cs +++ b/sdk/dotnet/ElastiCache/ReplicationGroup.cs @@ -302,7 +302,7 @@ public partial class ReplicationGroup : Pulumi.CustomResource /// retain automatic cache cluster snapshots before deleting them. For example, if you set /// SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days /// before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - /// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes + /// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes /// [Output("snapshotRetentionLimit")] public Output SnapshotRetentionLimit { get; private set; } = null!; @@ -545,7 +545,7 @@ public InputList SnapshotArns /// retain automatic cache cluster snapshots before deleting them. For example, if you set /// SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days /// before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - /// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes + /// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes /// [Input("snapshotRetentionLimit")] public Input? SnapshotRetentionLimit { get; set; } @@ -779,7 +779,7 @@ public InputList SnapshotArns /// retain automatic cache cluster snapshots before deleting them. For example, if you set /// SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days /// before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - /// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes + /// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes /// [Input("snapshotRetentionLimit")] public Input? SnapshotRetentionLimit { get; set; } diff --git a/sdk/dotnet/Inputs/ProviderEndpointArgs.cs b/sdk/dotnet/Inputs/ProviderEndpointArgs.cs index 72b42c1c380..f063b582007 100644 --- a/sdk/dotnet/Inputs/ProviderEndpointArgs.cs +++ b/sdk/dotnet/Inputs/ProviderEndpointArgs.cs @@ -156,6 +156,9 @@ public sealed class ProviderEndpointArgs : Pulumi.ResourceArgs [Input("ecr")] public Input? Ecr { get; set; } + [Input("ecrpublic")] + public Input? Ecrpublic { get; set; } + [Input("ecs")] public Input? Ecs { get; set; } @@ -300,6 +303,9 @@ public sealed class ProviderEndpointArgs : Pulumi.ResourceArgs [Input("mq")] public Input? Mq { get; set; } + [Input("mwaa")] + public Input? Mwaa { get; set; } + [Input("neptune")] public Input? Neptune { get; set; } diff --git a/sdk/dotnet/Lambda/EventSourceMapping.cs b/sdk/dotnet/Lambda/EventSourceMapping.cs index c15ea294ca3..733795924a7 100644 --- a/sdk/dotnet/Lambda/EventSourceMapping.cs +++ b/sdk/dotnet/Lambda/EventSourceMapping.cs @@ -137,7 +137,7 @@ public partial class EventSourceMapping : Pulumi.CustomResource public Output LastProcessingResult { get; private set; } = null!; /// - /// The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + /// The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. /// [Output("maximumBatchingWindowInSeconds")] public Output MaximumBatchingWindowInSeconds { get; private set; } = null!; @@ -263,7 +263,7 @@ public sealed class EventSourceMappingArgs : Pulumi.ResourceArgs public Input FunctionName { get; set; } = null!; /// - /// The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + /// The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. /// [Input("maximumBatchingWindowInSeconds")] public Input? MaximumBatchingWindowInSeconds { get; set; } @@ -350,7 +350,7 @@ public sealed class EventSourceMappingState : Pulumi.ResourceArgs public Input? LastProcessingResult { get; set; } /// - /// The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + /// The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. /// [Input("maximumBatchingWindowInSeconds")] public Input? MaximumBatchingWindowInSeconds { get; set; } diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs.cs index 84f5e96121e..0a36f3fa3e9 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs.cs @@ -13,16 +13,16 @@ namespace Pulumi.Aws.NetworkFirewall.Inputs public sealed class RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs : Pulumi.ResourceArgs { /// - /// The destination IP address or address range to inspect for, in CIDR notation. If left empty, this matches with any destination address. + /// The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`. /// - [Input("destination")] - public Input? Destination { get; set; } + [Input("destination", required: true)] + public Input Destination { get; set; } = null!; /// - /// The destination port to inspect for. If left empty, this matches with any port. + /// The destination port to inspect for. To match with any address, specify `ANY`. /// - [Input("destinationPort")] - public Input? DestinationPort { get; set; } + [Input("destinationPort", required: true)] + public Input DestinationPort { get; set; } = null!; /// /// The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. @@ -31,23 +31,22 @@ public sealed class RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs : Pulumi public Input Direction { get; set; } = null!; /// - /// The protocol to inspect. If not specified, this matches with any protocol. - /// Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. + /// The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. /// - [Input("protocol")] - public Input? Protocol { get; set; } + [Input("protocol", required: true)] + public Input Protocol { get; set; } = null!; /// - /// The source IP address or address range for, in CIDR notation. If left empty, this matches with any source address. + /// The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`. /// - [Input("source")] - public Input? Source { get; set; } + [Input("source", required: true)] + public Input Source { get; set; } = null!; /// - /// The source port to inspect for. If left empty, this matches with any port. + /// The source port to inspect for. To match with any address, specify `ANY`. /// - [Input("sourcePort")] - public Input? SourcePort { get; set; } + [Input("sourcePort", required: true)] + public Input SourcePort { get; set; } = null!; public RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs() { diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatefulRuleHeaderGetArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatefulRuleHeaderGetArgs.cs index 7cb28ecc7a9..afa5fe470e2 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatefulRuleHeaderGetArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatefulRuleHeaderGetArgs.cs @@ -13,16 +13,16 @@ namespace Pulumi.Aws.NetworkFirewall.Inputs public sealed class RuleGroupRuleGroupRulesSourceStatefulRuleHeaderGetArgs : Pulumi.ResourceArgs { /// - /// The destination IP address or address range to inspect for, in CIDR notation. If left empty, this matches with any destination address. + /// The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`. /// - [Input("destination")] - public Input? Destination { get; set; } + [Input("destination", required: true)] + public Input Destination { get; set; } = null!; /// - /// The destination port to inspect for. If left empty, this matches with any port. + /// The destination port to inspect for. To match with any address, specify `ANY`. /// - [Input("destinationPort")] - public Input? DestinationPort { get; set; } + [Input("destinationPort", required: true)] + public Input DestinationPort { get; set; } = null!; /// /// The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. @@ -31,23 +31,22 @@ public sealed class RuleGroupRuleGroupRulesSourceStatefulRuleHeaderGetArgs : Pul public Input Direction { get; set; } = null!; /// - /// The protocol to inspect. If not specified, this matches with any protocol. - /// Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. + /// The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. /// - [Input("protocol")] - public Input? Protocol { get; set; } + [Input("protocol", required: true)] + public Input Protocol { get; set; } = null!; /// - /// The source IP address or address range for, in CIDR notation. If left empty, this matches with any source address. + /// The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`. /// - [Input("source")] - public Input? Source { get; set; } + [Input("source", required: true)] + public Input Source { get; set; } = null!; /// - /// The source port to inspect for. If left empty, this matches with any port. + /// The source port to inspect for. To match with any address, specify `ANY`. /// - [Input("sourcePort")] - public Input? SourcePort { get; set; } + [Input("sourcePort", required: true)] + public Input SourcePort { get; set; } = null!; public RuleGroupRuleGroupRulesSourceStatefulRuleHeaderGetArgs() { diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesArgs.cs index 2aa0acfb668..3ba5b009443 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesArgs.cs @@ -40,7 +40,7 @@ public InputList? _protocols; /// - /// Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). + /// Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. /// public InputList Protocols { diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArgs.cs index f3a61e4c265..231d3a2028b 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArgs.cs @@ -15,8 +15,8 @@ public sealed class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsS /// /// An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. /// - [Input("addressDefinition")] - public Input? AddressDefinition { get; set; } + [Input("addressDefinition", required: true)] + public Input AddressDefinition { get; set; } = null!; public RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArgs() { diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationGetArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationGetArgs.cs index 2eb2e5f70cb..fea08f73944 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationGetArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationGetArgs.cs @@ -15,8 +15,8 @@ public sealed class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsS /// /// An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. /// - [Input("addressDefinition")] - public Input? AddressDefinition { get; set; } + [Input("addressDefinition", required: true)] + public Input AddressDefinition { get; set; } = null!; public RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationGetArgs() { diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesGetArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesGetArgs.cs index 64d2182d42d..50db21e7cd6 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesGetArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesGetArgs.cs @@ -40,7 +40,7 @@ public InputList? _protocols; /// - /// Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). + /// Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. /// public InputList Protocols { diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceArgs.cs index a5c628031ba..2d5c56a6be2 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceArgs.cs @@ -15,8 +15,8 @@ public sealed class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsS /// /// An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. /// - [Input("addressDefinition")] - public Input? AddressDefinition { get; set; } + [Input("addressDefinition", required: true)] + public Input AddressDefinition { get; set; } = null!; public RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceArgs() { diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceGetArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceGetArgs.cs index a8abf6013e1..2de5af76109 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceGetArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceGetArgs.cs @@ -15,8 +15,8 @@ public sealed class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsS /// /// An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. /// - [Input("addressDefinition")] - public Input? AddressDefinition { get; set; } + [Input("addressDefinition", required: true)] + public Input AddressDefinition { get; set; } = null!; public RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceGetArgs() { diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagArgs.cs index 3806e0f80fc..94e7f99e554 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagArgs.cs @@ -16,7 +16,7 @@ public sealed class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsS private InputList? _flags; /// - /// Set of flags to look for in a packet. AWS Network Firewall checks only the part of the packet specified in `masks`. + /// Set of flags to look for in a packet. This setting can only specify values that are also specified in `masks`. /// Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. /// public InputList Flags @@ -29,7 +29,7 @@ public InputList Flags private InputList? _masks; /// - /// Set of values describing the part of the packet that you want to check for the flags. To inspect the entire packet, leave this empty. + /// Set of flags to consider in the inspection. To inspect all flags, leave this empty. /// Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. /// public InputList Masks diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagGetArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagGetArgs.cs index 3ac2359d049..17608e94d36 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagGetArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagGetArgs.cs @@ -16,7 +16,7 @@ public sealed class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsS private InputList? _flags; /// - /// Set of flags to look for in a packet. AWS Network Firewall checks only the part of the packet specified in `masks`. + /// Set of flags to look for in a packet. This setting can only specify values that are also specified in `masks`. /// Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. /// public InputList Flags @@ -29,7 +29,7 @@ public InputList Flags private InputList? _masks; /// - /// Set of values describing the part of the packet that you want to check for the flags. To inspect the entire packet, leave this empty. + /// Set of flags to consider in the inspection. To inspect all flags, leave this empty. /// Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. /// public InputList Masks diff --git a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatefulRuleHeader.cs b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatefulRuleHeader.cs index 04da24e0530..31df9f7ee1a 100644 --- a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatefulRuleHeader.cs +++ b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatefulRuleHeader.cs @@ -14,44 +14,43 @@ namespace Pulumi.Aws.NetworkFirewall.Outputs public sealed class RuleGroupRuleGroupRulesSourceStatefulRuleHeader { /// - /// The destination IP address or address range to inspect for, in CIDR notation. If left empty, this matches with any destination address. + /// The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`. /// - public readonly string? Destination; + public readonly string Destination; /// - /// The destination port to inspect for. If left empty, this matches with any port. + /// The destination port to inspect for. To match with any address, specify `ANY`. /// - public readonly string? DestinationPort; + public readonly string DestinationPort; /// /// The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. /// public readonly string Direction; /// - /// The protocol to inspect. If not specified, this matches with any protocol. - /// Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. + /// The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. /// - public readonly string? Protocol; + public readonly string Protocol; /// - /// The source IP address or address range for, in CIDR notation. If left empty, this matches with any source address. + /// The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`. /// - public readonly string? Source; + public readonly string Source; /// - /// The source port to inspect for. If left empty, this matches with any port. + /// The source port to inspect for. To match with any address, specify `ANY`. /// - public readonly string? SourcePort; + public readonly string SourcePort; [OutputConstructor] private RuleGroupRuleGroupRulesSourceStatefulRuleHeader( - string? destination, + string destination, - string? destinationPort, + string destinationPort, string direction, - string? protocol, + string protocol, - string? source, + string source, - string? sourcePort) + string sourcePort) { Destination = destination; DestinationPort = destinationPort; diff --git a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributes.cs b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributes.cs index 2270c791502..696268c8e61 100644 --- a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributes.cs +++ b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributes.cs @@ -22,7 +22,7 @@ public sealed class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsS /// public readonly ImmutableArray Destinations; /// - /// Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). + /// Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. /// public readonly ImmutableArray Protocols; /// diff --git a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination.cs b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination.cs index b53979b0595..5184a731940 100644 --- a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination.cs +++ b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination.cs @@ -16,10 +16,10 @@ public sealed class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsS /// /// An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. /// - public readonly string? AddressDefinition; + public readonly string AddressDefinition; [OutputConstructor] - private RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination(string? addressDefinition) + private RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination(string addressDefinition) { AddressDefinition = addressDefinition; } diff --git a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSource.cs b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSource.cs index bb22473d59f..f5fcf9bedd7 100644 --- a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSource.cs +++ b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSource.cs @@ -16,10 +16,10 @@ public sealed class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsS /// /// An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. /// - public readonly string? AddressDefinition; + public readonly string AddressDefinition; [OutputConstructor] - private RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSource(string? addressDefinition) + private RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSource(string addressDefinition) { AddressDefinition = addressDefinition; } diff --git a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlag.cs b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlag.cs index 2bc399a9d0c..9c57ffe1644 100644 --- a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlag.cs +++ b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlag.cs @@ -14,12 +14,12 @@ namespace Pulumi.Aws.NetworkFirewall.Outputs public sealed class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlag { /// - /// Set of flags to look for in a packet. AWS Network Firewall checks only the part of the packet specified in `masks`. + /// Set of flags to look for in a packet. This setting can only specify values that are also specified in `masks`. /// Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. /// public readonly ImmutableArray Flags; /// - /// Set of values describing the part of the packet that you want to check for the flags. To inspect the entire packet, leave this empty. + /// Set of flags to consider in the inspection. To inspect all flags, leave this empty. /// Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. /// public readonly ImmutableArray Masks; diff --git a/sdk/dotnet/Outputs/ProviderEndpoint.cs b/sdk/dotnet/Outputs/ProviderEndpoint.cs index 57b98374a32..6ac6198e9b5 100644 --- a/sdk/dotnet/Outputs/ProviderEndpoint.cs +++ b/sdk/dotnet/Outputs/ProviderEndpoint.cs @@ -61,6 +61,7 @@ public sealed class ProviderEndpoint public readonly string? Dynamodb; public readonly string? Ec2; public readonly string? Ecr; + public readonly string? Ecrpublic; public readonly string? Ecs; public readonly string? Efs; public readonly string? Eks; @@ -109,6 +110,7 @@ public sealed class ProviderEndpoint public readonly string? Mediastore; public readonly string? Mediastoredata; public readonly string? Mq; + public readonly string? Mwaa; public readonly string? Neptune; public readonly string? Networkfirewall; public readonly string? Networkmanager; @@ -259,6 +261,8 @@ private ProviderEndpoint( string? ecr, + string? ecrpublic, + string? ecs, string? efs, @@ -355,6 +359,8 @@ private ProviderEndpoint( string? mq, + string? mwaa, + string? neptune, string? networkfirewall, @@ -505,6 +511,7 @@ private ProviderEndpoint( Dynamodb = dynamodb; Ec2 = ec2; Ecr = ecr; + Ecrpublic = ecrpublic; Ecs = ecs; Efs = efs; Eks = eks; @@ -553,6 +560,7 @@ private ProviderEndpoint( Mediastore = mediastore; Mediastoredata = mediastoredata; Mq = mq; + Mwaa = mwaa; Neptune = neptune; Networkfirewall = networkfirewall; Networkmanager = networkmanager; diff --git a/sdk/dotnet/StorageGateway/Gateway.cs b/sdk/dotnet/StorageGateway/Gateway.cs index f26e7842912..b64200ecb9b 100644 --- a/sdk/dotnet/StorageGateway/Gateway.cs +++ b/sdk/dotnet/StorageGateway/Gateway.cs @@ -110,19 +110,7 @@ namespace Pulumi.Aws.StorageGateway /// $ pulumi import aws:storagegateway/gateway:Gateway example arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678 /// ``` /// - /// Certain resource arguments, like `gateway_ip_address` do not have a Storage Gateway API method for reading the information after creation, either omit the argument from the Terraform configuration or use [`ignore_changes`](/docs/configuration/resources.html#ignore_changes) to hide the difference, e.g. hcl resource "aws_storagegateway_gateway" "example" { - /// - /// # ... other configuration ... - /// - /// gateway_ip_address = aws_instance.sgw.private_ip - /// - /// # There is no Storage Gateway API for reading gateway_ip_address - /// - /// lifecycle { - /// - /// ignore_changes = ["gateway_ip_address"] - /// - /// } } + /// Certain resource arguments, like `gateway_ip_address` do not have a Storage Gateway API method for reading the information after creation, either omit the argument from the provider configuration or use `ignoreChanges` to hide the difference. /// public partial class Gateway : Pulumi.CustomResource { @@ -156,6 +144,18 @@ public partial class Gateway : Pulumi.CustomResource [Output("cloudwatchLogGroupArn")] public Output CloudwatchLogGroupArn { get; private set; } = null!; + /// + /// The ID of the Amazon EC2 instance that was used to launch the gateway. + /// + [Output("ec2InstanceId")] + public Output Ec2InstanceId { get; private set; } = null!; + + /// + /// The type of endpoint for your gateway. + /// + [Output("endpointType")] + public Output EndpointType { get; private set; } = null!; + /// /// Identifier of the gateway. /// @@ -174,6 +174,12 @@ public partial class Gateway : Pulumi.CustomResource [Output("gatewayName")] public Output GatewayName { get; private set; } = null!; + /// + /// An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface. + /// + [Output("gatewayNetworkInterfaces")] + public Output> GatewayNetworkInterfaces { get; private set; } = null!; + /// /// Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. /// @@ -193,7 +199,13 @@ public partial class Gateway : Pulumi.CustomResource public Output GatewayVpcEndpoint { get; private set; } = null!; /// - /// Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + /// The type of hypervisor environment used by the host. + /// + [Output("hostEnvironment")] + public Output HostEnvironment { get; private set; } = null!; + + /// + /// Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. /// [Output("mediumChangerType")] public Output MediumChangerType { get; private set; } = null!; @@ -329,7 +341,7 @@ public sealed class GatewayArgs : Pulumi.ResourceArgs public Input? GatewayVpcEndpoint { get; set; } /// - /// Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + /// Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. /// [Input("mediumChangerType")] public Input? MediumChangerType { get; set; } @@ -407,6 +419,18 @@ public sealed class GatewayState : Pulumi.ResourceArgs [Input("cloudwatchLogGroupArn")] public Input? CloudwatchLogGroupArn { get; set; } + /// + /// The ID of the Amazon EC2 instance that was used to launch the gateway. + /// + [Input("ec2InstanceId")] + public Input? Ec2InstanceId { get; set; } + + /// + /// The type of endpoint for your gateway. + /// + [Input("endpointType")] + public Input? EndpointType { get; set; } + /// /// Identifier of the gateway. /// @@ -425,6 +449,18 @@ public sealed class GatewayState : Pulumi.ResourceArgs [Input("gatewayName")] public Input? GatewayName { get; set; } + [Input("gatewayNetworkInterfaces")] + private InputList? _gatewayNetworkInterfaces; + + /// + /// An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface. + /// + public InputList GatewayNetworkInterfaces + { + get => _gatewayNetworkInterfaces ?? (_gatewayNetworkInterfaces = new InputList()); + set => _gatewayNetworkInterfaces = value; + } + /// /// Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. /// @@ -444,7 +480,13 @@ public sealed class GatewayState : Pulumi.ResourceArgs public Input? GatewayVpcEndpoint { get; set; } /// - /// Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + /// The type of hypervisor environment used by the host. + /// + [Input("hostEnvironment")] + public Input? HostEnvironment { get; set; } + + /// + /// Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. /// [Input("mediumChangerType")] public Input? MediumChangerType { get; set; } diff --git a/sdk/dotnet/StorageGateway/Inputs/GatewayGatewayNetworkInterfaceArgs.cs b/sdk/dotnet/StorageGateway/Inputs/GatewayGatewayNetworkInterfaceArgs.cs new file mode 100644 index 00000000000..bcfd1087883 --- /dev/null +++ b/sdk/dotnet/StorageGateway/Inputs/GatewayGatewayNetworkInterfaceArgs.cs @@ -0,0 +1,25 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.StorageGateway.Inputs +{ + + public sealed class GatewayGatewayNetworkInterfaceArgs : Pulumi.ResourceArgs + { + /// + /// The Internet Protocol version 4 (IPv4) address of the interface. + /// + [Input("ipv4Address")] + public Input? Ipv4Address { get; set; } + + public GatewayGatewayNetworkInterfaceArgs() + { + } + } +} diff --git a/sdk/dotnet/StorageGateway/Inputs/GatewayGatewayNetworkInterfaceGetArgs.cs b/sdk/dotnet/StorageGateway/Inputs/GatewayGatewayNetworkInterfaceGetArgs.cs new file mode 100644 index 00000000000..36af57a0d27 --- /dev/null +++ b/sdk/dotnet/StorageGateway/Inputs/GatewayGatewayNetworkInterfaceGetArgs.cs @@ -0,0 +1,25 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.StorageGateway.Inputs +{ + + public sealed class GatewayGatewayNetworkInterfaceGetArgs : Pulumi.ResourceArgs + { + /// + /// The Internet Protocol version 4 (IPv4) address of the interface. + /// + [Input("ipv4Address")] + public Input? Ipv4Address { get; set; } + + public GatewayGatewayNetworkInterfaceGetArgs() + { + } + } +} diff --git a/sdk/dotnet/StorageGateway/Inputs/GatewaySmbActiveDirectorySettingsArgs.cs b/sdk/dotnet/StorageGateway/Inputs/GatewaySmbActiveDirectorySettingsArgs.cs index c9b1f2a031c..735fecd8b22 100644 --- a/sdk/dotnet/StorageGateway/Inputs/GatewaySmbActiveDirectorySettingsArgs.cs +++ b/sdk/dotnet/StorageGateway/Inputs/GatewaySmbActiveDirectorySettingsArgs.cs @@ -12,18 +12,47 @@ namespace Pulumi.Aws.StorageGateway.Inputs public sealed class GatewaySmbActiveDirectorySettingsArgs : Pulumi.ResourceArgs { + [Input("activeDirectoryStatus")] + public Input? ActiveDirectoryStatus { get; set; } + + [Input("domainControllers")] + private InputList? _domainControllers; + + /// + /// List of IPv4 addresses, NetBIOS names, or host names of your domain server. + /// If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`. + /// + public InputList DomainControllers + { + get => _domainControllers ?? (_domainControllers = new InputList()); + set => _domainControllers = value; + } + /// /// The name of the domain that you want the gateway to join. /// [Input("domainName", required: true)] public Input DomainName { get; set; } = null!; + /// + /// The organizational unit (OU) is a container in an Active Directory that can hold users, groups, + /// computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain. + /// + [Input("organizationalUnit")] + public Input? OrganizationalUnit { get; set; } + /// /// The password of the user who has permission to add the gateway to the Active Directory domain. /// [Input("password", required: true)] public Input Password { get; set; } = null!; + /// + /// Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. + /// + [Input("timeoutInSeconds")] + public Input? TimeoutInSeconds { get; set; } + /// /// The user name of user who has permission to add the gateway to the Active Directory domain. /// diff --git a/sdk/dotnet/StorageGateway/Inputs/GatewaySmbActiveDirectorySettingsGetArgs.cs b/sdk/dotnet/StorageGateway/Inputs/GatewaySmbActiveDirectorySettingsGetArgs.cs index 36b8a2475b5..0b7b3ca2874 100644 --- a/sdk/dotnet/StorageGateway/Inputs/GatewaySmbActiveDirectorySettingsGetArgs.cs +++ b/sdk/dotnet/StorageGateway/Inputs/GatewaySmbActiveDirectorySettingsGetArgs.cs @@ -12,18 +12,47 @@ namespace Pulumi.Aws.StorageGateway.Inputs public sealed class GatewaySmbActiveDirectorySettingsGetArgs : Pulumi.ResourceArgs { + [Input("activeDirectoryStatus")] + public Input? ActiveDirectoryStatus { get; set; } + + [Input("domainControllers")] + private InputList? _domainControllers; + + /// + /// List of IPv4 addresses, NetBIOS names, or host names of your domain server. + /// If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`. + /// + public InputList DomainControllers + { + get => _domainControllers ?? (_domainControllers = new InputList()); + set => _domainControllers = value; + } + /// /// The name of the domain that you want the gateway to join. /// [Input("domainName", required: true)] public Input DomainName { get; set; } = null!; + /// + /// The organizational unit (OU) is a container in an Active Directory that can hold users, groups, + /// computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain. + /// + [Input("organizationalUnit")] + public Input? OrganizationalUnit { get; set; } + /// /// The password of the user who has permission to add the gateway to the Active Directory domain. /// [Input("password", required: true)] public Input Password { get; set; } = null!; + /// + /// Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. + /// + [Input("timeoutInSeconds")] + public Input? TimeoutInSeconds { get; set; } + /// /// The user name of user who has permission to add the gateway to the Active Directory domain. /// diff --git a/sdk/dotnet/StorageGateway/Outputs/GatewayGatewayNetworkInterface.cs b/sdk/dotnet/StorageGateway/Outputs/GatewayGatewayNetworkInterface.cs new file mode 100644 index 00000000000..ab3681cf519 --- /dev/null +++ b/sdk/dotnet/StorageGateway/Outputs/GatewayGatewayNetworkInterface.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.StorageGateway.Outputs +{ + + [OutputType] + public sealed class GatewayGatewayNetworkInterface + { + /// + /// The Internet Protocol version 4 (IPv4) address of the interface. + /// + public readonly string? Ipv4Address; + + [OutputConstructor] + private GatewayGatewayNetworkInterface(string? ipv4Address) + { + Ipv4Address = ipv4Address; + } + } +} diff --git a/sdk/dotnet/StorageGateway/Outputs/GatewaySmbActiveDirectorySettings.cs b/sdk/dotnet/StorageGateway/Outputs/GatewaySmbActiveDirectorySettings.cs index db0bdc34477..0c34ffa4882 100644 --- a/sdk/dotnet/StorageGateway/Outputs/GatewaySmbActiveDirectorySettings.cs +++ b/sdk/dotnet/StorageGateway/Outputs/GatewaySmbActiveDirectorySettings.cs @@ -13,29 +13,56 @@ namespace Pulumi.Aws.StorageGateway.Outputs [OutputType] public sealed class GatewaySmbActiveDirectorySettings { + public readonly string? ActiveDirectoryStatus; + /// + /// List of IPv4 addresses, NetBIOS names, or host names of your domain server. + /// If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`. + /// + public readonly ImmutableArray DomainControllers; /// /// The name of the domain that you want the gateway to join. /// public readonly string DomainName; /// + /// The organizational unit (OU) is a container in an Active Directory that can hold users, groups, + /// computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain. + /// + public readonly string? OrganizationalUnit; + /// /// The password of the user who has permission to add the gateway to the Active Directory domain. /// public readonly string Password; /// + /// Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. + /// + public readonly int? TimeoutInSeconds; + /// /// The user name of user who has permission to add the gateway to the Active Directory domain. /// public readonly string Username; [OutputConstructor] private GatewaySmbActiveDirectorySettings( + string? activeDirectoryStatus, + + ImmutableArray domainControllers, + string domainName, + string? organizationalUnit, + string password, + int? timeoutInSeconds, + string username) { + ActiveDirectoryStatus = activeDirectoryStatus; + DomainControllers = domainControllers; DomainName = domainName; + OrganizationalUnit = organizationalUnit; Password = password; + TimeoutInSeconds = timeoutInSeconds; Username = username; } } diff --git a/sdk/go/aws/codebuild/pulumiTypes.go b/sdk/go/aws/codebuild/pulumiTypes.go index 35fc4dcbaab..33255b79767 100644 --- a/sdk/go/aws/codebuild/pulumiTypes.go +++ b/sdk/go/aws/codebuild/pulumiTypes.go @@ -1496,7 +1496,7 @@ type ProjectSecondaryArtifact struct { Packaging *string `pulumi:"packaging"` // If `type` is set to `S3`, this is the path to the output artifact Path *string `pulumi:"path"` - // The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`. + // The build output artifact's type. The only valid value is `S3`. Type string `pulumi:"type"` } @@ -1528,7 +1528,7 @@ type ProjectSecondaryArtifactArgs struct { Packaging pulumi.StringPtrInput `pulumi:"packaging"` // If `type` is set to `S3`, this is the path to the output artifact Path pulumi.StringPtrInput `pulumi:"path"` - // The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`. + // The build output artifact's type. The only valid value is `S3`. Type pulumi.StringInput `pulumi:"type"` } @@ -1623,7 +1623,7 @@ func (o ProjectSecondaryArtifactOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v ProjectSecondaryArtifact) *string { return v.Path }).(pulumi.StringPtrOutput) } -// The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`. +// The build output artifact's type. The only valid value is `S3`. func (o ProjectSecondaryArtifactOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v ProjectSecondaryArtifact) string { return v.Type }).(pulumi.StringOutput) } diff --git a/sdk/go/aws/config/pulumiTypes.go b/sdk/go/aws/config/pulumiTypes.go index cd6b39bed1f..b501df807b5 100644 --- a/sdk/go/aws/config/pulumiTypes.go +++ b/sdk/go/aws/config/pulumiTypes.go @@ -150,6 +150,7 @@ type Endpoints struct { Dynamodb *string `pulumi:"dynamodb"` Ec2 *string `pulumi:"ec2"` Ecr *string `pulumi:"ecr"` + Ecrpublic *string `pulumi:"ecrpublic"` Ecs *string `pulumi:"ecs"` Efs *string `pulumi:"efs"` Eks *string `pulumi:"eks"` @@ -198,6 +199,7 @@ type Endpoints struct { Mediastore *string `pulumi:"mediastore"` Mediastoredata *string `pulumi:"mediastoredata"` Mq *string `pulumi:"mq"` + Mwaa *string `pulumi:"mwaa"` Neptune *string `pulumi:"neptune"` Networkfirewall *string `pulumi:"networkfirewall"` Networkmanager *string `pulumi:"networkmanager"` @@ -311,6 +313,7 @@ type EndpointsArgs struct { Dynamodb pulumi.StringPtrInput `pulumi:"dynamodb"` Ec2 pulumi.StringPtrInput `pulumi:"ec2"` Ecr pulumi.StringPtrInput `pulumi:"ecr"` + Ecrpublic pulumi.StringPtrInput `pulumi:"ecrpublic"` Ecs pulumi.StringPtrInput `pulumi:"ecs"` Efs pulumi.StringPtrInput `pulumi:"efs"` Eks pulumi.StringPtrInput `pulumi:"eks"` @@ -359,6 +362,7 @@ type EndpointsArgs struct { Mediastore pulumi.StringPtrInput `pulumi:"mediastore"` Mediastoredata pulumi.StringPtrInput `pulumi:"mediastoredata"` Mq pulumi.StringPtrInput `pulumi:"mq"` + Mwaa pulumi.StringPtrInput `pulumi:"mwaa"` Neptune pulumi.StringPtrInput `pulumi:"neptune"` Networkfirewall pulumi.StringPtrInput `pulumi:"networkfirewall"` Networkmanager pulumi.StringPtrInput `pulumi:"networkmanager"` @@ -655,6 +659,10 @@ func (o EndpointsOutput) Ecr() pulumi.StringPtrOutput { return o.ApplyT(func(v Endpoints) *string { return v.Ecr }).(pulumi.StringPtrOutput) } +func (o EndpointsOutput) Ecrpublic() pulumi.StringPtrOutput { + return o.ApplyT(func(v Endpoints) *string { return v.Ecrpublic }).(pulumi.StringPtrOutput) +} + func (o EndpointsOutput) Ecs() pulumi.StringPtrOutput { return o.ApplyT(func(v Endpoints) *string { return v.Ecs }).(pulumi.StringPtrOutput) } @@ -847,6 +855,10 @@ func (o EndpointsOutput) Mq() pulumi.StringPtrOutput { return o.ApplyT(func(v Endpoints) *string { return v.Mq }).(pulumi.StringPtrOutput) } +func (o EndpointsOutput) Mwaa() pulumi.StringPtrOutput { + return o.ApplyT(func(v Endpoints) *string { return v.Mwaa }).(pulumi.StringPtrOutput) +} + func (o EndpointsOutput) Neptune() pulumi.StringPtrOutput { return o.ApplyT(func(v Endpoints) *string { return v.Neptune }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/aws/ec2/vpnConnection.go b/sdk/go/aws/ec2/vpnConnection.go index fe8d29d7bbc..be3b842a500 100644 --- a/sdk/go/aws/ec2/vpnConnection.go +++ b/sdk/go/aws/ec2/vpnConnection.go @@ -123,7 +123,7 @@ type VpnConnection struct { StaticRoutesOnly pulumi.BoolOutput `pulumi:"staticRoutesOnly"` // Tags to apply to the connection. Tags pulumi.StringMapOutput `pulumi:"tags"` - // When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID. + // When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID. See also the [`ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html) for tagging the EC2 Transit Gateway VPN Attachment. TransitGatewayAttachmentId pulumi.StringOutput `pulumi:"transitGatewayAttachmentId"` // The ID of the EC2 Transit Gateway. TransitGatewayId pulumi.StringPtrOutput `pulumi:"transitGatewayId"` @@ -208,7 +208,7 @@ type vpnConnectionState struct { StaticRoutesOnly *bool `pulumi:"staticRoutesOnly"` // Tags to apply to the connection. Tags map[string]string `pulumi:"tags"` - // When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID. + // When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID. See also the [`ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html) for tagging the EC2 Transit Gateway VPN Attachment. TransitGatewayAttachmentId *string `pulumi:"transitGatewayAttachmentId"` // The ID of the EC2 Transit Gateway. TransitGatewayId *string `pulumi:"transitGatewayId"` @@ -259,7 +259,7 @@ type VpnConnectionState struct { StaticRoutesOnly pulumi.BoolPtrInput // Tags to apply to the connection. Tags pulumi.StringMapInput - // When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID. + // When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID. See also the [`ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html) for tagging the EC2 Transit Gateway VPN Attachment. TransitGatewayAttachmentId pulumi.StringPtrInput // The ID of the EC2 Transit Gateway. TransitGatewayId pulumi.StringPtrInput diff --git a/sdk/go/aws/ec2transitgateway/getVpnAttachment.go b/sdk/go/aws/ec2transitgateway/getVpnAttachment.go index 11ef8d015db..44422f11008 100644 --- a/sdk/go/aws/ec2transitgateway/getVpnAttachment.go +++ b/sdk/go/aws/ec2transitgateway/getVpnAttachment.go @@ -9,6 +9,8 @@ import ( // Get information on an EC2 Transit Gateway VPN Attachment. // +// > EC2 Transit Gateway VPN Attachments are implicitly created by VPN Connections referencing an EC2 Transit Gateway so there is no managed resource. For ease, the [`ec2.VpnConnection` resource](https://www.terraform.io/docs/providers/aws/r/vpn_connection.html) includes a `transitGatewayAttachmentId` attribute which can replace some usage of this data source. For tagging the attachment, see the [`ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html). +// // ## Example Usage // ### By Transit Gateway and VPN Connection Identifiers // diff --git a/sdk/go/aws/eks/getClusterAuth.go b/sdk/go/aws/eks/getClusterAuth.go index e399dc2b14e..2c57533ec1a 100644 --- a/sdk/go/aws/eks/getClusterAuth.go +++ b/sdk/go/aws/eks/getClusterAuth.go @@ -7,12 +7,6 @@ import ( "github.com/pulumi/pulumi/sdk/v2/go/pulumi" ) -// Get an authentication token to communicate with an EKS cluster. -// -// Uses IAM credentials from the AWS provider to generate a temporary token that is compatible with -// [AWS IAM Authenticator](https://github.com/kubernetes-sigs/aws-iam-authenticator) authentication. -// This can be used to authenticate to an EKS cluster or to a cluster that has the AWS IAM Authenticator -// server configured. func GetClusterAuth(ctx *pulumi.Context, args *GetClusterAuthArgs, opts ...pulumi.InvokeOption) (*GetClusterAuthResult, error) { var rv GetClusterAuthResult err := ctx.Invoke("aws:eks/getClusterAuth:getClusterAuth", args, &rv, opts...) diff --git a/sdk/go/aws/eks/nodeGroup.go b/sdk/go/aws/eks/nodeGroup.go index 4ae9c0c98a2..754eb6ff553 100644 --- a/sdk/go/aws/eks/nodeGroup.go +++ b/sdk/go/aws/eks/nodeGroup.go @@ -116,8 +116,8 @@ type NodeGroup struct { AmiType pulumi.StringOutput `pulumi:"amiType"` // Amazon Resource Name (ARN) of the EKS Node Group. Arn pulumi.StringOutput `pulumi:"arn"` - // Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. - CapacityType pulumi.StringPtrOutput `pulumi:"capacityType"` + // Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. + CapacityType pulumi.StringOutput `pulumi:"capacityType"` // Name of the EKS Cluster. ClusterName pulumi.StringOutput `pulumi:"clusterName"` // Disk size in GiB for worker nodes. Defaults to `20`. This provider will only perform drift detection if a configuration value is provided. @@ -197,7 +197,7 @@ type nodeGroupState struct { AmiType *string `pulumi:"amiType"` // Amazon Resource Name (ARN) of the EKS Node Group. Arn *string `pulumi:"arn"` - // Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. + // Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. CapacityType *string `pulumi:"capacityType"` // Name of the EKS Cluster. ClusterName *string `pulumi:"clusterName"` @@ -238,7 +238,7 @@ type NodeGroupState struct { AmiType pulumi.StringPtrInput // Amazon Resource Name (ARN) of the EKS Node Group. Arn pulumi.StringPtrInput - // Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. + // Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. CapacityType pulumi.StringPtrInput // Name of the EKS Cluster. ClusterName pulumi.StringPtrInput @@ -281,7 +281,7 @@ func (NodeGroupState) ElementType() reflect.Type { type nodeGroupArgs struct { // Type of Amazon Machine Image (AMI) associated with the EKS Node Group. Defaults to `AL2_x86_64`. Valid values: `AL2_x86_64`, `AL2_x86_64_GPU`, `AL2_ARM_64`. This provider will only perform drift detection if a configuration value is provided. AmiType *string `pulumi:"amiType"` - // Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. + // Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. CapacityType *string `pulumi:"capacityType"` // Name of the EKS Cluster. ClusterName string `pulumi:"clusterName"` @@ -317,7 +317,7 @@ type nodeGroupArgs struct { type NodeGroupArgs struct { // Type of Amazon Machine Image (AMI) associated with the EKS Node Group. Defaults to `AL2_x86_64`. Valid values: `AL2_x86_64`, `AL2_x86_64_GPU`, `AL2_ARM_64`. This provider will only perform drift detection if a configuration value is provided. AmiType pulumi.StringPtrInput - // Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. + // Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. CapacityType pulumi.StringPtrInput // Name of the EKS Cluster. ClusterName pulumi.StringInput diff --git a/sdk/go/aws/elasticache/cluster.go b/sdk/go/aws/elasticache/cluster.go index 6ab0b522223..b6e943cc73c 100644 --- a/sdk/go/aws/elasticache/cluster.go +++ b/sdk/go/aws/elasticache/cluster.go @@ -179,7 +179,7 @@ type Cluster struct { // retain automatic cache cluster snapshots before deleting them. For example, if you set // SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days // before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes SnapshotRetentionLimit pulumi.IntPtrOutput `pulumi:"snapshotRetentionLimit"` // The daily time range (in UTC) during which ElastiCache will // begin taking a daily snapshot of your cache cluster. Example: 05:00-09:00 @@ -289,7 +289,7 @@ type clusterState struct { // retain automatic cache cluster snapshots before deleting them. For example, if you set // SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days // before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes SnapshotRetentionLimit *int `pulumi:"snapshotRetentionLimit"` // The daily time range (in UTC) during which ElastiCache will // begin taking a daily snapshot of your cache cluster. Example: 05:00-09:00 @@ -371,7 +371,7 @@ type ClusterState struct { // retain automatic cache cluster snapshots before deleting them. For example, if you set // SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days // before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes SnapshotRetentionLimit pulumi.IntPtrInput // The daily time range (in UTC) during which ElastiCache will // begin taking a daily snapshot of your cache cluster. Example: 05:00-09:00 @@ -449,7 +449,7 @@ type clusterArgs struct { // retain automatic cache cluster snapshots before deleting them. For example, if you set // SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days // before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes SnapshotRetentionLimit *int `pulumi:"snapshotRetentionLimit"` // The daily time range (in UTC) during which ElastiCache will // begin taking a daily snapshot of your cache cluster. Example: 05:00-09:00 @@ -524,7 +524,7 @@ type ClusterArgs struct { // retain automatic cache cluster snapshots before deleting them. For example, if you set // SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days // before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes SnapshotRetentionLimit pulumi.IntPtrInput // The daily time range (in UTC) during which ElastiCache will // begin taking a daily snapshot of your cache cluster. Example: 05:00-09:00 diff --git a/sdk/go/aws/elasticache/replicationGroup.go b/sdk/go/aws/elasticache/replicationGroup.go index c2c77f03d03..7bf809a4289 100644 --- a/sdk/go/aws/elasticache/replicationGroup.go +++ b/sdk/go/aws/elasticache/replicationGroup.go @@ -211,7 +211,7 @@ type ReplicationGroup struct { // retain automatic cache cluster snapshots before deleting them. For example, if you set // SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days // before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes SnapshotRetentionLimit pulumi.IntPtrOutput `pulumi:"snapshotRetentionLimit"` // The daily time range (in UTC) during which ElastiCache will // begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example: `05:00-09:00` @@ -316,7 +316,7 @@ type replicationGroupState struct { // retain automatic cache cluster snapshots before deleting them. For example, if you set // SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days // before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes SnapshotRetentionLimit *int `pulumi:"snapshotRetentionLimit"` // The daily time range (in UTC) during which ElastiCache will // begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example: `05:00-09:00` @@ -390,7 +390,7 @@ type ReplicationGroupState struct { // retain automatic cache cluster snapshots before deleting them. For example, if you set // SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days // before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes SnapshotRetentionLimit pulumi.IntPtrInput // The daily time range (in UTC) during which ElastiCache will // begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example: `05:00-09:00` @@ -462,7 +462,7 @@ type replicationGroupArgs struct { // retain automatic cache cluster snapshots before deleting them. For example, if you set // SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days // before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes SnapshotRetentionLimit *int `pulumi:"snapshotRetentionLimit"` // The daily time range (in UTC) during which ElastiCache will // begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example: `05:00-09:00` @@ -531,7 +531,7 @@ type ReplicationGroupArgs struct { // retain automatic cache cluster snapshots before deleting them. For example, if you set // SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days // before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + // Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes SnapshotRetentionLimit pulumi.IntPtrInput // The daily time range (in UTC) during which ElastiCache will // begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example: `05:00-09:00` diff --git a/sdk/go/aws/lambda/eventSourceMapping.go b/sdk/go/aws/lambda/eventSourceMapping.go index 2434b4a57c4..71deffe9e83 100644 --- a/sdk/go/aws/lambda/eventSourceMapping.go +++ b/sdk/go/aws/lambda/eventSourceMapping.go @@ -117,7 +117,7 @@ type EventSourceMapping struct { LastModified pulumi.StringOutput `pulumi:"lastModified"` // The result of the last AWS Lambda invocation of your Lambda function. LastProcessingResult pulumi.StringOutput `pulumi:"lastProcessingResult"` - // The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + // The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. MaximumBatchingWindowInSeconds pulumi.IntPtrOutput `pulumi:"maximumBatchingWindowInSeconds"` MaximumRecordAgeInSeconds pulumi.IntOutput `pulumi:"maximumRecordAgeInSeconds"` MaximumRetryAttempts pulumi.IntOutput `pulumi:"maximumRetryAttempts"` @@ -190,7 +190,7 @@ type eventSourceMappingState struct { LastModified *string `pulumi:"lastModified"` // The result of the last AWS Lambda invocation of your Lambda function. LastProcessingResult *string `pulumi:"lastProcessingResult"` - // The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + // The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. MaximumBatchingWindowInSeconds *int `pulumi:"maximumBatchingWindowInSeconds"` MaximumRecordAgeInSeconds *int `pulumi:"maximumRecordAgeInSeconds"` MaximumRetryAttempts *int `pulumi:"maximumRetryAttempts"` @@ -229,7 +229,7 @@ type EventSourceMappingState struct { LastModified pulumi.StringPtrInput // The result of the last AWS Lambda invocation of your Lambda function. LastProcessingResult pulumi.StringPtrInput - // The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + // The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. MaximumBatchingWindowInSeconds pulumi.IntPtrInput MaximumRecordAgeInSeconds pulumi.IntPtrInput MaximumRetryAttempts pulumi.IntPtrInput @@ -266,7 +266,7 @@ type eventSourceMappingArgs struct { EventSourceArn string `pulumi:"eventSourceArn"` // The name or the ARN of the Lambda function that will be subscribing to events. FunctionName string `pulumi:"functionName"` - // The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + // The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. MaximumBatchingWindowInSeconds *int `pulumi:"maximumBatchingWindowInSeconds"` MaximumRecordAgeInSeconds *int `pulumi:"maximumRecordAgeInSeconds"` MaximumRetryAttempts *int `pulumi:"maximumRetryAttempts"` @@ -294,7 +294,7 @@ type EventSourceMappingArgs struct { EventSourceArn pulumi.StringInput // The name or the ARN of the Lambda function that will be subscribing to events. FunctionName pulumi.StringInput - // The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + // The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. MaximumBatchingWindowInSeconds pulumi.IntPtrInput MaximumRecordAgeInSeconds pulumi.IntPtrInput MaximumRetryAttempts pulumi.IntPtrInput diff --git a/sdk/go/aws/networkfirewall/pulumiTypes.go b/sdk/go/aws/networkfirewall/pulumiTypes.go index f50b85d0104..8a8d9f1a92b 100644 --- a/sdk/go/aws/networkfirewall/pulumiTypes.go +++ b/sdk/go/aws/networkfirewall/pulumiTypes.go @@ -2521,19 +2521,18 @@ func (o RuleGroupRuleGroupRulesSourceStatefulRuleArrayOutput) Index(i pulumi.Int } type RuleGroupRuleGroupRulesSourceStatefulRuleHeader struct { - // The destination IP address or address range to inspect for, in CIDR notation. If left empty, this matches with any destination address. - Destination *string `pulumi:"destination"` - // The destination port to inspect for. If left empty, this matches with any port. - DestinationPort *string `pulumi:"destinationPort"` + // The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`. + Destination string `pulumi:"destination"` + // The destination port to inspect for. To match with any address, specify `ANY`. + DestinationPort string `pulumi:"destinationPort"` // The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. Direction string `pulumi:"direction"` - // The protocol to inspect. If not specified, this matches with any protocol. - // Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. - Protocol *string `pulumi:"protocol"` - // The source IP address or address range for, in CIDR notation. If left empty, this matches with any source address. - Source *string `pulumi:"source"` - // The source port to inspect for. If left empty, this matches with any port. - SourcePort *string `pulumi:"sourcePort"` + // The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. + Protocol string `pulumi:"protocol"` + // The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`. + Source string `pulumi:"source"` + // The source port to inspect for. To match with any address, specify `ANY`. + SourcePort string `pulumi:"sourcePort"` } // RuleGroupRuleGroupRulesSourceStatefulRuleHeaderInput is an input type that accepts RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs and RuleGroupRuleGroupRulesSourceStatefulRuleHeaderOutput values. @@ -2548,19 +2547,18 @@ type RuleGroupRuleGroupRulesSourceStatefulRuleHeaderInput interface { } type RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs struct { - // The destination IP address or address range to inspect for, in CIDR notation. If left empty, this matches with any destination address. - Destination pulumi.StringPtrInput `pulumi:"destination"` - // The destination port to inspect for. If left empty, this matches with any port. - DestinationPort pulumi.StringPtrInput `pulumi:"destinationPort"` + // The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`. + Destination pulumi.StringInput `pulumi:"destination"` + // The destination port to inspect for. To match with any address, specify `ANY`. + DestinationPort pulumi.StringInput `pulumi:"destinationPort"` // The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. Direction pulumi.StringInput `pulumi:"direction"` - // The protocol to inspect. If not specified, this matches with any protocol. - // Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. - Protocol pulumi.StringPtrInput `pulumi:"protocol"` - // The source IP address or address range for, in CIDR notation. If left empty, this matches with any source address. - Source pulumi.StringPtrInput `pulumi:"source"` - // The source port to inspect for. If left empty, this matches with any port. - SourcePort pulumi.StringPtrInput `pulumi:"sourcePort"` + // The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. + Protocol pulumi.StringInput `pulumi:"protocol"` + // The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`. + Source pulumi.StringInput `pulumi:"source"` + // The source port to inspect for. To match with any address, specify `ANY`. + SourcePort pulumi.StringInput `pulumi:"sourcePort"` } func (RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs) ElementType() reflect.Type { @@ -2589,14 +2587,14 @@ func (o RuleGroupRuleGroupRulesSourceStatefulRuleHeaderOutput) ToRuleGroupRuleGr return o } -// The destination IP address or address range to inspect for, in CIDR notation. If left empty, this matches with any destination address. -func (o RuleGroupRuleGroupRulesSourceStatefulRuleHeaderOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatefulRuleHeader) *string { return v.Destination }).(pulumi.StringPtrOutput) +// The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`. +func (o RuleGroupRuleGroupRulesSourceStatefulRuleHeaderOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatefulRuleHeader) string { return v.Destination }).(pulumi.StringOutput) } -// The destination port to inspect for. If left empty, this matches with any port. -func (o RuleGroupRuleGroupRulesSourceStatefulRuleHeaderOutput) DestinationPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatefulRuleHeader) *string { return v.DestinationPort }).(pulumi.StringPtrOutput) +// The destination port to inspect for. To match with any address, specify `ANY`. +func (o RuleGroupRuleGroupRulesSourceStatefulRuleHeaderOutput) DestinationPort() pulumi.StringOutput { + return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatefulRuleHeader) string { return v.DestinationPort }).(pulumi.StringOutput) } // The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. @@ -2604,20 +2602,19 @@ func (o RuleGroupRuleGroupRulesSourceStatefulRuleHeaderOutput) Direction() pulum return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatefulRuleHeader) string { return v.Direction }).(pulumi.StringOutput) } -// The protocol to inspect. If not specified, this matches with any protocol. -// Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. -func (o RuleGroupRuleGroupRulesSourceStatefulRuleHeaderOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatefulRuleHeader) *string { return v.Protocol }).(pulumi.StringPtrOutput) +// The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. +func (o RuleGroupRuleGroupRulesSourceStatefulRuleHeaderOutput) Protocol() pulumi.StringOutput { + return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatefulRuleHeader) string { return v.Protocol }).(pulumi.StringOutput) } -// The source IP address or address range for, in CIDR notation. If left empty, this matches with any source address. -func (o RuleGroupRuleGroupRulesSourceStatefulRuleHeaderOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatefulRuleHeader) *string { return v.Source }).(pulumi.StringPtrOutput) +// The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`. +func (o RuleGroupRuleGroupRulesSourceStatefulRuleHeaderOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatefulRuleHeader) string { return v.Source }).(pulumi.StringOutput) } -// The source port to inspect for. If left empty, this matches with any port. -func (o RuleGroupRuleGroupRulesSourceStatefulRuleHeaderOutput) SourcePort() pulumi.StringPtrOutput { - return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatefulRuleHeader) *string { return v.SourcePort }).(pulumi.StringPtrOutput) +// The source port to inspect for. To match with any address, specify `ANY`. +func (o RuleGroupRuleGroupRulesSourceStatefulRuleHeaderOutput) SourcePort() pulumi.StringOutput { + return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatefulRuleHeader) string { return v.SourcePort }).(pulumi.StringOutput) } type RuleGroupRuleGroupRulesSourceStatefulRuleRuleOption struct { @@ -3382,7 +3379,7 @@ type RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRul DestinationPorts []RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationPort `pulumi:"destinationPorts"` // Set of configuration blocks describing the destination IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address. See Destination below for details. Destinations []RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination `pulumi:"destinations"` - // Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). + // Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. Protocols []int `pulumi:"protocols"` // Set of configuration blocks describing the source ports to inspect for. If not specified, this matches with any source port. See Source Port below for details. SourcePorts []RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourcePort `pulumi:"sourcePorts"` @@ -3408,7 +3405,7 @@ type RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRul DestinationPorts RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationPortArrayInput `pulumi:"destinationPorts"` // Set of configuration blocks describing the destination IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address. See Destination below for details. Destinations RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArrayInput `pulumi:"destinations"` - // Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). + // Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. Protocols pulumi.IntArrayInput `pulumi:"protocols"` // Set of configuration blocks describing the source ports to inspect for. If not specified, this matches with any source port. See Source Port below for details. SourcePorts RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourcePortArrayInput `pulumi:"sourcePorts"` @@ -3458,7 +3455,7 @@ func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule }).(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArrayOutput) } -// Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). +// Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesOutput) Protocols() pulumi.IntArrayOutput { return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributes) []int { return v.Protocols @@ -3488,7 +3485,7 @@ func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule type RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination struct { // An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. - AddressDefinition *string `pulumi:"addressDefinition"` + AddressDefinition string `pulumi:"addressDefinition"` } // RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationInput is an input type that accepts RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArgs and RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationOutput values. @@ -3504,7 +3501,7 @@ type RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRul type RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArgs struct { // An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. - AddressDefinition pulumi.StringPtrInput `pulumi:"addressDefinition"` + AddressDefinition pulumi.StringInput `pulumi:"addressDefinition"` } func (RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArgs) ElementType() reflect.Type { @@ -3559,10 +3556,10 @@ func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule } // An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. -func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationOutput) AddressDefinition() pulumi.StringPtrOutput { - return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination) *string { +func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationOutput) AddressDefinition() pulumi.StringOutput { + return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination) string { return v.AddressDefinition - }).(pulumi.StringPtrOutput) + }).(pulumi.StringOutput) } type RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArrayOutput struct{ *pulumi.OutputState } @@ -3697,7 +3694,7 @@ func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule type RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSource struct { // An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. - AddressDefinition *string `pulumi:"addressDefinition"` + AddressDefinition string `pulumi:"addressDefinition"` } // RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceInput is an input type that accepts RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceArgs and RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceOutput values. @@ -3713,7 +3710,7 @@ type RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRul type RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceArgs struct { // An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. - AddressDefinition pulumi.StringPtrInput `pulumi:"addressDefinition"` + AddressDefinition pulumi.StringInput `pulumi:"addressDefinition"` } func (RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceArgs) ElementType() reflect.Type { @@ -3768,10 +3765,10 @@ func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule } // An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. -func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceOutput) AddressDefinition() pulumi.StringPtrOutput { - return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSource) *string { +func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceOutput) AddressDefinition() pulumi.StringOutput { + return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSource) string { return v.AddressDefinition - }).(pulumi.StringPtrOutput) + }).(pulumi.StringOutput) } type RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceArrayOutput struct{ *pulumi.OutputState } @@ -3905,10 +3902,10 @@ func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule } type RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlag struct { - // Set of flags to look for in a packet. AWS Network Firewall checks only the part of the packet specified in `masks`. + // Set of flags to look for in a packet. This setting can only specify values that are also specified in `masks`. // Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. Flags []string `pulumi:"flags"` - // Set of values describing the part of the packet that you want to check for the flags. To inspect the entire packet, leave this empty. + // Set of flags to consider in the inspection. To inspect all flags, leave this empty. // Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. Masks []string `pulumi:"masks"` } @@ -3925,10 +3922,10 @@ type RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRul } type RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagArgs struct { - // Set of flags to look for in a packet. AWS Network Firewall checks only the part of the packet specified in `masks`. + // Set of flags to look for in a packet. This setting can only specify values that are also specified in `masks`. // Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. Flags pulumi.StringArrayInput `pulumi:"flags"` - // Set of values describing the part of the packet that you want to check for the flags. To inspect the entire packet, leave this empty. + // Set of flags to consider in the inspection. To inspect all flags, leave this empty. // Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. Masks pulumi.StringArrayInput `pulumi:"masks"` } @@ -3984,7 +3981,7 @@ func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule return o } -// Set of flags to look for in a packet. AWS Network Firewall checks only the part of the packet specified in `masks`. +// Set of flags to look for in a packet. This setting can only specify values that are also specified in `masks`. // Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagOutput) Flags() pulumi.StringArrayOutput { return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlag) []string { @@ -3992,7 +3989,7 @@ func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule }).(pulumi.StringArrayOutput) } -// Set of values describing the part of the packet that you want to check for the flags. To inspect the entire packet, leave this empty. +// Set of flags to consider in the inspection. To inspect all flags, leave this empty. // Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. func (o RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagOutput) Masks() pulumi.StringArrayOutput { return o.ApplyT(func(v RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlag) []string { diff --git a/sdk/go/aws/pulumiTypes.go b/sdk/go/aws/pulumiTypes.go index 3b2516444a6..9aeb26169bc 100644 --- a/sdk/go/aws/pulumiTypes.go +++ b/sdk/go/aws/pulumiTypes.go @@ -290,6 +290,7 @@ type ProviderEndpoint struct { Dynamodb *string `pulumi:"dynamodb"` Ec2 *string `pulumi:"ec2"` Ecr *string `pulumi:"ecr"` + Ecrpublic *string `pulumi:"ecrpublic"` Ecs *string `pulumi:"ecs"` Efs *string `pulumi:"efs"` Eks *string `pulumi:"eks"` @@ -338,6 +339,7 @@ type ProviderEndpoint struct { Mediastore *string `pulumi:"mediastore"` Mediastoredata *string `pulumi:"mediastoredata"` Mq *string `pulumi:"mq"` + Mwaa *string `pulumi:"mwaa"` Neptune *string `pulumi:"neptune"` Networkfirewall *string `pulumi:"networkfirewall"` Networkmanager *string `pulumi:"networkmanager"` @@ -451,6 +453,7 @@ type ProviderEndpointArgs struct { Dynamodb pulumi.StringPtrInput `pulumi:"dynamodb"` Ec2 pulumi.StringPtrInput `pulumi:"ec2"` Ecr pulumi.StringPtrInput `pulumi:"ecr"` + Ecrpublic pulumi.StringPtrInput `pulumi:"ecrpublic"` Ecs pulumi.StringPtrInput `pulumi:"ecs"` Efs pulumi.StringPtrInput `pulumi:"efs"` Eks pulumi.StringPtrInput `pulumi:"eks"` @@ -499,6 +502,7 @@ type ProviderEndpointArgs struct { Mediastore pulumi.StringPtrInput `pulumi:"mediastore"` Mediastoredata pulumi.StringPtrInput `pulumi:"mediastoredata"` Mq pulumi.StringPtrInput `pulumi:"mq"` + Mwaa pulumi.StringPtrInput `pulumi:"mwaa"` Neptune pulumi.StringPtrInput `pulumi:"neptune"` Networkfirewall pulumi.StringPtrInput `pulumi:"networkfirewall"` Networkmanager pulumi.StringPtrInput `pulumi:"networkmanager"` @@ -795,6 +799,10 @@ func (o ProviderEndpointOutput) Ecr() pulumi.StringPtrOutput { return o.ApplyT(func(v ProviderEndpoint) *string { return v.Ecr }).(pulumi.StringPtrOutput) } +func (o ProviderEndpointOutput) Ecrpublic() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProviderEndpoint) *string { return v.Ecrpublic }).(pulumi.StringPtrOutput) +} + func (o ProviderEndpointOutput) Ecs() pulumi.StringPtrOutput { return o.ApplyT(func(v ProviderEndpoint) *string { return v.Ecs }).(pulumi.StringPtrOutput) } @@ -987,6 +995,10 @@ func (o ProviderEndpointOutput) Mq() pulumi.StringPtrOutput { return o.ApplyT(func(v ProviderEndpoint) *string { return v.Mq }).(pulumi.StringPtrOutput) } +func (o ProviderEndpointOutput) Mwaa() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProviderEndpoint) *string { return v.Mwaa }).(pulumi.StringPtrOutput) +} + func (o ProviderEndpointOutput) Neptune() pulumi.StringPtrOutput { return o.ApplyT(func(v ProviderEndpoint) *string { return v.Neptune }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/aws/storagegateway/gateway.go b/sdk/go/aws/storagegateway/gateway.go index 224ad0a5c75..4f41455767b 100644 --- a/sdk/go/aws/storagegateway/gateway.go +++ b/sdk/go/aws/storagegateway/gateway.go @@ -127,19 +127,7 @@ import ( // $ pulumi import aws:storagegateway/gateway:Gateway example arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678 // ``` // -// Certain resource arguments, like `gateway_ip_address` do not have a Storage Gateway API method for reading the information after creation, either omit the argument from the Terraform configuration or use [`ignore_changes`](/docs/configuration/resources.html#ignore_changes) to hide the difference, e.g. hcl resource "aws_storagegateway_gateway" "example" { -// -// # ... other configuration ... -// -// gateway_ip_address = aws_instance.sgw.private_ip -// -// # There is no Storage Gateway API for reading gateway_ip_address -// -// lifecycle { -// -// ignore_changes = ["gateway_ip_address"] -// -// } } +// Certain resource arguments, like `gateway_ip_address` do not have a Storage Gateway API method for reading the information after creation, either omit the argument from the provider configuration or use `ignoreChanges` to hide the difference. type Gateway struct { pulumi.CustomResourceState @@ -153,19 +141,27 @@ type Gateway struct { AverageUploadRateLimitInBitsPerSec pulumi.IntPtrOutput `pulumi:"averageUploadRateLimitInBitsPerSec"` // The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway. CloudwatchLogGroupArn pulumi.StringPtrOutput `pulumi:"cloudwatchLogGroupArn"` + // The ID of the Amazon EC2 instance that was used to launch the gateway. + Ec2InstanceId pulumi.StringOutput `pulumi:"ec2InstanceId"` + // The type of endpoint for your gateway. + EndpointType pulumi.StringOutput `pulumi:"endpointType"` // Identifier of the gateway. GatewayId pulumi.StringOutput `pulumi:"gatewayId"` // Gateway IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html). GatewayIpAddress pulumi.StringOutput `pulumi:"gatewayIpAddress"` // Name of the gateway. GatewayName pulumi.StringOutput `pulumi:"gatewayName"` + // An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface. + GatewayNetworkInterfaces GatewayGatewayNetworkInterfaceArrayOutput `pulumi:"gatewayNetworkInterfaces"` // Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. GatewayTimezone pulumi.StringOutput `pulumi:"gatewayTimezone"` // Type of the gateway. The default value is `STORED`. Valid values: `CACHED`, `FILE_S3`, `STORED`, `VTL`. GatewayType pulumi.StringPtrOutput `pulumi:"gatewayType"` // VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running Pulumi. More info on what ports are required by your VPC Endpoint Security group in [Activating a Gateway in a Virtual Private Cloud](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html). GatewayVpcEndpoint pulumi.StringPtrOutput `pulumi:"gatewayVpcEndpoint"` - // Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + // The type of hypervisor environment used by the host. + HostEnvironment pulumi.StringOutput `pulumi:"hostEnvironment"` + // Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. MediumChangerType pulumi.StringPtrOutput `pulumi:"mediumChangerType"` // Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for `FILE_S3` gateway type. Must be set before creating `ActiveDirectory` authentication SMB file shares. More details below. SmbActiveDirectorySettings GatewaySmbActiveDirectorySettingsPtrOutput `pulumi:"smbActiveDirectorySettings"` @@ -224,19 +220,27 @@ type gatewayState struct { AverageUploadRateLimitInBitsPerSec *int `pulumi:"averageUploadRateLimitInBitsPerSec"` // The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway. CloudwatchLogGroupArn *string `pulumi:"cloudwatchLogGroupArn"` + // The ID of the Amazon EC2 instance that was used to launch the gateway. + Ec2InstanceId *string `pulumi:"ec2InstanceId"` + // The type of endpoint for your gateway. + EndpointType *string `pulumi:"endpointType"` // Identifier of the gateway. GatewayId *string `pulumi:"gatewayId"` // Gateway IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html). GatewayIpAddress *string `pulumi:"gatewayIpAddress"` // Name of the gateway. GatewayName *string `pulumi:"gatewayName"` + // An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface. + GatewayNetworkInterfaces []GatewayGatewayNetworkInterface `pulumi:"gatewayNetworkInterfaces"` // Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. GatewayTimezone *string `pulumi:"gatewayTimezone"` // Type of the gateway. The default value is `STORED`. Valid values: `CACHED`, `FILE_S3`, `STORED`, `VTL`. GatewayType *string `pulumi:"gatewayType"` // VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running Pulumi. More info on what ports are required by your VPC Endpoint Security group in [Activating a Gateway in a Virtual Private Cloud](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html). GatewayVpcEndpoint *string `pulumi:"gatewayVpcEndpoint"` - // Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + // The type of hypervisor environment used by the host. + HostEnvironment *string `pulumi:"hostEnvironment"` + // Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. MediumChangerType *string `pulumi:"mediumChangerType"` // Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for `FILE_S3` gateway type. Must be set before creating `ActiveDirectory` authentication SMB file shares. More details below. SmbActiveDirectorySettings *GatewaySmbActiveDirectorySettings `pulumi:"smbActiveDirectorySettings"` @@ -261,19 +265,27 @@ type GatewayState struct { AverageUploadRateLimitInBitsPerSec pulumi.IntPtrInput // The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway. CloudwatchLogGroupArn pulumi.StringPtrInput + // The ID of the Amazon EC2 instance that was used to launch the gateway. + Ec2InstanceId pulumi.StringPtrInput + // The type of endpoint for your gateway. + EndpointType pulumi.StringPtrInput // Identifier of the gateway. GatewayId pulumi.StringPtrInput // Gateway IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html). GatewayIpAddress pulumi.StringPtrInput // Name of the gateway. GatewayName pulumi.StringPtrInput + // An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface. + GatewayNetworkInterfaces GatewayGatewayNetworkInterfaceArrayInput // Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. GatewayTimezone pulumi.StringPtrInput // Type of the gateway. The default value is `STORED`. Valid values: `CACHED`, `FILE_S3`, `STORED`, `VTL`. GatewayType pulumi.StringPtrInput // VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running Pulumi. More info on what ports are required by your VPC Endpoint Security group in [Activating a Gateway in a Virtual Private Cloud](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html). GatewayVpcEndpoint pulumi.StringPtrInput - // Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + // The type of hypervisor environment used by the host. + HostEnvironment pulumi.StringPtrInput + // Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. MediumChangerType pulumi.StringPtrInput // Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for `FILE_S3` gateway type. Must be set before creating `ActiveDirectory` authentication SMB file shares. More details below. SmbActiveDirectorySettings GatewaySmbActiveDirectorySettingsPtrInput @@ -310,7 +322,7 @@ type gatewayArgs struct { GatewayType *string `pulumi:"gatewayType"` // VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running Pulumi. More info on what ports are required by your VPC Endpoint Security group in [Activating a Gateway in a Virtual Private Cloud](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html). GatewayVpcEndpoint *string `pulumi:"gatewayVpcEndpoint"` - // Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + // Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. MediumChangerType *string `pulumi:"mediumChangerType"` // Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for `FILE_S3` gateway type. Must be set before creating `ActiveDirectory` authentication SMB file shares. More details below. SmbActiveDirectorySettings *GatewaySmbActiveDirectorySettings `pulumi:"smbActiveDirectorySettings"` @@ -344,7 +356,7 @@ type GatewayArgs struct { GatewayType pulumi.StringPtrInput // VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running Pulumi. More info on what ports are required by your VPC Endpoint Security group in [Activating a Gateway in a Virtual Private Cloud](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html). GatewayVpcEndpoint pulumi.StringPtrInput - // Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + // Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. MediumChangerType pulumi.StringPtrInput // Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for `FILE_S3` gateway type. Must be set before creating `ActiveDirectory` authentication SMB file shares. More details below. SmbActiveDirectorySettings GatewaySmbActiveDirectorySettingsPtrInput diff --git a/sdk/go/aws/storagegateway/pulumiTypes.go b/sdk/go/aws/storagegateway/pulumiTypes.go index 05f0bd4f2af..ed145d8b730 100644 --- a/sdk/go/aws/storagegateway/pulumiTypes.go +++ b/sdk/go/aws/storagegateway/pulumiTypes.go @@ -10,11 +10,117 @@ import ( "github.com/pulumi/pulumi/sdk/v2/go/pulumi" ) +type GatewayGatewayNetworkInterface struct { + // The Internet Protocol version 4 (IPv4) address of the interface. + Ipv4Address *string `pulumi:"ipv4Address"` +} + +// GatewayGatewayNetworkInterfaceInput is an input type that accepts GatewayGatewayNetworkInterfaceArgs and GatewayGatewayNetworkInterfaceOutput values. +// You can construct a concrete instance of `GatewayGatewayNetworkInterfaceInput` via: +// +// GatewayGatewayNetworkInterfaceArgs{...} +type GatewayGatewayNetworkInterfaceInput interface { + pulumi.Input + + ToGatewayGatewayNetworkInterfaceOutput() GatewayGatewayNetworkInterfaceOutput + ToGatewayGatewayNetworkInterfaceOutputWithContext(context.Context) GatewayGatewayNetworkInterfaceOutput +} + +type GatewayGatewayNetworkInterfaceArgs struct { + // The Internet Protocol version 4 (IPv4) address of the interface. + Ipv4Address pulumi.StringPtrInput `pulumi:"ipv4Address"` +} + +func (GatewayGatewayNetworkInterfaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayGatewayNetworkInterface)(nil)).Elem() +} + +func (i GatewayGatewayNetworkInterfaceArgs) ToGatewayGatewayNetworkInterfaceOutput() GatewayGatewayNetworkInterfaceOutput { + return i.ToGatewayGatewayNetworkInterfaceOutputWithContext(context.Background()) +} + +func (i GatewayGatewayNetworkInterfaceArgs) ToGatewayGatewayNetworkInterfaceOutputWithContext(ctx context.Context) GatewayGatewayNetworkInterfaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayGatewayNetworkInterfaceOutput) +} + +// GatewayGatewayNetworkInterfaceArrayInput is an input type that accepts GatewayGatewayNetworkInterfaceArray and GatewayGatewayNetworkInterfaceArrayOutput values. +// You can construct a concrete instance of `GatewayGatewayNetworkInterfaceArrayInput` via: +// +// GatewayGatewayNetworkInterfaceArray{ GatewayGatewayNetworkInterfaceArgs{...} } +type GatewayGatewayNetworkInterfaceArrayInput interface { + pulumi.Input + + ToGatewayGatewayNetworkInterfaceArrayOutput() GatewayGatewayNetworkInterfaceArrayOutput + ToGatewayGatewayNetworkInterfaceArrayOutputWithContext(context.Context) GatewayGatewayNetworkInterfaceArrayOutput +} + +type GatewayGatewayNetworkInterfaceArray []GatewayGatewayNetworkInterfaceInput + +func (GatewayGatewayNetworkInterfaceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GatewayGatewayNetworkInterface)(nil)).Elem() +} + +func (i GatewayGatewayNetworkInterfaceArray) ToGatewayGatewayNetworkInterfaceArrayOutput() GatewayGatewayNetworkInterfaceArrayOutput { + return i.ToGatewayGatewayNetworkInterfaceArrayOutputWithContext(context.Background()) +} + +func (i GatewayGatewayNetworkInterfaceArray) ToGatewayGatewayNetworkInterfaceArrayOutputWithContext(ctx context.Context) GatewayGatewayNetworkInterfaceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GatewayGatewayNetworkInterfaceArrayOutput) +} + +type GatewayGatewayNetworkInterfaceOutput struct{ *pulumi.OutputState } + +func (GatewayGatewayNetworkInterfaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GatewayGatewayNetworkInterface)(nil)).Elem() +} + +func (o GatewayGatewayNetworkInterfaceOutput) ToGatewayGatewayNetworkInterfaceOutput() GatewayGatewayNetworkInterfaceOutput { + return o +} + +func (o GatewayGatewayNetworkInterfaceOutput) ToGatewayGatewayNetworkInterfaceOutputWithContext(ctx context.Context) GatewayGatewayNetworkInterfaceOutput { + return o +} + +// The Internet Protocol version 4 (IPv4) address of the interface. +func (o GatewayGatewayNetworkInterfaceOutput) Ipv4Address() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewayGatewayNetworkInterface) *string { return v.Ipv4Address }).(pulumi.StringPtrOutput) +} + +type GatewayGatewayNetworkInterfaceArrayOutput struct{ *pulumi.OutputState } + +func (GatewayGatewayNetworkInterfaceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GatewayGatewayNetworkInterface)(nil)).Elem() +} + +func (o GatewayGatewayNetworkInterfaceArrayOutput) ToGatewayGatewayNetworkInterfaceArrayOutput() GatewayGatewayNetworkInterfaceArrayOutput { + return o +} + +func (o GatewayGatewayNetworkInterfaceArrayOutput) ToGatewayGatewayNetworkInterfaceArrayOutputWithContext(ctx context.Context) GatewayGatewayNetworkInterfaceArrayOutput { + return o +} + +func (o GatewayGatewayNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) GatewayGatewayNetworkInterfaceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayGatewayNetworkInterface { + return vs[0].([]GatewayGatewayNetworkInterface)[vs[1].(int)] + }).(GatewayGatewayNetworkInterfaceOutput) +} + type GatewaySmbActiveDirectorySettings struct { + ActiveDirectoryStatus *string `pulumi:"activeDirectoryStatus"` + // List of IPv4 addresses, NetBIOS names, or host names of your domain server. + // If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`. + DomainControllers []string `pulumi:"domainControllers"` // The name of the domain that you want the gateway to join. DomainName string `pulumi:"domainName"` + // The organizational unit (OU) is a container in an Active Directory that can hold users, groups, + // computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain. + OrganizationalUnit *string `pulumi:"organizationalUnit"` // The password of the user who has permission to add the gateway to the Active Directory domain. Password string `pulumi:"password"` + // Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. + TimeoutInSeconds *int `pulumi:"timeoutInSeconds"` // The user name of user who has permission to add the gateway to the Active Directory domain. Username string `pulumi:"username"` } @@ -31,10 +137,19 @@ type GatewaySmbActiveDirectorySettingsInput interface { } type GatewaySmbActiveDirectorySettingsArgs struct { + ActiveDirectoryStatus pulumi.StringPtrInput `pulumi:"activeDirectoryStatus"` + // List of IPv4 addresses, NetBIOS names, or host names of your domain server. + // If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`. + DomainControllers pulumi.StringArrayInput `pulumi:"domainControllers"` // The name of the domain that you want the gateway to join. DomainName pulumi.StringInput `pulumi:"domainName"` + // The organizational unit (OU) is a container in an Active Directory that can hold users, groups, + // computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain. + OrganizationalUnit pulumi.StringPtrInput `pulumi:"organizationalUnit"` // The password of the user who has permission to add the gateway to the Active Directory domain. Password pulumi.StringInput `pulumi:"password"` + // Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. + TimeoutInSeconds pulumi.IntPtrInput `pulumi:"timeoutInSeconds"` // The user name of user who has permission to add the gateway to the Active Directory domain. Username pulumi.StringInput `pulumi:"username"` } @@ -115,17 +230,37 @@ func (o GatewaySmbActiveDirectorySettingsOutput) ToGatewaySmbActiveDirectorySett return &v }).(GatewaySmbActiveDirectorySettingsPtrOutput) } +func (o GatewaySmbActiveDirectorySettingsOutput) ActiveDirectoryStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewaySmbActiveDirectorySettings) *string { return v.ActiveDirectoryStatus }).(pulumi.StringPtrOutput) +} + +// List of IPv4 addresses, NetBIOS names, or host names of your domain server. +// If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`. +func (o GatewaySmbActiveDirectorySettingsOutput) DomainControllers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GatewaySmbActiveDirectorySettings) []string { return v.DomainControllers }).(pulumi.StringArrayOutput) +} // The name of the domain that you want the gateway to join. func (o GatewaySmbActiveDirectorySettingsOutput) DomainName() pulumi.StringOutput { return o.ApplyT(func(v GatewaySmbActiveDirectorySettings) string { return v.DomainName }).(pulumi.StringOutput) } +// The organizational unit (OU) is a container in an Active Directory that can hold users, groups, +// computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain. +func (o GatewaySmbActiveDirectorySettingsOutput) OrganizationalUnit() pulumi.StringPtrOutput { + return o.ApplyT(func(v GatewaySmbActiveDirectorySettings) *string { return v.OrganizationalUnit }).(pulumi.StringPtrOutput) +} + // The password of the user who has permission to add the gateway to the Active Directory domain. func (o GatewaySmbActiveDirectorySettingsOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v GatewaySmbActiveDirectorySettings) string { return v.Password }).(pulumi.StringOutput) } +// Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. +func (o GatewaySmbActiveDirectorySettingsOutput) TimeoutInSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GatewaySmbActiveDirectorySettings) *int { return v.TimeoutInSeconds }).(pulumi.IntPtrOutput) +} + // The user name of user who has permission to add the gateway to the Active Directory domain. func (o GatewaySmbActiveDirectorySettingsOutput) Username() pulumi.StringOutput { return o.ApplyT(func(v GatewaySmbActiveDirectorySettings) string { return v.Username }).(pulumi.StringOutput) @@ -149,6 +284,26 @@ func (o GatewaySmbActiveDirectorySettingsPtrOutput) Elem() GatewaySmbActiveDirec return o.ApplyT(func(v *GatewaySmbActiveDirectorySettings) GatewaySmbActiveDirectorySettings { return *v }).(GatewaySmbActiveDirectorySettingsOutput) } +func (o GatewaySmbActiveDirectorySettingsPtrOutput) ActiveDirectoryStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GatewaySmbActiveDirectorySettings) *string { + if v == nil { + return nil + } + return v.ActiveDirectoryStatus + }).(pulumi.StringPtrOutput) +} + +// List of IPv4 addresses, NetBIOS names, or host names of your domain server. +// If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`. +func (o GatewaySmbActiveDirectorySettingsPtrOutput) DomainControllers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GatewaySmbActiveDirectorySettings) []string { + if v == nil { + return nil + } + return v.DomainControllers + }).(pulumi.StringArrayOutput) +} + // The name of the domain that you want the gateway to join. func (o GatewaySmbActiveDirectorySettingsPtrOutput) DomainName() pulumi.StringPtrOutput { return o.ApplyT(func(v *GatewaySmbActiveDirectorySettings) *string { @@ -159,6 +314,17 @@ func (o GatewaySmbActiveDirectorySettingsPtrOutput) DomainName() pulumi.StringPt }).(pulumi.StringPtrOutput) } +// The organizational unit (OU) is a container in an Active Directory that can hold users, groups, +// computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain. +func (o GatewaySmbActiveDirectorySettingsPtrOutput) OrganizationalUnit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GatewaySmbActiveDirectorySettings) *string { + if v == nil { + return nil + } + return v.OrganizationalUnit + }).(pulumi.StringPtrOutput) +} + // The password of the user who has permission to add the gateway to the Active Directory domain. func (o GatewaySmbActiveDirectorySettingsPtrOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v *GatewaySmbActiveDirectorySettings) *string { @@ -169,6 +335,16 @@ func (o GatewaySmbActiveDirectorySettingsPtrOutput) Password() pulumi.StringPtrO }).(pulumi.StringPtrOutput) } +// Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. +func (o GatewaySmbActiveDirectorySettingsPtrOutput) TimeoutInSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GatewaySmbActiveDirectorySettings) *int { + if v == nil { + return nil + } + return v.TimeoutInSeconds + }).(pulumi.IntPtrOutput) +} + // The user name of user who has permission to add the gateway to the Active Directory domain. func (o GatewaySmbActiveDirectorySettingsPtrOutput) Username() pulumi.StringPtrOutput { return o.ApplyT(func(v *GatewaySmbActiveDirectorySettings) *string { @@ -646,6 +822,8 @@ func (o SmbFileShareCacheAttributesPtrOutput) CacheStaleTimeoutInSeconds() pulum } func init() { + pulumi.RegisterOutputType(GatewayGatewayNetworkInterfaceOutput{}) + pulumi.RegisterOutputType(GatewayGatewayNetworkInterfaceArrayOutput{}) pulumi.RegisterOutputType(GatewaySmbActiveDirectorySettingsOutput{}) pulumi.RegisterOutputType(GatewaySmbActiveDirectorySettingsPtrOutput{}) pulumi.RegisterOutputType(NfsFileShareCacheAttributesOutput{}) diff --git a/sdk/nodejs/ec2/vpnConnection.ts b/sdk/nodejs/ec2/vpnConnection.ts index 4fc3a9c2a66..8c4f56ee68b 100644 --- a/sdk/nodejs/ec2/vpnConnection.ts +++ b/sdk/nodejs/ec2/vpnConnection.ts @@ -111,7 +111,7 @@ export class VpnConnection extends pulumi.CustomResource { */ public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** - * When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID. + * When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID. See also the [`aws.ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html) for tagging the EC2 Transit Gateway VPN Attachment. */ public /*out*/ readonly transitGatewayAttachmentId!: pulumi.Output; /** @@ -292,7 +292,7 @@ export interface VpnConnectionState { */ readonly tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID. + * When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID. See also the [`aws.ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html) for tagging the EC2 Transit Gateway VPN Attachment. */ readonly transitGatewayAttachmentId?: pulumi.Input; /** diff --git a/sdk/nodejs/ec2transitgateway/getVpnAttachment.ts b/sdk/nodejs/ec2transitgateway/getVpnAttachment.ts index 26b1bb339a8..02619c23e7d 100644 --- a/sdk/nodejs/ec2transitgateway/getVpnAttachment.ts +++ b/sdk/nodejs/ec2transitgateway/getVpnAttachment.ts @@ -8,6 +8,8 @@ import * as utilities from "../utilities"; /** * Get information on an EC2 Transit Gateway VPN Attachment. * + * > EC2 Transit Gateway VPN Attachments are implicitly created by VPN Connections referencing an EC2 Transit Gateway so there is no managed resource. For ease, the [`aws.ec2.VpnConnection` resource](https://www.terraform.io/docs/providers/aws/r/vpn_connection.html) includes a `transitGatewayAttachmentId` attribute which can replace some usage of this data source. For tagging the attachment, see the [`aws.ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html). + * * ## Example Usage * ### By Transit Gateway and VPN Connection Identifiers * diff --git a/sdk/nodejs/eks/getClusterAuth.ts b/sdk/nodejs/eks/getClusterAuth.ts index 690798d057b..c05f964b79b 100644 --- a/sdk/nodejs/eks/getClusterAuth.ts +++ b/sdk/nodejs/eks/getClusterAuth.ts @@ -5,14 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../types"; import * as utilities from "../utilities"; -/** - * Get an authentication token to communicate with an EKS cluster. - * - * Uses IAM credentials from the AWS provider to generate a temporary token that is compatible with - * [AWS IAM Authenticator](https://github.com/kubernetes-sigs/aws-iam-authenticator) authentication. - * This can be used to authenticate to an EKS cluster or to a cluster that has the AWS IAM Authenticator - * server configured. - */ export function getClusterAuth(args: GetClusterAuthArgs, opts?: pulumi.InvokeOptions): Promise { if (!opts) { opts = {} diff --git a/sdk/nodejs/eks/nodeGroup.ts b/sdk/nodejs/eks/nodeGroup.ts index 70ae4fbebda..a5dfaa5ef37 100644 --- a/sdk/nodejs/eks/nodeGroup.ts +++ b/sdk/nodejs/eks/nodeGroup.ts @@ -119,9 +119,9 @@ export class NodeGroup extends pulumi.CustomResource { */ public /*out*/ readonly arn!: pulumi.Output; /** - * Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. + * Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. */ - public readonly capacityType!: pulumi.Output; + public readonly capacityType!: pulumi.Output; /** * Name of the EKS Cluster. */ @@ -276,7 +276,7 @@ export interface NodeGroupState { */ readonly arn?: pulumi.Input; /** - * Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. + * Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. */ readonly capacityType?: pulumi.Input; /** @@ -354,7 +354,7 @@ export interface NodeGroupArgs { */ readonly amiType?: pulumi.Input; /** - * Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. + * Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. */ readonly capacityType?: pulumi.Input; /** diff --git a/sdk/nodejs/elasticache/cluster.ts b/sdk/nodejs/elasticache/cluster.ts index e023f425bcf..fb7c49cdf8f 100644 --- a/sdk/nodejs/elasticache/cluster.ts +++ b/sdk/nodejs/elasticache/cluster.ts @@ -206,7 +206,7 @@ export class Cluster extends pulumi.CustomResource { * retain automatic cache cluster snapshots before deleting them. For example, if you set * SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days * before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - * Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + * Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes */ public readonly snapshotRetentionLimit!: pulumi.Output; /** @@ -418,7 +418,7 @@ export interface ClusterState { * retain automatic cache cluster snapshots before deleting them. For example, if you set * SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days * before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - * Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + * Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes */ readonly snapshotRetentionLimit?: pulumi.Input; /** @@ -539,7 +539,7 @@ export interface ClusterArgs { * retain automatic cache cluster snapshots before deleting them. For example, if you set * SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days * before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - * Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + * Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes */ readonly snapshotRetentionLimit?: pulumi.Input; /** diff --git a/sdk/nodejs/elasticache/replicationGroup.ts b/sdk/nodejs/elasticache/replicationGroup.ts index 026bdb8c460..e573780367b 100644 --- a/sdk/nodejs/elasticache/replicationGroup.ts +++ b/sdk/nodejs/elasticache/replicationGroup.ts @@ -241,7 +241,7 @@ export class ReplicationGroup extends pulumi.CustomResource { * retain automatic cache cluster snapshots before deleting them. For example, if you set * SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days * before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - * Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + * Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes */ public readonly snapshotRetentionLimit!: pulumi.Output; /** @@ -466,7 +466,7 @@ export interface ReplicationGroupState { * retain automatic cache cluster snapshots before deleting them. For example, if you set * SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days * before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - * Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + * Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes */ readonly snapshotRetentionLimit?: pulumi.Input; /** @@ -591,7 +591,7 @@ export interface ReplicationGroupArgs { * retain automatic cache cluster snapshots before deleting them. For example, if you set * SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days * before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - * Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro or cache.t2.* cache nodes + * Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes */ readonly snapshotRetentionLimit?: pulumi.Input; /** diff --git a/sdk/nodejs/lambda/eventSourceMapping.ts b/sdk/nodejs/lambda/eventSourceMapping.ts index 7d44e6a0150..e44826aed6c 100644 --- a/sdk/nodejs/lambda/eventSourceMapping.ts +++ b/sdk/nodejs/lambda/eventSourceMapping.ts @@ -117,7 +117,7 @@ export class EventSourceMapping extends pulumi.CustomResource { */ public /*out*/ readonly lastProcessingResult!: pulumi.Output; /** - * The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + * The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. */ public readonly maximumBatchingWindowInSeconds!: pulumi.Output; public readonly maximumRecordAgeInSeconds!: pulumi.Output; @@ -252,7 +252,7 @@ export interface EventSourceMappingState { */ readonly lastProcessingResult?: pulumi.Input; /** - * The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + * The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. */ readonly maximumBatchingWindowInSeconds?: pulumi.Input; readonly maximumRecordAgeInSeconds?: pulumi.Input; @@ -308,7 +308,7 @@ export interface EventSourceMappingArgs { */ readonly functionName: pulumi.Input; /** - * The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + * The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. */ readonly maximumBatchingWindowInSeconds?: pulumi.Input; readonly maximumRecordAgeInSeconds?: pulumi.Input; diff --git a/sdk/nodejs/storagegateway/gateway.ts b/sdk/nodejs/storagegateway/gateway.ts index 37bd123dbb6..81837da8ed6 100644 --- a/sdk/nodejs/storagegateway/gateway.ts +++ b/sdk/nodejs/storagegateway/gateway.ts @@ -74,19 +74,7 @@ import * as utilities from "../utilities"; * $ pulumi import aws:storagegateway/gateway:Gateway example arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678 * ``` * - * Certain resource arguments, like `gateway_ip_address` do not have a Storage Gateway API method for reading the information after creation, either omit the argument from the Terraform configuration or use [`ignore_changes`](/docs/configuration/resources.html#ignore_changes) to hide the difference, e.g. hcl resource "aws_storagegateway_gateway" "example" { - * - * # ... other configuration ... - * - * gateway_ip_address = aws_instance.sgw.private_ip - * - * # There is no Storage Gateway API for reading gateway_ip_address - * - * lifecycle { - * - * ignore_changes = ["gateway_ip_address"] - * - * } } + * Certain resource arguments, like `gateway_ip_address` do not have a Storage Gateway API method for reading the information after creation, either omit the argument from the provider configuration or use `ignoreChanges` to hide the difference. */ export class Gateway extends pulumi.CustomResource { /** @@ -136,6 +124,14 @@ export class Gateway extends pulumi.CustomResource { * The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway. */ public readonly cloudwatchLogGroupArn!: pulumi.Output; + /** + * The ID of the Amazon EC2 instance that was used to launch the gateway. + */ + public /*out*/ readonly ec2InstanceId!: pulumi.Output; + /** + * The type of endpoint for your gateway. + */ + public /*out*/ readonly endpointType!: pulumi.Output; /** * Identifier of the gateway. */ @@ -148,6 +144,10 @@ export class Gateway extends pulumi.CustomResource { * Name of the gateway. */ public readonly gatewayName!: pulumi.Output; + /** + * An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface. + */ + public /*out*/ readonly gatewayNetworkInterfaces!: pulumi.Output; /** * Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. */ @@ -161,7 +161,11 @@ export class Gateway extends pulumi.CustomResource { */ public readonly gatewayVpcEndpoint!: pulumi.Output; /** - * Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + * The type of hypervisor environment used by the host. + */ + public /*out*/ readonly hostEnvironment!: pulumi.Output; + /** + * Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. */ public readonly mediumChangerType!: pulumi.Output; /** @@ -202,12 +206,16 @@ export class Gateway extends pulumi.CustomResource { inputs["averageDownloadRateLimitInBitsPerSec"] = state ? state.averageDownloadRateLimitInBitsPerSec : undefined; inputs["averageUploadRateLimitInBitsPerSec"] = state ? state.averageUploadRateLimitInBitsPerSec : undefined; inputs["cloudwatchLogGroupArn"] = state ? state.cloudwatchLogGroupArn : undefined; + inputs["ec2InstanceId"] = state ? state.ec2InstanceId : undefined; + inputs["endpointType"] = state ? state.endpointType : undefined; inputs["gatewayId"] = state ? state.gatewayId : undefined; inputs["gatewayIpAddress"] = state ? state.gatewayIpAddress : undefined; inputs["gatewayName"] = state ? state.gatewayName : undefined; + inputs["gatewayNetworkInterfaces"] = state ? state.gatewayNetworkInterfaces : undefined; inputs["gatewayTimezone"] = state ? state.gatewayTimezone : undefined; inputs["gatewayType"] = state ? state.gatewayType : undefined; inputs["gatewayVpcEndpoint"] = state ? state.gatewayVpcEndpoint : undefined; + inputs["hostEnvironment"] = state ? state.hostEnvironment : undefined; inputs["mediumChangerType"] = state ? state.mediumChangerType : undefined; inputs["smbActiveDirectorySettings"] = state ? state.smbActiveDirectorySettings : undefined; inputs["smbGuestPassword"] = state ? state.smbGuestPassword : undefined; @@ -238,7 +246,11 @@ export class Gateway extends pulumi.CustomResource { inputs["tags"] = args ? args.tags : undefined; inputs["tapeDriveType"] = args ? args.tapeDriveType : undefined; inputs["arn"] = undefined /*out*/; + inputs["ec2InstanceId"] = undefined /*out*/; + inputs["endpointType"] = undefined /*out*/; inputs["gatewayId"] = undefined /*out*/; + inputs["gatewayNetworkInterfaces"] = undefined /*out*/; + inputs["hostEnvironment"] = undefined /*out*/; } if (!opts) { opts = {} @@ -275,6 +287,14 @@ export interface GatewayState { * The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway. */ readonly cloudwatchLogGroupArn?: pulumi.Input; + /** + * The ID of the Amazon EC2 instance that was used to launch the gateway. + */ + readonly ec2InstanceId?: pulumi.Input; + /** + * The type of endpoint for your gateway. + */ + readonly endpointType?: pulumi.Input; /** * Identifier of the gateway. */ @@ -287,6 +307,10 @@ export interface GatewayState { * Name of the gateway. */ readonly gatewayName?: pulumi.Input; + /** + * An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface. + */ + readonly gatewayNetworkInterfaces?: pulumi.Input[]>; /** * Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. */ @@ -300,7 +324,11 @@ export interface GatewayState { */ readonly gatewayVpcEndpoint?: pulumi.Input; /** - * Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + * The type of hypervisor environment used by the host. + */ + readonly hostEnvironment?: pulumi.Input; + /** + * Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. */ readonly mediumChangerType?: pulumi.Input; /** @@ -366,7 +394,7 @@ export interface GatewayArgs { */ readonly gatewayVpcEndpoint?: pulumi.Input; /** - * Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + * Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. */ readonly mediumChangerType?: pulumi.Input; /** diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 646af305b4f..602578aff56 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -139,6 +139,7 @@ export interface ProviderEndpoint { dynamodb?: pulumi.Input; ec2?: pulumi.Input; ecr?: pulumi.Input; + ecrpublic?: pulumi.Input; ecs?: pulumi.Input; efs?: pulumi.Input; eks?: pulumi.Input; @@ -187,6 +188,7 @@ export interface ProviderEndpoint { mediastore?: pulumi.Input; mediastoredata?: pulumi.Input; mq?: pulumi.Input; + mwaa?: pulumi.Input; neptune?: pulumi.Input; networkfirewall?: pulumi.Input; networkmanager?: pulumi.Input; @@ -5298,7 +5300,7 @@ export namespace codebuild { */ path?: pulumi.Input; /** - * The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`. + * The build output artifact's type. The only valid value is `S3`. */ type: pulumi.Input; } @@ -16370,30 +16372,29 @@ export namespace networkfirewall { export interface RuleGroupRuleGroupRulesSourceStatefulRuleHeader { /** - * The destination IP address or address range to inspect for, in CIDR notation. If left empty, this matches with any destination address. + * The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`. */ - destination?: pulumi.Input; + destination: pulumi.Input; /** - * The destination port to inspect for. If left empty, this matches with any port. + * The destination port to inspect for. To match with any address, specify `ANY`. */ - destinationPort?: pulumi.Input; + destinationPort: pulumi.Input; /** * The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. */ direction: pulumi.Input; /** - * The protocol to inspect. If not specified, this matches with any protocol. - * Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. + * The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. */ - protocol?: pulumi.Input; + protocol: pulumi.Input; /** - * The source IP address or address range for, in CIDR notation. If left empty, this matches with any source address. + * The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`. */ - source?: pulumi.Input; + source: pulumi.Input; /** - * The source port to inspect for. If left empty, this matches with any port. + * The source port to inspect for. To match with any address, specify `ANY`. */ - sourcePort?: pulumi.Input; + sourcePort: pulumi.Input; } export interface RuleGroupRuleGroupRulesSourceStatefulRuleRuleOption { @@ -16483,7 +16484,7 @@ export namespace networkfirewall { */ destinations?: pulumi.Input[]>; /** - * Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). + * Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. */ protocols?: pulumi.Input[]>; /** @@ -16504,7 +16505,7 @@ export namespace networkfirewall { /** * An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. */ - addressDefinition?: pulumi.Input; + addressDefinition: pulumi.Input; } export interface RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationPort { @@ -16522,7 +16523,7 @@ export namespace networkfirewall { /** * An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. */ - addressDefinition?: pulumi.Input; + addressDefinition: pulumi.Input; } export interface RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourcePort { @@ -16538,12 +16539,12 @@ export namespace networkfirewall { export interface RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlag { /** - * Set of flags to look for in a packet. AWS Network Firewall checks only the part of the packet specified in `masks`. + * Set of flags to look for in a packet. This setting can only specify values that are also specified in `masks`. * Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. */ flags: pulumi.Input[]>; /** - * Set of values describing the part of the packet that you want to check for the flags. To inspect the entire packet, leave this empty. + * Set of flags to consider in the inspection. To inspect all flags, leave this empty. * Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. */ masks?: pulumi.Input[]>; @@ -18872,15 +18873,37 @@ export namespace ssm { } export namespace storagegateway { + export interface GatewayGatewayNetworkInterface { + /** + * The Internet Protocol version 4 (IPv4) address of the interface. + */ + ipv4Address?: pulumi.Input; + } + export interface GatewaySmbActiveDirectorySettings { + activeDirectoryStatus?: pulumi.Input; + /** + * List of IPv4 addresses, NetBIOS names, or host names of your domain server. + * If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`. + */ + domainControllers?: pulumi.Input[]>; /** * The name of the domain that you want the gateway to join. */ domainName: pulumi.Input; + /** + * The organizational unit (OU) is a container in an Active Directory that can hold users, groups, + * computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain. + */ + organizationalUnit?: pulumi.Input; /** * The password of the user who has permission to add the gateway to the Active Directory domain. */ password: pulumi.Input; + /** + * Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. + */ + timeoutInSeconds?: pulumi.Input; /** * The user name of user who has permission to add the gateway to the Active Directory domain. */ diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 9bb6e3bbda3..7f14f9fb88e 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -151,6 +151,7 @@ export interface ProviderEndpoint { dynamodb?: string; ec2?: string; ecr?: string; + ecrpublic?: string; ecs?: string; efs?: string; eks?: string; @@ -199,6 +200,7 @@ export interface ProviderEndpoint { mediastore?: string; mediastoredata?: string; mq?: string; + mwaa?: string; neptune?: string; networkfirewall?: string; networkmanager?: string; @@ -5495,7 +5497,7 @@ export namespace codebuild { */ path?: string; /** - * The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`. + * The build output artifact's type. The only valid value is `S3`. */ type: string; } @@ -6528,6 +6530,7 @@ export namespace config { dynamodb?: string; ec2?: string; ecr?: string; + ecrpublic?: string; ecs?: string; efs?: string; eks?: string; @@ -6576,6 +6579,7 @@ export namespace config { mediastore?: string; mediastoredata?: string; mq?: string; + mwaa?: string; neptune?: string; networkfirewall?: string; networkmanager?: string; @@ -17992,30 +17996,29 @@ export namespace networkfirewall { export interface RuleGroupRuleGroupRulesSourceStatefulRuleHeader { /** - * The destination IP address or address range to inspect for, in CIDR notation. If left empty, this matches with any destination address. + * The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`. */ - destination?: string; + destination: string; /** - * The destination port to inspect for. If left empty, this matches with any port. + * The destination port to inspect for. To match with any address, specify `ANY`. */ - destinationPort?: string; + destinationPort: string; /** * The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. */ direction: string; /** - * The protocol to inspect. If not specified, this matches with any protocol. - * Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. + * The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. */ - protocol?: string; + protocol: string; /** - * The source IP address or address range for, in CIDR notation. If left empty, this matches with any source address. + * The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`. */ - source?: string; + source: string; /** - * The source port to inspect for. If left empty, this matches with any port. + * The source port to inspect for. To match with any address, specify `ANY`. */ - sourcePort?: string; + sourcePort: string; } export interface RuleGroupRuleGroupRulesSourceStatefulRuleRuleOption { @@ -18105,7 +18108,7 @@ export namespace networkfirewall { */ destinations?: outputs.networkfirewall.RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination[]; /** - * Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). + * Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. */ protocols?: number[]; /** @@ -18126,7 +18129,7 @@ export namespace networkfirewall { /** * An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. */ - addressDefinition?: string; + addressDefinition: string; } export interface RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationPort { @@ -18144,7 +18147,7 @@ export namespace networkfirewall { /** * An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. */ - addressDefinition?: string; + addressDefinition: string; } export interface RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourcePort { @@ -18160,12 +18163,12 @@ export namespace networkfirewall { export interface RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlag { /** - * Set of flags to look for in a packet. AWS Network Firewall checks only the part of the packet specified in `masks`. + * Set of flags to look for in a packet. This setting can only specify values that are also specified in `masks`. * Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. */ flags: string[]; /** - * Set of values describing the part of the packet that you want to check for the flags. To inspect the entire packet, leave this empty. + * Set of flags to consider in the inspection. To inspect all flags, leave this empty. * Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. */ masks?: string[]; @@ -20626,15 +20629,37 @@ export namespace ssm { } export namespace storagegateway { + export interface GatewayGatewayNetworkInterface { + /** + * The Internet Protocol version 4 (IPv4) address of the interface. + */ + ipv4Address: string; + } + export interface GatewaySmbActiveDirectorySettings { + activeDirectoryStatus: string; + /** + * List of IPv4 addresses, NetBIOS names, or host names of your domain server. + * If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`. + */ + domainControllers?: string[]; /** * The name of the domain that you want the gateway to join. */ domainName: string; + /** + * The organizational unit (OU) is a container in an Active Directory that can hold users, groups, + * computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain. + */ + organizationalUnit?: string; /** * The password of the user who has permission to add the gateway to the Active Directory domain. */ password: string; + /** + * Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. + */ + timeoutInSeconds?: number; /** * The user name of user who has permission to add the gateway to the Active Directory domain. */ diff --git a/sdk/python/pulumi_aws/_inputs.py b/sdk/python/pulumi_aws/_inputs.py index a098badfa4b..07066e6a8f7 100644 --- a/sdk/python/pulumi_aws/_inputs.py +++ b/sdk/python/pulumi_aws/_inputs.py @@ -175,6 +175,7 @@ def __init__(__self__, *, dynamodb: Optional[pulumi.Input[str]] = None, ec2: Optional[pulumi.Input[str]] = None, ecr: Optional[pulumi.Input[str]] = None, + ecrpublic: Optional[pulumi.Input[str]] = None, ecs: Optional[pulumi.Input[str]] = None, efs: Optional[pulumi.Input[str]] = None, eks: Optional[pulumi.Input[str]] = None, @@ -223,6 +224,7 @@ def __init__(__self__, *, mediastore: Optional[pulumi.Input[str]] = None, mediastoredata: Optional[pulumi.Input[str]] = None, mq: Optional[pulumi.Input[str]] = None, + mwaa: Optional[pulumi.Input[str]] = None, neptune: Optional[pulumi.Input[str]] = None, networkfirewall: Optional[pulumi.Input[str]] = None, networkmanager: Optional[pulumi.Input[str]] = None, @@ -370,6 +372,8 @@ def __init__(__self__, *, pulumi.set(__self__, "ec2", ec2) if ecr is not None: pulumi.set(__self__, "ecr", ecr) + if ecrpublic is not None: + pulumi.set(__self__, "ecrpublic", ecrpublic) if ecs is not None: pulumi.set(__self__, "ecs", ecs) if efs is not None: @@ -466,6 +470,8 @@ def __init__(__self__, *, pulumi.set(__self__, "mediastoredata", mediastoredata) if mq is not None: pulumi.set(__self__, "mq", mq) + if mwaa is not None: + pulumi.set(__self__, "mwaa", mwaa) if neptune is not None: pulumi.set(__self__, "neptune", neptune) if networkfirewall is not None: @@ -1001,6 +1007,15 @@ def ecr(self) -> Optional[pulumi.Input[str]]: def ecr(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ecr", value) + @property + @pulumi.getter + def ecrpublic(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ecrpublic") + + @ecrpublic.setter + def ecrpublic(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ecrpublic", value) + @property @pulumi.getter def ecs(self) -> Optional[pulumi.Input[str]]: @@ -1433,6 +1448,15 @@ def mq(self) -> Optional[pulumi.Input[str]]: def mq(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "mq", value) + @property + @pulumi.getter + def mwaa(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mwaa") + + @mwaa.setter + def mwaa(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mwaa", value) + @property @pulumi.getter def neptune(self) -> Optional[pulumi.Input[str]]: diff --git a/sdk/python/pulumi_aws/_tables.py b/sdk/python/pulumi_aws/_tables.py index 5fbe66d640e..8548c0e3c99 100644 --- a/sdk/python/pulumi_aws/_tables.py +++ b/sdk/python/pulumi_aws/_tables.py @@ -759,6 +759,7 @@ "gateway_ip_address": "gatewayIpAddress", "gateway_load_balancer_arns": "gatewayLoadBalancerArns", "gateway_name": "gatewayName", + "gateway_network_interfaces": "gatewayNetworkInterfaces", "gateway_timezone": "gatewayTimezone", "gateway_type": "gatewayType", "gateway_vpc_endpoint": "gatewayVpcEndpoint", @@ -806,6 +807,7 @@ "home_directory_mappings": "homeDirectoryMappings", "home_directory_type": "homeDirectoryType", "home_region": "homeRegion", + "host_environment": "hostEnvironment", "host_id": "hostId", "host_instance_type": "hostInstanceType", "host_key": "hostKey", @@ -2761,6 +2763,7 @@ "gatewayIpAddress": "gateway_ip_address", "gatewayLoadBalancerArns": "gateway_load_balancer_arns", "gatewayName": "gateway_name", + "gatewayNetworkInterfaces": "gateway_network_interfaces", "gatewayTimezone": "gateway_timezone", "gatewayType": "gateway_type", "gatewayVpcEndpoint": "gateway_vpc_endpoint", @@ -2808,6 +2811,7 @@ "homeDirectoryMappings": "home_directory_mappings", "homeDirectoryType": "home_directory_type", "homeRegion": "home_region", + "hostEnvironment": "host_environment", "hostId": "host_id", "hostInstanceType": "host_instance_type", "hostKey": "host_key", diff --git a/sdk/python/pulumi_aws/codebuild/_inputs.py b/sdk/python/pulumi_aws/codebuild/_inputs.py index 3ebfe774600..cccfe48ebb3 100644 --- a/sdk/python/pulumi_aws/codebuild/_inputs.py +++ b/sdk/python/pulumi_aws/codebuild/_inputs.py @@ -621,7 +621,7 @@ def __init__(__self__, *, path: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] artifact_identifier: The artifact identifier. Must be the same specified inside AWS CodeBuild buildspec. - :param pulumi.Input[str] type: The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`. + :param pulumi.Input[str] type: The build output artifact's type. The only valid value is `S3`. :param pulumi.Input[bool] encryption_disabled: If set to true, output artifacts will not be encrypted. If `type` is set to `NO_ARTIFACTS` then this value will be ignored. Defaults to `false`. :param pulumi.Input[str] location: Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS` then this value will be ignored. If `type` is set to `S3`, this is the name of the output bucket. If `path` is not also specified, then `location` can also specify the path of the output artifact in the output bucket. :param pulumi.Input[str] name: The name of the project. If `type` is set to `S3`, this is the name of the output artifact object @@ -663,7 +663,7 @@ def artifact_identifier(self, value: pulumi.Input[str]): @pulumi.getter def type(self) -> pulumi.Input[str]: """ - The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`. + The build output artifact's type. The only valid value is `S3`. """ return pulumi.get(self, "type") diff --git a/sdk/python/pulumi_aws/codebuild/outputs.py b/sdk/python/pulumi_aws/codebuild/outputs.py index a609aaeb423..e0aacfe5e7a 100644 --- a/sdk/python/pulumi_aws/codebuild/outputs.py +++ b/sdk/python/pulumi_aws/codebuild/outputs.py @@ -514,7 +514,7 @@ def __init__(__self__, *, path: Optional[str] = None): """ :param str artifact_identifier: The artifact identifier. Must be the same specified inside AWS CodeBuild buildspec. - :param str type: The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`. + :param str type: The build output artifact's type. The only valid value is `S3`. :param bool encryption_disabled: If set to true, output artifacts will not be encrypted. If `type` is set to `NO_ARTIFACTS` then this value will be ignored. Defaults to `false`. :param str location: Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS` then this value will be ignored. If `type` is set to `S3`, this is the name of the output bucket. If `path` is not also specified, then `location` can also specify the path of the output artifact in the output bucket. :param str name: The name of the project. If `type` is set to `S3`, this is the name of the output artifact object @@ -552,7 +552,7 @@ def artifact_identifier(self) -> str: @pulumi.getter def type(self) -> str: """ - The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`. + The build output artifact's type. The only valid value is `S3`. """ return pulumi.get(self, "type") diff --git a/sdk/python/pulumi_aws/config/outputs.py b/sdk/python/pulumi_aws/config/outputs.py index 83c18c5c7e7..b203dc56870 100644 --- a/sdk/python/pulumi_aws/config/outputs.py +++ b/sdk/python/pulumi_aws/config/outputs.py @@ -137,6 +137,7 @@ def __init__(__self__, *, dynamodb: Optional[str] = None, ec2: Optional[str] = None, ecr: Optional[str] = None, + ecrpublic: Optional[str] = None, ecs: Optional[str] = None, efs: Optional[str] = None, eks: Optional[str] = None, @@ -185,6 +186,7 @@ def __init__(__self__, *, mediastore: Optional[str] = None, mediastoredata: Optional[str] = None, mq: Optional[str] = None, + mwaa: Optional[str] = None, neptune: Optional[str] = None, networkfirewall: Optional[str] = None, networkmanager: Optional[str] = None, @@ -332,6 +334,8 @@ def __init__(__self__, *, pulumi.set(__self__, "ec2", ec2) if ecr is not None: pulumi.set(__self__, "ecr", ecr) + if ecrpublic is not None: + pulumi.set(__self__, "ecrpublic", ecrpublic) if ecs is not None: pulumi.set(__self__, "ecs", ecs) if efs is not None: @@ -428,6 +432,8 @@ def __init__(__self__, *, pulumi.set(__self__, "mediastoredata", mediastoredata) if mq is not None: pulumi.set(__self__, "mq", mq) + if mwaa is not None: + pulumi.set(__self__, "mwaa", mwaa) if neptune is not None: pulumi.set(__self__, "neptune", neptune) if networkfirewall is not None: @@ -771,6 +777,11 @@ def ec2(self) -> Optional[str]: def ecr(self) -> Optional[str]: return pulumi.get(self, "ecr") + @property + @pulumi.getter + def ecrpublic(self) -> Optional[str]: + return pulumi.get(self, "ecrpublic") + @property @pulumi.getter def ecs(self) -> Optional[str]: @@ -1011,6 +1022,11 @@ def mediastoredata(self) -> Optional[str]: def mq(self) -> Optional[str]: return pulumi.get(self, "mq") + @property + @pulumi.getter + def mwaa(self) -> Optional[str]: + return pulumi.get(self, "mwaa") + @property @pulumi.getter def neptune(self) -> Optional[str]: diff --git a/sdk/python/pulumi_aws/ec2/vpn_connection.py b/sdk/python/pulumi_aws/ec2/vpn_connection.py index 9388e8e9915..7d24dad2395 100644 --- a/sdk/python/pulumi_aws/ec2/vpn_connection.py +++ b/sdk/python/pulumi_aws/ec2/vpn_connection.py @@ -188,7 +188,7 @@ def get(resource_name: str, :param pulumi.Input[str] customer_gateway_id: The ID of the customer gateway. :param pulumi.Input[bool] static_routes_only: Whether the VPN connection uses static routes exclusively. Static routes must be used for devices that don't support BGP. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags to apply to the connection. - :param pulumi.Input[str] transit_gateway_attachment_id: When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID. + :param pulumi.Input[str] transit_gateway_attachment_id: When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID. See also the [`ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html) for tagging the EC2 Transit Gateway VPN Attachment. :param pulumi.Input[str] transit_gateway_id: The ID of the EC2 Transit Gateway. :param pulumi.Input[str] tunnel1_address: The public IP address of the first VPN tunnel. :param pulumi.Input[str] tunnel1_bgp_asn: The bgp asn number of the first VPN tunnel. @@ -287,7 +287,7 @@ def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: @pulumi.getter(name="transitGatewayAttachmentId") def transit_gateway_attachment_id(self) -> pulumi.Output[str]: """ - When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID. + When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID. See also the [`ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html) for tagging the EC2 Transit Gateway VPN Attachment. """ return pulumi.get(self, "transit_gateway_attachment_id") diff --git a/sdk/python/pulumi_aws/ec2transitgateway/get_vpn_attachment.py b/sdk/python/pulumi_aws/ec2transitgateway/get_vpn_attachment.py index ea73063456d..16492cd1f55 100644 --- a/sdk/python/pulumi_aws/ec2transitgateway/get_vpn_attachment.py +++ b/sdk/python/pulumi_aws/ec2transitgateway/get_vpn_attachment.py @@ -91,6 +91,8 @@ def get_vpn_attachment(filters: Optional[Sequence[pulumi.InputType['GetVpnAttach """ Get information on an EC2 Transit Gateway VPN Attachment. + > EC2 Transit Gateway VPN Attachments are implicitly created by VPN Connections referencing an EC2 Transit Gateway so there is no managed resource. For ease, the [`ec2.VpnConnection` resource](https://www.terraform.io/docs/providers/aws/r/vpn_connection.html) includes a `transit_gateway_attachment_id` attribute which can replace some usage of this data source. For tagging the attachment, see the [`ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html). + ## Example Usage ### By Transit Gateway and VPN Connection Identifiers diff --git a/sdk/python/pulumi_aws/eks/get_cluster_auth.py b/sdk/python/pulumi_aws/eks/get_cluster_auth.py index de68fb07718..4d28b918f93 100644 --- a/sdk/python/pulumi_aws/eks/get_cluster_auth.py +++ b/sdk/python/pulumi_aws/eks/get_cluster_auth.py @@ -66,13 +66,7 @@ def __await__(self): def get_cluster_auth(name: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClusterAuthResult: """ - Get an authentication token to communicate with an EKS cluster. - - Uses IAM credentials from the AWS provider to generate a temporary token that is compatible with - [AWS IAM Authenticator](https://github.com/kubernetes-sigs/aws-iam-authenticator) authentication. - This can be used to authenticate to an EKS cluster or to a cluster that has the AWS IAM Authenticator - server configured. - + Use this data source to access information about an existing resource. :param str name: The name of the cluster """ diff --git a/sdk/python/pulumi_aws/eks/node_group.py b/sdk/python/pulumi_aws/eks/node_group.py index ffdf375eea7..0dfbec30137 100644 --- a/sdk/python/pulumi_aws/eks/node_group.py +++ b/sdk/python/pulumi_aws/eks/node_group.py @@ -112,7 +112,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] ami_type: Type of Amazon Machine Image (AMI) associated with the EKS Node Group. Defaults to `AL2_x86_64`. Valid values: `AL2_x86_64`, `AL2_x86_64_GPU`, `AL2_ARM_64`. This provider will only perform drift detection if a configuration value is provided. - :param pulumi.Input[str] capacity_type: Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. + :param pulumi.Input[str] capacity_type: Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. :param pulumi.Input[str] cluster_name: Name of the EKS Cluster. :param pulumi.Input[int] disk_size: Disk size in GiB for worker nodes. Defaults to `20`. This provider will only perform drift detection if a configuration value is provided. :param pulumi.Input[bool] force_update_version: Force version update if existing pods are unable to be drained due to a pod disruption budget issue. @@ -210,7 +210,7 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] ami_type: Type of Amazon Machine Image (AMI) associated with the EKS Node Group. Defaults to `AL2_x86_64`. Valid values: `AL2_x86_64`, `AL2_x86_64_GPU`, `AL2_ARM_64`. This provider will only perform drift detection if a configuration value is provided. :param pulumi.Input[str] arn: Amazon Resource Name (ARN) of the EKS Node Group. - :param pulumi.Input[str] capacity_type: Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. + :param pulumi.Input[str] capacity_type: Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. :param pulumi.Input[str] cluster_name: Name of the EKS Cluster. :param pulumi.Input[int] disk_size: Disk size in GiB for worker nodes. Defaults to `20`. This provider will only perform drift detection if a configuration value is provided. :param pulumi.Input[bool] force_update_version: Force version update if existing pods are unable to be drained due to a pod disruption budget issue. @@ -271,9 +271,9 @@ def arn(self) -> pulumi.Output[str]: @property @pulumi.getter(name="capacityType") - def capacity_type(self) -> pulumi.Output[Optional[str]]: + def capacity_type(self) -> pulumi.Output[str]: """ - Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`. + Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided. """ return pulumi.get(self, "capacity_type") diff --git a/sdk/python/pulumi_aws/elasticache/cluster.py b/sdk/python/pulumi_aws/elasticache/cluster.py index 8aafbec1f5f..9dde415c7c1 100644 --- a/sdk/python/pulumi_aws/elasticache/cluster.py +++ b/sdk/python/pulumi_aws/elasticache/cluster.py @@ -146,7 +146,7 @@ def __init__(__self__, retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes + Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes :param pulumi.Input[str] snapshot_window: The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. Example: 05:00-09:00 :param pulumi.Input[str] subnet_group_name: Name of the subnet group to be used @@ -286,7 +286,7 @@ def get(resource_name: str, retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes + Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes :param pulumi.Input[str] snapshot_window: The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. Example: 05:00-09:00 :param pulumi.Input[str] subnet_group_name: Name of the subnet group to be used @@ -528,7 +528,7 @@ def snapshot_retention_limit(self) -> pulumi.Output[Optional[int]]: retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes + Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes """ return pulumi.get(self, "snapshot_retention_limit") diff --git a/sdk/python/pulumi_aws/elasticache/replication_group.py b/sdk/python/pulumi_aws/elasticache/replication_group.py index 32854c0927a..455702d9903 100644 --- a/sdk/python/pulumi_aws/elasticache/replication_group.py +++ b/sdk/python/pulumi_aws/elasticache/replication_group.py @@ -174,7 +174,7 @@ def __init__(__self__, retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes + Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes :param pulumi.Input[str] snapshot_window: The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example: `05:00-09:00` :param pulumi.Input[str] subnet_group_name: The name of the cache subnet group to be used for the replication group. @@ -312,7 +312,7 @@ def get(resource_name: str, retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes + Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes :param pulumi.Input[str] snapshot_window: The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example: `05:00-09:00` :param pulumi.Input[str] subnet_group_name: The name of the cache subnet group to be used for the replication group. @@ -569,7 +569,7 @@ def snapshot_retention_limit(self) -> pulumi.Output[Optional[int]]: retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. - Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes + Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes """ return pulumi.get(self, "snapshot_retention_limit") diff --git a/sdk/python/pulumi_aws/lambda_/event_source_mapping.py b/sdk/python/pulumi_aws/lambda_/event_source_mapping.py index 0e2fac399c0..69ba3fd09ec 100644 --- a/sdk/python/pulumi_aws/lambda_/event_source_mapping.py +++ b/sdk/python/pulumi_aws/lambda_/event_source_mapping.py @@ -88,7 +88,7 @@ def __init__(__self__, :param pulumi.Input[bool] enabled: Determines if the mapping will be enabled on creation. Defaults to `true`. :param pulumi.Input[str] event_source_arn: The event source ARN - can be a Kinesis stream, DynamoDB stream, or SQS queue. :param pulumi.Input[str] function_name: The name or the ARN of the Lambda function that will be subscribing to events. - :param pulumi.Input[int] maximum_batching_window_in_seconds: The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + :param pulumi.Input[int] maximum_batching_window_in_seconds: The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. :param pulumi.Input[str] starting_position: The position in the stream where AWS Lambda should start reading. Must be one of `AT_TIMESTAMP` (Kinesis only), `LATEST` or `TRIM_HORIZON` if getting events from Kinesis or DynamoDB. Must not be provided if getting events from SQS. More information about these positions can be found in the [AWS DynamoDB Streams API Reference](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html) and [AWS Kinesis API Reference](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType). :param pulumi.Input[str] starting_position_timestamp: A timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of the data record which to start reading when using `starting_position` set to `AT_TIMESTAMP`. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen. * `parallelization_factor`: - (Optional) The number of batches to process from each shard concurrently. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of 1, maximum of 10. @@ -178,7 +178,7 @@ def get(resource_name: str, :param pulumi.Input[str] function_name: The name or the ARN of the Lambda function that will be subscribing to events. :param pulumi.Input[str] last_modified: The date this resource was last modified. :param pulumi.Input[str] last_processing_result: The result of the last AWS Lambda invocation of your Lambda function. - :param pulumi.Input[int] maximum_batching_window_in_seconds: The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + :param pulumi.Input[int] maximum_batching_window_in_seconds: The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. :param pulumi.Input[str] starting_position: The position in the stream where AWS Lambda should start reading. Must be one of `AT_TIMESTAMP` (Kinesis only), `LATEST` or `TRIM_HORIZON` if getting events from Kinesis or DynamoDB. Must not be provided if getting events from SQS. More information about these positions can be found in the [AWS DynamoDB Streams API Reference](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html) and [AWS Kinesis API Reference](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType). :param pulumi.Input[str] starting_position_timestamp: A timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of the data record which to start reading when using `starting_position` set to `AT_TIMESTAMP`. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen. * `parallelization_factor`: - (Optional) The number of batches to process from each shard concurrently. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of 1, maximum of 10. @@ -284,7 +284,7 @@ def last_processing_result(self) -> pulumi.Output[str]: @pulumi.getter(name="maximumBatchingWindowInSeconds") def maximum_batching_window_in_seconds(self) -> pulumi.Output[Optional[int]]: """ - The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function. + The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. """ return pulumi.get(self, "maximum_batching_window_in_seconds") diff --git a/sdk/python/pulumi_aws/networkfirewall/_inputs.py b/sdk/python/pulumi_aws/networkfirewall/_inputs.py index bd705633e31..035b98de856 100644 --- a/sdk/python/pulumi_aws/networkfirewall/_inputs.py +++ b/sdk/python/pulumi_aws/networkfirewall/_inputs.py @@ -875,104 +875,97 @@ def rule_options(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGroupRuleG @pulumi.input_type class RuleGroupRuleGroupRulesSourceStatefulRuleHeaderArgs: def __init__(__self__, *, + destination: pulumi.Input[str], + destination_port: pulumi.Input[str], direction: pulumi.Input[str], - destination: Optional[pulumi.Input[str]] = None, - destination_port: Optional[pulumi.Input[str]] = None, - protocol: Optional[pulumi.Input[str]] = None, - source: Optional[pulumi.Input[str]] = None, - source_port: Optional[pulumi.Input[str]] = None): + protocol: pulumi.Input[str], + source: pulumi.Input[str], + source_port: pulumi.Input[str]): """ + :param pulumi.Input[str] destination: The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`. + :param pulumi.Input[str] destination_port: The destination port to inspect for. To match with any address, specify `ANY`. :param pulumi.Input[str] direction: The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. - :param pulumi.Input[str] destination: The destination IP address or address range to inspect for, in CIDR notation. If left empty, this matches with any destination address. - :param pulumi.Input[str] destination_port: The destination port to inspect for. If left empty, this matches with any port. - :param pulumi.Input[str] protocol: The protocol to inspect. If not specified, this matches with any protocol. - Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. - :param pulumi.Input[str] source: The source IP address or address range for, in CIDR notation. If left empty, this matches with any source address. - :param pulumi.Input[str] source_port: The source port to inspect for. If left empty, this matches with any port. + :param pulumi.Input[str] protocol: The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. + :param pulumi.Input[str] source: The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`. + :param pulumi.Input[str] source_port: The source port to inspect for. To match with any address, specify `ANY`. """ + pulumi.set(__self__, "destination", destination) + pulumi.set(__self__, "destination_port", destination_port) pulumi.set(__self__, "direction", direction) - if destination is not None: - pulumi.set(__self__, "destination", destination) - if destination_port is not None: - pulumi.set(__self__, "destination_port", destination_port) - if protocol is not None: - pulumi.set(__self__, "protocol", protocol) - if source is not None: - pulumi.set(__self__, "source", source) - if source_port is not None: - pulumi.set(__self__, "source_port", source_port) + pulumi.set(__self__, "protocol", protocol) + pulumi.set(__self__, "source", source) + pulumi.set(__self__, "source_port", source_port) @property @pulumi.getter - def direction(self) -> pulumi.Input[str]: - """ - The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. - """ - return pulumi.get(self, "direction") - - @direction.setter - def direction(self, value: pulumi.Input[str]): - pulumi.set(self, "direction", value) - - @property - @pulumi.getter - def destination(self) -> Optional[pulumi.Input[str]]: + def destination(self) -> pulumi.Input[str]: """ - The destination IP address or address range to inspect for, in CIDR notation. If left empty, this matches with any destination address. + The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`. """ return pulumi.get(self, "destination") @destination.setter - def destination(self, value: Optional[pulumi.Input[str]]): + def destination(self, value: pulumi.Input[str]): pulumi.set(self, "destination", value) @property @pulumi.getter(name="destinationPort") - def destination_port(self) -> Optional[pulumi.Input[str]]: + def destination_port(self) -> pulumi.Input[str]: """ - The destination port to inspect for. If left empty, this matches with any port. + The destination port to inspect for. To match with any address, specify `ANY`. """ return pulumi.get(self, "destination_port") @destination_port.setter - def destination_port(self, value: Optional[pulumi.Input[str]]): + def destination_port(self, value: pulumi.Input[str]): pulumi.set(self, "destination_port", value) @property @pulumi.getter - def protocol(self) -> Optional[pulumi.Input[str]]: + def direction(self) -> pulumi.Input[str]: + """ + The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. + """ + return pulumi.get(self, "direction") + + @direction.setter + def direction(self, value: pulumi.Input[str]): + pulumi.set(self, "direction", value) + + @property + @pulumi.getter + def protocol(self) -> pulumi.Input[str]: """ - The protocol to inspect. If not specified, this matches with any protocol. - Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. + The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. """ return pulumi.get(self, "protocol") @protocol.setter - def protocol(self, value: Optional[pulumi.Input[str]]): + def protocol(self, value: pulumi.Input[str]): pulumi.set(self, "protocol", value) @property @pulumi.getter - def source(self) -> Optional[pulumi.Input[str]]: + def source(self) -> pulumi.Input[str]: """ - The source IP address or address range for, in CIDR notation. If left empty, this matches with any source address. + The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`. """ return pulumi.get(self, "source") @source.setter - def source(self, value: Optional[pulumi.Input[str]]): + def source(self, value: pulumi.Input[str]): pulumi.set(self, "source", value) @property @pulumi.getter(name="sourcePort") - def source_port(self) -> Optional[pulumi.Input[str]]: + def source_port(self) -> pulumi.Input[str]: """ - The source port to inspect for. If left empty, this matches with any port. + The source port to inspect for. To match with any address, specify `ANY`. """ return pulumi.get(self, "source_port") @source_port.setter - def source_port(self, value: Optional[pulumi.Input[str]]): + def source_port(self, value: pulumi.Input[str]): pulumi.set(self, "source_port", value) @@ -1243,7 +1236,7 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationPortArgs']]] destination_ports: Set of configuration blocks describing the destination ports to inspect for. If not specified, this matches with any destination port. See Destination Port below for details. :param pulumi.Input[Sequence[pulumi.Input['RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArgs']]] destinations: Set of configuration blocks describing the destination IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address. See Destination below for details. - :param pulumi.Input[Sequence[pulumi.Input[int]]] protocols: Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). + :param pulumi.Input[Sequence[pulumi.Input[int]]] protocols: Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. :param pulumi.Input[Sequence[pulumi.Input['RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourcePortArgs']]] source_ports: Set of configuration blocks describing the source ports to inspect for. If not specified, this matches with any source port. See Source Port below for details. :param pulumi.Input[Sequence[pulumi.Input['RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceArgs']]] sources: Set of configuration blocks describing the source IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address. See Source below for details. :param pulumi.Input[Sequence[pulumi.Input['RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagArgs']]] tcp_flags: Set of configuration blocks containing the TCP flags and masks to inspect for. If not specified, this matches with any settings. @@ -1289,7 +1282,7 @@ def destinations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleG @pulumi.getter def protocols(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]: """ - Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). + Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. """ return pulumi.get(self, "protocols") @@ -1337,23 +1330,22 @@ def tcp_flags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleGrou @pulumi.input_type class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArgs: def __init__(__self__, *, - address_definition: Optional[pulumi.Input[str]] = None): + address_definition: pulumi.Input[str]): """ :param pulumi.Input[str] address_definition: An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. """ - if address_definition is not None: - pulumi.set(__self__, "address_definition", address_definition) + pulumi.set(__self__, "address_definition", address_definition) @property @pulumi.getter(name="addressDefinition") - def address_definition(self) -> Optional[pulumi.Input[str]]: + def address_definition(self) -> pulumi.Input[str]: """ An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. """ return pulumi.get(self, "address_definition") @address_definition.setter - def address_definition(self, value: Optional[pulumi.Input[str]]): + def address_definition(self, value: pulumi.Input[str]): pulumi.set(self, "address_definition", value) @@ -1398,23 +1390,22 @@ def to_port(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceArgs: def __init__(__self__, *, - address_definition: Optional[pulumi.Input[str]] = None): + address_definition: pulumi.Input[str]): """ :param pulumi.Input[str] address_definition: An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. """ - if address_definition is not None: - pulumi.set(__self__, "address_definition", address_definition) + pulumi.set(__self__, "address_definition", address_definition) @property @pulumi.getter(name="addressDefinition") - def address_definition(self) -> Optional[pulumi.Input[str]]: + def address_definition(self) -> pulumi.Input[str]: """ An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. """ return pulumi.get(self, "address_definition") @address_definition.setter - def address_definition(self, value: Optional[pulumi.Input[str]]): + def address_definition(self, value: pulumi.Input[str]): pulumi.set(self, "address_definition", value) @@ -1462,9 +1453,9 @@ def __init__(__self__, *, flags: pulumi.Input[Sequence[pulumi.Input[str]]], masks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] flags: Set of flags to look for in a packet. AWS Network Firewall checks only the part of the packet specified in `masks`. + :param pulumi.Input[Sequence[pulumi.Input[str]]] flags: Set of flags to look for in a packet. This setting can only specify values that are also specified in `masks`. Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] masks: Set of values describing the part of the packet that you want to check for the flags. To inspect the entire packet, leave this empty. + :param pulumi.Input[Sequence[pulumi.Input[str]]] masks: Set of flags to consider in the inspection. To inspect all flags, leave this empty. Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. """ pulumi.set(__self__, "flags", flags) @@ -1475,7 +1466,7 @@ def __init__(__self__, *, @pulumi.getter def flags(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: """ - Set of flags to look for in a packet. AWS Network Firewall checks only the part of the packet specified in `masks`. + Set of flags to look for in a packet. This setting can only specify values that are also specified in `masks`. Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. """ return pulumi.get(self, "flags") @@ -1488,7 +1479,7 @@ def flags(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): @pulumi.getter def masks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Set of values describing the part of the packet that you want to check for the flags. To inspect the entire packet, leave this empty. + Set of flags to consider in the inspection. To inspect all flags, leave this empty. Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. """ return pulumi.get(self, "masks") diff --git a/sdk/python/pulumi_aws/networkfirewall/outputs.py b/sdk/python/pulumi_aws/networkfirewall/outputs.py index 6f036a20f49..c8c21303d16 100644 --- a/sdk/python/pulumi_aws/networkfirewall/outputs.py +++ b/sdk/python/pulumi_aws/networkfirewall/outputs.py @@ -770,79 +770,72 @@ def _translate_property(self, prop): @pulumi.output_type class RuleGroupRuleGroupRulesSourceStatefulRuleHeader(dict): def __init__(__self__, *, + destination: str, + destination_port: str, direction: str, - destination: Optional[str] = None, - destination_port: Optional[str] = None, - protocol: Optional[str] = None, - source: Optional[str] = None, - source_port: Optional[str] = None): + protocol: str, + source: str, + source_port: str): """ + :param str destination: The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`. + :param str destination_port: The destination port to inspect for. To match with any address, specify `ANY`. :param str direction: The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. - :param str destination: The destination IP address or address range to inspect for, in CIDR notation. If left empty, this matches with any destination address. - :param str destination_port: The destination port to inspect for. If left empty, this matches with any port. - :param str protocol: The protocol to inspect. If not specified, this matches with any protocol. - Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. - :param str source: The source IP address or address range for, in CIDR notation. If left empty, this matches with any source address. - :param str source_port: The source port to inspect for. If left empty, this matches with any port. + :param str protocol: The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. + :param str source: The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`. + :param str source_port: The source port to inspect for. To match with any address, specify `ANY`. """ + pulumi.set(__self__, "destination", destination) + pulumi.set(__self__, "destination_port", destination_port) pulumi.set(__self__, "direction", direction) - if destination is not None: - pulumi.set(__self__, "destination", destination) - if destination_port is not None: - pulumi.set(__self__, "destination_port", destination_port) - if protocol is not None: - pulumi.set(__self__, "protocol", protocol) - if source is not None: - pulumi.set(__self__, "source", source) - if source_port is not None: - pulumi.set(__self__, "source_port", source_port) + pulumi.set(__self__, "protocol", protocol) + pulumi.set(__self__, "source", source) + pulumi.set(__self__, "source_port", source_port) @property @pulumi.getter - def direction(self) -> str: + def destination(self) -> str: """ - The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. + The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY`. """ - return pulumi.get(self, "direction") + return pulumi.get(self, "destination") @property - @pulumi.getter - def destination(self) -> Optional[str]: + @pulumi.getter(name="destinationPort") + def destination_port(self) -> str: """ - The destination IP address or address range to inspect for, in CIDR notation. If left empty, this matches with any destination address. + The destination port to inspect for. To match with any address, specify `ANY`. """ - return pulumi.get(self, "destination") + return pulumi.get(self, "destination_port") @property - @pulumi.getter(name="destinationPort") - def destination_port(self) -> Optional[str]: + @pulumi.getter + def direction(self) -> str: """ - The destination port to inspect for. If left empty, this matches with any port. + The direction of traffic flow to inspect. Valid values: `ANY` or `FORWARD`. """ - return pulumi.get(self, "destination_port") + return pulumi.get(self, "direction") @property @pulumi.getter - def protocol(self) -> Optional[str]: + def protocol(self) -> str: """ - The protocol to inspect. If not specified, this matches with any protocol. - Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. + The protocol to inspect. Valid values: `IP`, `TCP`, `UDP`, `ICMP`, `HTTP`, `FTP`, `TLS`, `SMB`, `DNS`, `DCERPC`, `SSH`, `SMTP`, `IMAP`, `MSN`, `KRB5`, `IKEV2`, `TFTP`, `NTP`, `DHCP`. """ return pulumi.get(self, "protocol") @property @pulumi.getter - def source(self) -> Optional[str]: + def source(self) -> str: """ - The source IP address or address range for, in CIDR notation. If left empty, this matches with any source address. + The source IP address or address range for, in CIDR notation. To match with any address, specify `ANY`. """ return pulumi.get(self, "source") @property @pulumi.getter(name="sourcePort") - def source_port(self) -> Optional[str]: + def source_port(self) -> str: """ - The source port to inspect for. If left empty, this matches with any port. + The source port to inspect for. To match with any address, specify `ANY`. """ return pulumi.get(self, "source_port") @@ -1089,7 +1082,7 @@ def __init__(__self__, *, """ :param Sequence['RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationPortArgs'] destination_ports: Set of configuration blocks describing the destination ports to inspect for. If not specified, this matches with any destination port. See Destination Port below for details. :param Sequence['RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationArgs'] destinations: Set of configuration blocks describing the destination IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address. See Destination below for details. - :param Sequence[int] protocols: Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). + :param Sequence[int] protocols: Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. :param Sequence['RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourcePortArgs'] source_ports: Set of configuration blocks describing the source ports to inspect for. If not specified, this matches with any source port. See Source Port below for details. :param Sequence['RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourceArgs'] sources: Set of configuration blocks describing the source IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address. See Source below for details. :param Sequence['RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlagArgs'] tcp_flags: Set of configuration blocks containing the TCP flags and masks to inspect for. If not specified, this matches with any settings. @@ -1127,7 +1120,7 @@ def destinations(self) -> Optional[Sequence['outputs.RuleGroupRuleGroupRulesSour @pulumi.getter def protocols(self) -> Optional[Sequence[int]]: """ - Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). + Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. """ return pulumi.get(self, "protocols") @@ -1162,16 +1155,15 @@ def _translate_property(self, prop): @pulumi.output_type class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination(dict): def __init__(__self__, *, - address_definition: Optional[str] = None): + address_definition: str): """ :param str address_definition: An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. """ - if address_definition is not None: - pulumi.set(__self__, "address_definition", address_definition) + pulumi.set(__self__, "address_definition", address_definition) @property @pulumi.getter(name="addressDefinition") - def address_definition(self) -> Optional[str]: + def address_definition(self) -> str: """ An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. """ @@ -1217,16 +1209,15 @@ def _translate_property(self, prop): @pulumi.output_type class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSource(dict): def __init__(__self__, *, - address_definition: Optional[str] = None): + address_definition: str): """ :param str address_definition: An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. """ - if address_definition is not None: - pulumi.set(__self__, "address_definition", address_definition) + pulumi.set(__self__, "address_definition", address_definition) @property @pulumi.getter(name="addressDefinition") - def address_definition(self) -> Optional[str]: + def address_definition(self) -> str: """ An IP address or a block of IP addresses in CIDR notation. AWS Network Firewall supports all address ranges for IPv4. """ @@ -1275,9 +1266,9 @@ def __init__(__self__, *, flags: Sequence[str], masks: Optional[Sequence[str]] = None): """ - :param Sequence[str] flags: Set of flags to look for in a packet. AWS Network Firewall checks only the part of the packet specified in `masks`. + :param Sequence[str] flags: Set of flags to look for in a packet. This setting can only specify values that are also specified in `masks`. Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. - :param Sequence[str] masks: Set of values describing the part of the packet that you want to check for the flags. To inspect the entire packet, leave this empty. + :param Sequence[str] masks: Set of flags to consider in the inspection. To inspect all flags, leave this empty. Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. """ pulumi.set(__self__, "flags", flags) @@ -1288,7 +1279,7 @@ def __init__(__self__, *, @pulumi.getter def flags(self) -> Sequence[str]: """ - Set of flags to look for in a packet. AWS Network Firewall checks only the part of the packet specified in `masks`. + Set of flags to look for in a packet. This setting can only specify values that are also specified in `masks`. Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. """ return pulumi.get(self, "flags") @@ -1297,7 +1288,7 @@ def flags(self) -> Sequence[str]: @pulumi.getter def masks(self) -> Optional[Sequence[str]]: """ - Set of values describing the part of the packet that you want to check for the flags. To inspect the entire packet, leave this empty. + Set of flags to consider in the inspection. To inspect all flags, leave this empty. Valid values: `FIN`, `SYN`, `RST`, `PSH`, `ACK`, `URG`, `ECE`, `CWR`. """ return pulumi.get(self, "masks") diff --git a/sdk/python/pulumi_aws/outputs.py b/sdk/python/pulumi_aws/outputs.py index 7ce0d0744c3..e5343cb2b2d 100644 --- a/sdk/python/pulumi_aws/outputs.py +++ b/sdk/python/pulumi_aws/outputs.py @@ -148,6 +148,7 @@ def __init__(__self__, *, dynamodb: Optional[str] = None, ec2: Optional[str] = None, ecr: Optional[str] = None, + ecrpublic: Optional[str] = None, ecs: Optional[str] = None, efs: Optional[str] = None, eks: Optional[str] = None, @@ -196,6 +197,7 @@ def __init__(__self__, *, mediastore: Optional[str] = None, mediastoredata: Optional[str] = None, mq: Optional[str] = None, + mwaa: Optional[str] = None, neptune: Optional[str] = None, networkfirewall: Optional[str] = None, networkmanager: Optional[str] = None, @@ -343,6 +345,8 @@ def __init__(__self__, *, pulumi.set(__self__, "ec2", ec2) if ecr is not None: pulumi.set(__self__, "ecr", ecr) + if ecrpublic is not None: + pulumi.set(__self__, "ecrpublic", ecrpublic) if ecs is not None: pulumi.set(__self__, "ecs", ecs) if efs is not None: @@ -439,6 +443,8 @@ def __init__(__self__, *, pulumi.set(__self__, "mediastoredata", mediastoredata) if mq is not None: pulumi.set(__self__, "mq", mq) + if mwaa is not None: + pulumi.set(__self__, "mwaa", mwaa) if neptune is not None: pulumi.set(__self__, "neptune", neptune) if networkfirewall is not None: @@ -782,6 +788,11 @@ def ec2(self) -> Optional[str]: def ecr(self) -> Optional[str]: return pulumi.get(self, "ecr") + @property + @pulumi.getter + def ecrpublic(self) -> Optional[str]: + return pulumi.get(self, "ecrpublic") + @property @pulumi.getter def ecs(self) -> Optional[str]: @@ -1022,6 +1033,11 @@ def mediastoredata(self) -> Optional[str]: def mq(self) -> Optional[str]: return pulumi.get(self, "mq") + @property + @pulumi.getter + def mwaa(self) -> Optional[str]: + return pulumi.get(self, "mwaa") + @property @pulumi.getter def neptune(self) -> Optional[str]: diff --git a/sdk/python/pulumi_aws/storagegateway/_inputs.py b/sdk/python/pulumi_aws/storagegateway/_inputs.py index 15e06392963..548d4299d0e 100644 --- a/sdk/python/pulumi_aws/storagegateway/_inputs.py +++ b/sdk/python/pulumi_aws/storagegateway/_inputs.py @@ -9,26 +9,67 @@ from .. import _utilities, _tables __all__ = [ + 'GatewayGatewayNetworkInterfaceArgs', 'GatewaySmbActiveDirectorySettingsArgs', 'NfsFileShareCacheAttributesArgs', 'NfsFileShareNfsFileShareDefaultsArgs', 'SmbFileShareCacheAttributesArgs', ] +@pulumi.input_type +class GatewayGatewayNetworkInterfaceArgs: + def __init__(__self__, *, + ipv4_address: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] ipv4_address: The Internet Protocol version 4 (IPv4) address of the interface. + """ + if ipv4_address is not None: + pulumi.set(__self__, "ipv4_address", ipv4_address) + + @property + @pulumi.getter(name="ipv4Address") + def ipv4_address(self) -> Optional[pulumi.Input[str]]: + """ + The Internet Protocol version 4 (IPv4) address of the interface. + """ + return pulumi.get(self, "ipv4_address") + + @ipv4_address.setter + def ipv4_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ipv4_address", value) + + @pulumi.input_type class GatewaySmbActiveDirectorySettingsArgs: def __init__(__self__, *, domain_name: pulumi.Input[str], password: pulumi.Input[str], - username: pulumi.Input[str]): + username: pulumi.Input[str], + active_directory_status: Optional[pulumi.Input[str]] = None, + domain_controllers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + organizational_unit: Optional[pulumi.Input[str]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[str] domain_name: The name of the domain that you want the gateway to join. :param pulumi.Input[str] password: The password of the user who has permission to add the gateway to the Active Directory domain. :param pulumi.Input[str] username: The user name of user who has permission to add the gateway to the Active Directory domain. + :param pulumi.Input[Sequence[pulumi.Input[str]]] domain_controllers: List of IPv4 addresses, NetBIOS names, or host names of your domain server. + If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`. + :param pulumi.Input[str] organizational_unit: The organizational unit (OU) is a container in an Active Directory that can hold users, groups, + computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain. + :param pulumi.Input[int] timeout_in_seconds: Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. """ pulumi.set(__self__, "domain_name", domain_name) pulumi.set(__self__, "password", password) pulumi.set(__self__, "username", username) + if active_directory_status is not None: + pulumi.set(__self__, "active_directory_status", active_directory_status) + if domain_controllers is not None: + pulumi.set(__self__, "domain_controllers", domain_controllers) + if organizational_unit is not None: + pulumi.set(__self__, "organizational_unit", organizational_unit) + if timeout_in_seconds is not None: + pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) @property @pulumi.getter(name="domainName") @@ -66,6 +107,53 @@ def username(self) -> pulumi.Input[str]: def username(self, value: pulumi.Input[str]): pulumi.set(self, "username", value) + @property + @pulumi.getter(name="activeDirectoryStatus") + def active_directory_status(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "active_directory_status") + + @active_directory_status.setter + def active_directory_status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "active_directory_status", value) + + @property + @pulumi.getter(name="domainControllers") + def domain_controllers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of IPv4 addresses, NetBIOS names, or host names of your domain server. + If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`. + """ + return pulumi.get(self, "domain_controllers") + + @domain_controllers.setter + def domain_controllers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "domain_controllers", value) + + @property + @pulumi.getter(name="organizationalUnit") + def organizational_unit(self) -> Optional[pulumi.Input[str]]: + """ + The organizational unit (OU) is a container in an Active Directory that can hold users, groups, + computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain. + """ + return pulumi.get(self, "organizational_unit") + + @organizational_unit.setter + def organizational_unit(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "organizational_unit", value) + + @property + @pulumi.getter(name="timeoutInSeconds") + def timeout_in_seconds(self) -> Optional[pulumi.Input[int]]: + """ + Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. + """ + return pulumi.get(self, "timeout_in_seconds") + + @timeout_in_seconds.setter + def timeout_in_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "timeout_in_seconds", value) + @pulumi.input_type class NfsFileShareCacheAttributesArgs: diff --git a/sdk/python/pulumi_aws/storagegateway/gateway.py b/sdk/python/pulumi_aws/storagegateway/gateway.py index e06a47c7523..3b887d6354e 100644 --- a/sdk/python/pulumi_aws/storagegateway/gateway.py +++ b/sdk/python/pulumi_aws/storagegateway/gateway.py @@ -100,19 +100,7 @@ def __init__(__self__, $ pulumi import aws:storagegateway/gateway:Gateway example arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678 ``` - Certain resource arguments, like `gateway_ip_address` do not have a Storage Gateway API method for reading the information after creation, either omit the argument from the Terraform configuration or use [`ignore_changes`](/docs/configuration/resources.html#ignore_changes) to hide the difference, e.g. hcl resource "aws_storagegateway_gateway" "example" { - - # ... other configuration ... - - gateway_ip_address = aws_instance.sgw.private_ip - - # There is no Storage Gateway API for reading gateway_ip_address - - lifecycle { - - ignore_changes = ["gateway_ip_address"] - - } } + Certain resource arguments, like `gateway_ip_address` do not have a Storage Gateway API method for reading the information after creation, either omit the argument from the provider configuration or use `ignoreChanges` to hide the difference. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -125,7 +113,7 @@ def __init__(__self__, :param pulumi.Input[str] gateway_timezone: Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. :param pulumi.Input[str] gateway_type: Type of the gateway. The default value is `STORED`. Valid values: `CACHED`, `FILE_S3`, `STORED`, `VTL`. :param pulumi.Input[str] gateway_vpc_endpoint: VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running Pulumi. More info on what ports are required by your VPC Endpoint Security group in [Activating a Gateway in a Virtual Private Cloud](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html). - :param pulumi.Input[str] medium_changer_type: Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + :param pulumi.Input[str] medium_changer_type: Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. :param pulumi.Input[pulumi.InputType['GatewaySmbActiveDirectorySettingsArgs']] smb_active_directory_settings: Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for `FILE_S3` gateway type. Must be set before creating `ActiveDirectory` authentication SMB file shares. More details below. :param pulumi.Input[str] smb_guest_password: Guest password for Server Message Block (SMB) file shares. Only valid for `FILE_S3` gateway type. Must be set before creating `GuestAccess` authentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument. :param pulumi.Input[str] smb_security_strategy: Specifies the type of security strategy. Valid values are: `ClientSpecified`, `MandatorySigning`, and `MandatoryEncryption`. See [Setting a Security Level for Your Gateway](https://docs.aws.amazon.com/storagegateway/latest/userguide/managing-gateway-file.html#security-strategy) for more information. @@ -169,7 +157,11 @@ def __init__(__self__, __props__['tags'] = tags __props__['tape_drive_type'] = tape_drive_type __props__['arn'] = None + __props__['ec2_instance_id'] = None + __props__['endpoint_type'] = None __props__['gateway_id'] = None + __props__['gateway_network_interfaces'] = None + __props__['host_environment'] = None super(Gateway, __self__).__init__( 'aws:storagegateway/gateway:Gateway', resource_name, @@ -185,12 +177,16 @@ def get(resource_name: str, average_download_rate_limit_in_bits_per_sec: Optional[pulumi.Input[int]] = None, average_upload_rate_limit_in_bits_per_sec: Optional[pulumi.Input[int]] = None, cloudwatch_log_group_arn: Optional[pulumi.Input[str]] = None, + ec2_instance_id: Optional[pulumi.Input[str]] = None, + endpoint_type: Optional[pulumi.Input[str]] = None, gateway_id: Optional[pulumi.Input[str]] = None, gateway_ip_address: Optional[pulumi.Input[str]] = None, gateway_name: Optional[pulumi.Input[str]] = None, + gateway_network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GatewayGatewayNetworkInterfaceArgs']]]]] = None, gateway_timezone: Optional[pulumi.Input[str]] = None, gateway_type: Optional[pulumi.Input[str]] = None, gateway_vpc_endpoint: Optional[pulumi.Input[str]] = None, + host_environment: Optional[pulumi.Input[str]] = None, medium_changer_type: Optional[pulumi.Input[str]] = None, smb_active_directory_settings: Optional[pulumi.Input[pulumi.InputType['GatewaySmbActiveDirectorySettingsArgs']]] = None, smb_guest_password: Optional[pulumi.Input[str]] = None, @@ -209,13 +205,17 @@ def get(resource_name: str, :param pulumi.Input[int] average_download_rate_limit_in_bits_per_sec: The average download bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types. :param pulumi.Input[int] average_upload_rate_limit_in_bits_per_sec: The average upload bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types. :param pulumi.Input[str] cloudwatch_log_group_arn: The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway. + :param pulumi.Input[str] ec2_instance_id: The ID of the Amazon EC2 instance that was used to launch the gateway. + :param pulumi.Input[str] endpoint_type: The type of endpoint for your gateway. :param pulumi.Input[str] gateway_id: Identifier of the gateway. :param pulumi.Input[str] gateway_ip_address: Gateway IP address to retrieve activation key during resource creation. Conflicts with `activation_key`. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html). :param pulumi.Input[str] gateway_name: Name of the gateway. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GatewayGatewayNetworkInterfaceArgs']]]] gateway_network_interfaces: An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface. :param pulumi.Input[str] gateway_timezone: Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. :param pulumi.Input[str] gateway_type: Type of the gateway. The default value is `STORED`. Valid values: `CACHED`, `FILE_S3`, `STORED`, `VTL`. :param pulumi.Input[str] gateway_vpc_endpoint: VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running Pulumi. More info on what ports are required by your VPC Endpoint Security group in [Activating a Gateway in a Virtual Private Cloud](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html). - :param pulumi.Input[str] medium_changer_type: Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + :param pulumi.Input[str] host_environment: The type of hypervisor environment used by the host. + :param pulumi.Input[str] medium_changer_type: Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. :param pulumi.Input[pulumi.InputType['GatewaySmbActiveDirectorySettingsArgs']] smb_active_directory_settings: Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for `FILE_S3` gateway type. Must be set before creating `ActiveDirectory` authentication SMB file shares. More details below. :param pulumi.Input[str] smb_guest_password: Guest password for Server Message Block (SMB) file shares. Only valid for `FILE_S3` gateway type. Must be set before creating `GuestAccess` authentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument. :param pulumi.Input[str] smb_security_strategy: Specifies the type of security strategy. Valid values are: `ClientSpecified`, `MandatorySigning`, and `MandatoryEncryption`. See [Setting a Security Level for Your Gateway](https://docs.aws.amazon.com/storagegateway/latest/userguide/managing-gateway-file.html#security-strategy) for more information. @@ -231,12 +231,16 @@ def get(resource_name: str, __props__["average_download_rate_limit_in_bits_per_sec"] = average_download_rate_limit_in_bits_per_sec __props__["average_upload_rate_limit_in_bits_per_sec"] = average_upload_rate_limit_in_bits_per_sec __props__["cloudwatch_log_group_arn"] = cloudwatch_log_group_arn + __props__["ec2_instance_id"] = ec2_instance_id + __props__["endpoint_type"] = endpoint_type __props__["gateway_id"] = gateway_id __props__["gateway_ip_address"] = gateway_ip_address __props__["gateway_name"] = gateway_name + __props__["gateway_network_interfaces"] = gateway_network_interfaces __props__["gateway_timezone"] = gateway_timezone __props__["gateway_type"] = gateway_type __props__["gateway_vpc_endpoint"] = gateway_vpc_endpoint + __props__["host_environment"] = host_environment __props__["medium_changer_type"] = medium_changer_type __props__["smb_active_directory_settings"] = smb_active_directory_settings __props__["smb_guest_password"] = smb_guest_password @@ -285,6 +289,22 @@ def cloudwatch_log_group_arn(self) -> pulumi.Output[Optional[str]]: """ return pulumi.get(self, "cloudwatch_log_group_arn") + @property + @pulumi.getter(name="ec2InstanceId") + def ec2_instance_id(self) -> pulumi.Output[str]: + """ + The ID of the Amazon EC2 instance that was used to launch the gateway. + """ + return pulumi.get(self, "ec2_instance_id") + + @property + @pulumi.getter(name="endpointType") + def endpoint_type(self) -> pulumi.Output[str]: + """ + The type of endpoint for your gateway. + """ + return pulumi.get(self, "endpoint_type") + @property @pulumi.getter(name="gatewayId") def gateway_id(self) -> pulumi.Output[str]: @@ -309,6 +329,14 @@ def gateway_name(self) -> pulumi.Output[str]: """ return pulumi.get(self, "gateway_name") + @property + @pulumi.getter(name="gatewayNetworkInterfaces") + def gateway_network_interfaces(self) -> pulumi.Output[Sequence['outputs.GatewayGatewayNetworkInterface']]: + """ + An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface. + """ + return pulumi.get(self, "gateway_network_interfaces") + @property @pulumi.getter(name="gatewayTimezone") def gateway_timezone(self) -> pulumi.Output[str]: @@ -333,11 +361,19 @@ def gateway_vpc_endpoint(self) -> pulumi.Output[Optional[str]]: """ return pulumi.get(self, "gateway_vpc_endpoint") + @property + @pulumi.getter(name="hostEnvironment") + def host_environment(self) -> pulumi.Output[str]: + """ + The type of hypervisor environment used by the host. + """ + return pulumi.get(self, "host_environment") + @property @pulumi.getter(name="mediumChangerType") def medium_changer_type(self) -> pulumi.Output[Optional[str]]: """ - Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`. + Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `STK-L700`, `AWS-Gateway-VTL`, `IBM-03584L32-0402`. """ return pulumi.get(self, "medium_changer_type") diff --git a/sdk/python/pulumi_aws/storagegateway/outputs.py b/sdk/python/pulumi_aws/storagegateway/outputs.py index b497453ab33..51d73bfafa8 100644 --- a/sdk/python/pulumi_aws/storagegateway/outputs.py +++ b/sdk/python/pulumi_aws/storagegateway/outputs.py @@ -9,26 +9,66 @@ from .. import _utilities, _tables __all__ = [ + 'GatewayGatewayNetworkInterface', 'GatewaySmbActiveDirectorySettings', 'NfsFileShareCacheAttributes', 'NfsFileShareNfsFileShareDefaults', 'SmbFileShareCacheAttributes', ] +@pulumi.output_type +class GatewayGatewayNetworkInterface(dict): + def __init__(__self__, *, + ipv4_address: Optional[str] = None): + """ + :param str ipv4_address: The Internet Protocol version 4 (IPv4) address of the interface. + """ + if ipv4_address is not None: + pulumi.set(__self__, "ipv4_address", ipv4_address) + + @property + @pulumi.getter(name="ipv4Address") + def ipv4_address(self) -> Optional[str]: + """ + The Internet Protocol version 4 (IPv4) address of the interface. + """ + return pulumi.get(self, "ipv4_address") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + @pulumi.output_type class GatewaySmbActiveDirectorySettings(dict): def __init__(__self__, *, domain_name: str, password: str, - username: str): + username: str, + active_directory_status: Optional[str] = None, + domain_controllers: Optional[Sequence[str]] = None, + organizational_unit: Optional[str] = None, + timeout_in_seconds: Optional[int] = None): """ :param str domain_name: The name of the domain that you want the gateway to join. :param str password: The password of the user who has permission to add the gateway to the Active Directory domain. :param str username: The user name of user who has permission to add the gateway to the Active Directory domain. + :param Sequence[str] domain_controllers: List of IPv4 addresses, NetBIOS names, or host names of your domain server. + If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`. + :param str organizational_unit: The organizational unit (OU) is a container in an Active Directory that can hold users, groups, + computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain. + :param int timeout_in_seconds: Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. """ pulumi.set(__self__, "domain_name", domain_name) pulumi.set(__self__, "password", password) pulumi.set(__self__, "username", username) + if active_directory_status is not None: + pulumi.set(__self__, "active_directory_status", active_directory_status) + if domain_controllers is not None: + pulumi.set(__self__, "domain_controllers", domain_controllers) + if organizational_unit is not None: + pulumi.set(__self__, "organizational_unit", organizational_unit) + if timeout_in_seconds is not None: + pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) @property @pulumi.getter(name="domainName") @@ -54,6 +94,37 @@ def username(self) -> str: """ return pulumi.get(self, "username") + @property + @pulumi.getter(name="activeDirectoryStatus") + def active_directory_status(self) -> Optional[str]: + return pulumi.get(self, "active_directory_status") + + @property + @pulumi.getter(name="domainControllers") + def domain_controllers(self) -> Optional[Sequence[str]]: + """ + List of IPv4 addresses, NetBIOS names, or host names of your domain server. + If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`. + """ + return pulumi.get(self, "domain_controllers") + + @property + @pulumi.getter(name="organizationalUnit") + def organizational_unit(self) -> Optional[str]: + """ + The organizational unit (OU) is a container in an Active Directory that can hold users, groups, + computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain. + """ + return pulumi.get(self, "organizational_unit") + + @property + @pulumi.getter(name="timeoutInSeconds") + def timeout_in_seconds(self) -> Optional[int]: + """ + Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. + """ + return pulumi.get(self, "timeout_in_seconds") + def _translate_property(self, prop): return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop