NAME

Paws::AppSync::CreateGraphqlApi - Arguments for method CreateGraphqlApi on Paws::AppSync

DESCRIPTION

This class represents the parameters used for calling the method CreateGraphqlApi on the AWS AppSync service. Use the attributes of this class as arguments to method CreateGraphqlApi.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateGraphqlApi.

SYNOPSIS

    my $appsync = Paws->service('AppSync');
    my $CreateGraphqlApiResponse = $appsync->CreateGraphqlApi(
      AuthenticationType                => 'API_KEY',
      Name                              => 'MyString',
      AdditionalAuthenticationProviders => [
        {
          AuthenticationType => 'API_KEY'
          , # values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
          OpenIDConnectConfig => {
            Issuer   => 'MyString',
            AuthTTL  => 1,            # OPTIONAL
            ClientId => 'MyString',
            IatTTL   => 1,            # OPTIONAL
          },    # OPTIONAL
          UserPoolConfig => {
            AwsRegion        => 'MyString',
            UserPoolId       => 'MyString',
            AppIdClientRegex => 'MyString',
          },    # OPTIONAL
        },
        ...
      ],        # OPTIONAL
      LogConfig => {
        CloudWatchLogsRoleArn => 'MyString',
        FieldLogLevel         => 'NONE',       # values: NONE, ERROR, ALL

      },    # OPTIONAL
      OpenIDConnectConfig => {
        Issuer   => 'MyString',
        AuthTTL  => 1,            # OPTIONAL
        ClientId => 'MyString',
        IatTTL   => 1,            # OPTIONAL
      },    # OPTIONAL
      Tags => {
        'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
      },    # OPTIONAL
      UserPoolConfig => {
        AwsRegion        => 'MyString',
        DefaultAction    => 'ALLOW',      # values: ALLOW, DENY
        UserPoolId       => 'MyString',
        AppIdClientRegex => 'MyString',
      },    # OPTIONAL
    );

    # Results:
    my $GraphqlApi = $CreateGraphqlApiResponse->GraphqlApi;

    # Returns a L<Paws::AppSync::CreateGraphqlApiResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/appsync/CreateGraphqlApi

ATTRIBUTES

AdditionalAuthenticationProviders => ArrayRef[Paws::AppSync::AdditionalAuthenticationProvider]

A list of additional authentication providers for the GraphqlApi API.

REQUIRED AuthenticationType => Str

The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools.

Valid values are: "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"

LogConfig => Paws::AppSync::LogConfig

The Amazon CloudWatch Logs configuration.

REQUIRED Name => Str

A user-supplied name for the GraphqlApi.

OpenIDConnectConfig => Paws::AppSync::OpenIDConnectConfig

The OpenID Connect configuration.

Tags => Paws::AppSync::TagMap

A TagMap object.

UserPoolConfig => Paws::AppSync::UserPoolConfig

The Amazon Cognito user pool configuration.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateGraphqlApi in Paws::AppSync

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues