aws-cdk-lib.aws_appsync.AttributeValuesStep

class AttributeValuesStep

LanguageType name
.NETAmazon.CDK.AWS.AppSync.AttributeValuesStep
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappsync#AttributeValuesStep
Javasoftware.amazon.awscdk.services.appsync.AttributeValuesStep
Pythonaws_cdk.aws_appsync.AttributeValuesStep
TypeScript (source)aws-cdk-lib » aws_appsync » AttributeValuesStep

Utility class to allow assigning a value to an attribute.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';

declare const assign: appsync.Assign;
const attributeValuesStep = new appsync.AttributeValuesStep('attr', 'container', [assign]);

Initializer

new AttributeValuesStep(attr: string, container: string, assignments: Assign[])

Parameters

  • attr string
  • container string
  • assignments Assign[]

Methods

NameDescription
is(val)Assign the value to the current attribute.

is(val)

public is(val: string): AttributeValues

Parameters

  • val string

Returns

  • AttributeValues

Assign the value to the current attribute.