@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.104Z") @Stability(value=Stable) public interface CfnGraphQLApiProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appsync.*;
CfnGraphQLApiProps cfnGraphQLApiProps = CfnGraphQLApiProps.builder()
.authenticationType("authenticationType")
.name("name")
// the properties below are optional
.additionalAuthenticationProviders(List.of(AdditionalAuthenticationProviderProperty.builder()
.authenticationType("authenticationType")
// the properties below are optional
.lambdaAuthorizerConfig(LambdaAuthorizerConfigProperty.builder()
.authorizerResultTtlInSeconds(123)
.authorizerUri("authorizerUri")
.identityValidationExpression("identityValidationExpression")
.build())
.openIdConnectConfig(OpenIDConnectConfigProperty.builder()
.authTtl(123)
.clientId("clientId")
.iatTtl(123)
.issuer("issuer")
.build())
.userPoolConfig(CognitoUserPoolConfigProperty.builder()
.appIdClientRegex("appIdClientRegex")
.awsRegion("awsRegion")
.userPoolId("userPoolId")
.build())
.build()))
.lambdaAuthorizerConfig(LambdaAuthorizerConfigProperty.builder()
.authorizerResultTtlInSeconds(123)
.authorizerUri("authorizerUri")
.identityValidationExpression("identityValidationExpression")
.build())
.logConfig(LogConfigProperty.builder()
.cloudWatchLogsRoleArn("cloudWatchLogsRoleArn")
.excludeVerboseContent(false)
.fieldLogLevel("fieldLogLevel")
.build())
.openIdConnectConfig(OpenIDConnectConfigProperty.builder()
.authTtl(123)
.clientId("clientId")
.iatTtl(123)
.issuer("issuer")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.userPoolConfig(UserPoolConfigProperty.builder()
.appIdClientRegex("appIdClientRegex")
.awsRegion("awsRegion")
.defaultAction("defaultAction")
.userPoolId("userPoolId")
.build())
.xrayEnabled(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGraphQLApiProps.Builder
A builder for
CfnGraphQLApiProps |
static class |
CfnGraphQLApiProps.Jsii$Proxy
An implementation for
CfnGraphQLApiProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnGraphQLApiProps.Builder |
builder() |
default Object |
getAdditionalAuthenticationProviders()
`AWS::AppSync::GraphQLApi.AdditionalAuthenticationProviders`.
|
String |
getAuthenticationType()
`AWS::AppSync::GraphQLApi.AuthenticationType`.
|
default Object |
getLambdaAuthorizerConfig()
`AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig`.
|
default Object |
getLogConfig()
`AWS::AppSync::GraphQLApi.LogConfig`.
|
String |
getName()
`AWS::AppSync::GraphQLApi.Name`.
|
default Object |
getOpenIdConnectConfig()
`AWS::AppSync::GraphQLApi.OpenIDConnectConfig`.
|
default Object |
getTags()
`AWS::AppSync::GraphQLApi.Tags`.
|
default Object |
getUserPoolConfig()
`AWS::AppSync::GraphQLApi.UserPoolConfig`.
|
default Object |
getXrayEnabled()
`AWS::AppSync::GraphQLApi.XrayEnabled`.
|
@Stability(value=Stable) @Nullable default Object getAdditionalAuthenticationProviders()
@Stability(value=Stable) @NotNull String getAuthenticationType()
@Stability(value=Stable) @Nullable default Object getLambdaAuthorizerConfig()
@Stability(value=Stable) @Nullable default Object getLogConfig()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getOpenIdConnectConfig()
@Stability(value=Stable) @Nullable default Object getTags()
@Stability(value=Stable) @Nullable default Object getUserPoolConfig()
@Stability(value=Stable) @Nullable default Object getXrayEnabled()
@Stability(value=Stable) static CfnGraphQLApiProps.Builder builder()
CfnGraphQLApiProps.Builder of CfnGraphQLApiPropsCopyright © 2021. All rights reserved.