Class RestApiEndpointConfigurationArgs.Builder

    • Method Detail

      • ipAddressType

        public RestApiEndpointConfigurationArgs.Builder ipAddressType​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> ipAddressType)
        Parameters:
        ipAddressType - IP address types that can invoke a REST API. Valid values: `ipv4`, `dualstack`. Use `ipv4` to allow only IPv4 addresses to invoke an API, or use `dualstack` to allow both IPv4 and IPv6 addresses to invoke an API. For the `PRIVATE` endpoint type, only `dualstack` is supported. The provider performs drift detection for this argument only when the value is provided.
        Returns:
        builder
      • ipAddressType

        public RestApiEndpointConfigurationArgs.Builder ipAddressType​(java.lang.String ipAddressType)
        Parameters:
        ipAddressType - IP address types that can invoke a REST API. Valid values: `ipv4`, `dualstack`. Use `ipv4` to allow only IPv4 addresses to invoke an API, or use `dualstack` to allow both IPv4 and IPv6 addresses to invoke an API. For the `PRIVATE` endpoint type, only `dualstack` is supported. The provider performs drift detection for this argument only when the value is provided.
        Returns:
        builder
      • types

        public RestApiEndpointConfigurationArgs.Builder types​(com.pulumi.core.Output<java.lang.String> types)
        Parameters:
        types - List of endpoint types. This resource currently only supports managing a single value. Valid values: `EDGE`, `REGIONAL` or `PRIVATE`. If unspecified, defaults to `EDGE`. If set to `PRIVATE` recommend to set `putRestApiMode` = `merge` to not cause the endpoints and associated Route53 records to be deleted. Refer to the [documentation](https://docs.aws.amazon.com/apigateway/latest/developerguide/create-regional-api.html) for more information on the difference between edge-optimized and regional APIs.
        Returns:
        builder
      • types

        public RestApiEndpointConfigurationArgs.Builder types​(java.lang.String types)
        Parameters:
        types - List of endpoint types. This resource currently only supports managing a single value. Valid values: `EDGE`, `REGIONAL` or `PRIVATE`. If unspecified, defaults to `EDGE`. If set to `PRIVATE` recommend to set `putRestApiMode` = `merge` to not cause the endpoints and associated Route53 records to be deleted. Refer to the [documentation](https://docs.aws.amazon.com/apigateway/latest/developerguide/create-regional-api.html) for more information on the difference between edge-optimized and regional APIs.
        Returns:
        builder
      • vpcEndpointIds

        public RestApiEndpointConfigurationArgs.Builder vpcEndpointIds​(@Nullable
                                                                       com.pulumi.core.Output<java.util.List<java.lang.String>> vpcEndpointIds)
        Parameters:
        vpcEndpointIds - Set of VPC Endpoint identifiers. It is only supported for `PRIVATE` endpoint type. If importing an OpenAPI specification via the `body` argument, this corresponds to the [`x-amazon-apigateway-endpoint-configuration` extension `vpcEndpointIds` property](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions-endpoint-configuration.html). If the argument value is provided and is different than the OpenAPI value, **the argument value will override the OpenAPI value**.
        Returns:
        builder
      • vpcEndpointIds

        public RestApiEndpointConfigurationArgs.Builder vpcEndpointIds​(java.util.List<java.lang.String> vpcEndpointIds)
        Parameters:
        vpcEndpointIds - Set of VPC Endpoint identifiers. It is only supported for `PRIVATE` endpoint type. If importing an OpenAPI specification via the `body` argument, this corresponds to the [`x-amazon-apigateway-endpoint-configuration` extension `vpcEndpointIds` property](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions-endpoint-configuration.html). If the argument value is provided and is different than the OpenAPI value, **the argument value will override the OpenAPI value**.
        Returns:
        builder
      • vpcEndpointIds

        public RestApiEndpointConfigurationArgs.Builder vpcEndpointIds​(java.lang.String... vpcEndpointIds)
        Parameters:
        vpcEndpointIds - Set of VPC Endpoint identifiers. It is only supported for `PRIVATE` endpoint type. If importing an OpenAPI specification via the `body` argument, this corresponds to the [`x-amazon-apigateway-endpoint-configuration` extension `vpcEndpointIds` property](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions-endpoint-configuration.html). If the argument value is provided and is different than the OpenAPI value, **the argument value will override the OpenAPI value**.
        Returns:
        builder