@Stability(value=Stable) public static final class CfnGraphQLApiProps.Builder extends Object implements software.amazon.jsii.Builder<CfnGraphQLApiProps>
CfnGraphQLApiProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnGraphQLApiProps.Builder authenticationType(String authenticationType)
CfnGraphQLApiProps.getAuthenticationType()authenticationType - Security configuration for your GraphQL API. This parameter is required.
For allowed values (such as API_KEY , AWS_IAM , AMAZON_COGNITO_USER_POOLS , OPENID_CONNECT , or AWS_LAMBDA ), see Security in the AWS AppSync Developer Guide .this@Stability(value=Stable) public CfnGraphQLApiProps.Builder name(String name)
CfnGraphQLApiProps.getName()name - The API name. This parameter is required.this@Stability(value=Stable) public CfnGraphQLApiProps.Builder additionalAuthenticationProviders(IResolvable additionalAuthenticationProviders)
CfnGraphQLApiProps.getAdditionalAuthenticationProviders()additionalAuthenticationProviders - A list of additional authentication providers for the `GraphqlApi` API.this@Stability(value=Stable) public CfnGraphQLApiProps.Builder additionalAuthenticationProviders(List<? extends Object> additionalAuthenticationProviders)
CfnGraphQLApiProps.getAdditionalAuthenticationProviders()additionalAuthenticationProviders - A list of additional authentication providers for the `GraphqlApi` API.this@Stability(value=Stable) public CfnGraphQLApiProps.Builder lambdaAuthorizerConfig(CfnGraphQLApi.LambdaAuthorizerConfigProperty lambdaAuthorizerConfig)
CfnGraphQLApiProps.getLambdaAuthorizerConfig()lambdaAuthorizerConfig - A `LambdaAuthorizerConfig` holds configuration on how to authorize AWS AppSync API access when using the `AWS_LAMBDA` authorizer mode.
Be aware that an AWS AppSync API may have only one Lambda authorizer configured at a time.this@Stability(value=Stable) public CfnGraphQLApiProps.Builder lambdaAuthorizerConfig(IResolvable lambdaAuthorizerConfig)
CfnGraphQLApiProps.getLambdaAuthorizerConfig()lambdaAuthorizerConfig - A `LambdaAuthorizerConfig` holds configuration on how to authorize AWS AppSync API access when using the `AWS_LAMBDA` authorizer mode.
Be aware that an AWS AppSync API may have only one Lambda authorizer configured at a time.this@Stability(value=Stable) public CfnGraphQLApiProps.Builder logConfig(CfnGraphQLApi.LogConfigProperty logConfig)
CfnGraphQLApiProps.getLogConfig()logConfig - The Amazon CloudWatch Logs configuration.this@Stability(value=Stable) public CfnGraphQLApiProps.Builder logConfig(IResolvable logConfig)
CfnGraphQLApiProps.getLogConfig()logConfig - The Amazon CloudWatch Logs configuration.this@Stability(value=Stable) public CfnGraphQLApiProps.Builder openIdConnectConfig(CfnGraphQLApi.OpenIDConnectConfigProperty openIdConnectConfig)
CfnGraphQLApiProps.getOpenIdConnectConfig()openIdConnectConfig - The OpenID Connect configuration.this@Stability(value=Stable) public CfnGraphQLApiProps.Builder openIdConnectConfig(IResolvable openIdConnectConfig)
CfnGraphQLApiProps.getOpenIdConnectConfig()openIdConnectConfig - The OpenID Connect configuration.this@Stability(value=Stable) public CfnGraphQLApiProps.Builder tags(List<? extends CfnTag> tags)
CfnGraphQLApiProps.getTags()tags - An arbitrary set of tags (key-value pairs) for this GraphQL API.this@Stability(value=Stable) public CfnGraphQLApiProps.Builder userPoolConfig(CfnGraphQLApi.UserPoolConfigProperty userPoolConfig)
CfnGraphQLApiProps.getUserPoolConfig()userPoolConfig - Optional authorization configuration for using Amazon Cognito user pools with your GraphQL endpoint.this@Stability(value=Stable) public CfnGraphQLApiProps.Builder userPoolConfig(IResolvable userPoolConfig)
CfnGraphQLApiProps.getUserPoolConfig()userPoolConfig - Optional authorization configuration for using Amazon Cognito user pools with your GraphQL endpoint.this@Stability(value=Stable) public CfnGraphQLApiProps.Builder xrayEnabled(Boolean xrayEnabled)
CfnGraphQLApiProps.getXrayEnabled()xrayEnabled - A flag indicating whether to use AWS X-Ray tracing for this `GraphqlApi` .this@Stability(value=Stable) public CfnGraphQLApiProps.Builder xrayEnabled(IResolvable xrayEnabled)
CfnGraphQLApiProps.getXrayEnabled()xrayEnabled - A flag indicating whether to use AWS X-Ray tracing for this `GraphqlApi` .this@Stability(value=Stable) public CfnGraphQLApiProps build()
build in interface software.amazon.jsii.Builder<CfnGraphQLApiProps>CfnGraphQLApiPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.