# Functions
FloatGreaterThan returns a SchemaValidateFunc which tests if the provided value is of type float and is greater than threshold.
IsIPv4CIDRBlockOrIPv6CIDRBlock returns a SchemaValidateFunc that test if the provided value: - Is a valid IPv4 CIDR block and passes the specified validation, or - Is a valid IPv6 CIDR block and passes the specified validation.
No description provided by the author
No description provided by the author
No description provided by the author
LegacyPolicyNormalize returns a "normalized" JSON policy document except the Version element is first in the JSON as required by AWS in many places.
LegacyPolicyToSet returns the existing policy if the new policy is equivalent.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PolicyToSet returns the existing policy if the new policy is equivalent.
No description provided by the author
SetTagsDiff sets the new plan difference with the result of merging resource tags on to those defined at the provider-level; returns an error if unsuccessful or if the resource tags are identical to those configured at the provider-level to avoid non-empty plans after resource READ operations as resource and provider-level tags will be indistinguishable when returned from an AWS API.
No description provided by the author
No description provided by the author
SuppressEquivalentJSONDiffs returns a difference suppression function that compares two JSON strings and returns `true` if they are semantically equivalent.
No description provided by the author
SuppressEquivalentJSONRemovingFieldsDiffs returns a difference suppression function that compares two JSON strings and returns `true` if they are equivalent once the specified fields have been removed.
SuppressEquivalentJSONWithEmptyDiffs returns a difference suppression function that compares two JSON strings and returns `true` if they are semantically equivalent, handling empty strings (`""`) and empty JSON strings (`"{}"`) as equivalent.
SuppressEquivalentPolicyDiffs returns a difference suppression function that compares two JSON strings representing IAM policies and returns `true` if they are semantically equivalent.
SuppressEquivalentRoundedTime returns a difference suppression function that compares two time value with the specified layout rounded to the specified duration.
SuppressMissingOptionalConfigurationBlock handles configuration block attributes in the following scenario: - The resource schema includes an optional configuration block with defaults - The API response includes those defaults to refresh into the Terraform state - The operator's configuration omits the optional configuration block.
No description provided by the author
No description provided by the author
No description provided by the author
ValidARNCheck validates that a string value matches an ARN format with additional validation on the parsed ARN value It must: * Be parseable as an ARN * Have a valid partition * Have a valid region * Have either an empty or valid account ID * Have a non-empty resource part * Pass the supplied checks.
ValidateIPv4CIDRBlock validates that the specified CIDR block is valid: - The CIDR block parses to an IP address and network - The IP address is an IPv4 address - The CIDR block is the CIDR block for the network.
ValidateIPv6CIDRBlock validates that the specified CIDR block is valid: - The CIDR block parses to an IP address and network - The IP address is an IPv6 address - The CIDR block is the CIDR block for the network.
No description provided by the author
ValidCIDRNetworkAddress ensures that the string value is a valid CIDR that represents a network address - it adds an error otherwise.
No description provided by the author
No description provided by the author
ValidIPv4CIDRNetworkAddress ensures that the string value is a valid IPv4 CIDR that represents a network address - it adds an error otherwise.
ValidIPv6CIDRNetworkAddress ensures that the string value is a valid IPv6 CIDR that represents a network address - it adds an error otherwise.
KMS Key IDs (a subset of KMS Key Identifiers) can be be key ID, key ARN, alias name, or alias ARN.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidTypeStringNullableFloat provides custom error messaging for TypeString floats Some arguments require a floating point value or an unspecified, empty field.
ValidUTCTimestamp validates a string in UTC Format required by APIs including: https://docs.aws.amazon.com/iot/latest/apireference/API_CloudwatchMetricAction.html https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_RestoreDBInstanceToPointInTime.html.
# Constants
No description provided by the author
# Variables
ValidARN validates that a string value matches a generic ARN format.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author