Package com.pulumi.aws.appsync
Class FunctionArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.appsync.FunctionArgs
-
public final class FunctionArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FunctionArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static FunctionArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
apiId()
static FunctionArgs.Builder
builder()
static FunctionArgs.Builder
builder(FunctionArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
code()
com.pulumi.core.Output<java.lang.String>
dataSource()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
functionVersion()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
maxBatchSize()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
requestMappingTemplate()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
responseMappingTemplate()
java.util.Optional<com.pulumi.core.Output<FunctionRuntimeArgs>>
runtime()
java.util.Optional<com.pulumi.core.Output<FunctionSyncConfigArgs>>
syncConfig()
-
-
-
Field Detail
-
Empty
public static final FunctionArgs Empty
-
-
Method Detail
-
apiId
public com.pulumi.core.Output<java.lang.String> apiId()
- Returns:
- ID of the associated AppSync API.
-
code
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> code()
- Returns:
- The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
-
dataSource
public com.pulumi.core.Output<java.lang.String> dataSource()
- Returns:
- Function data source name.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- Function description.
-
functionVersion
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> functionVersion()
- Returns:
- Version of the request mapping template. Currently the supported value is `2018-05-29`. Does not apply when specifying `code`.
-
maxBatchSize
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxBatchSize()
- Returns:
- Maximum batching size for a resolver. Valid values are between `0` and `2000`.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- Function name. The function name does not have to be unique.
-
requestMappingTemplate
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> requestMappingTemplate()
- Returns:
- Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
-
responseMappingTemplate
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> responseMappingTemplate()
- Returns:
- Function response mapping template.
-
runtime
public java.util.Optional<com.pulumi.core.Output<FunctionRuntimeArgs>> runtime()
- Returns:
- Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See `runtime` Block for details.
-
syncConfig
public java.util.Optional<com.pulumi.core.Output<FunctionSyncConfigArgs>> syncConfig()
- Returns:
- Describes a Sync configuration for a resolver. See `sync_config` Block for details.
-
builder
public static FunctionArgs.Builder builder()
-
builder
public static FunctionArgs.Builder builder(FunctionArgs defaults)
-
-