class AttributeValuesStep
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppSync.AttributeValuesStep |
Java | software.amazon.awscdk.services.appsync.AttributeValuesStep |
Python | aws_cdk.aws_appsync.AttributeValuesStep |
TypeScript (source) | @aws-cdk/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 * as appsync from '@aws-cdk/aws-appsync';
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
Name | Description |
---|---|
is(val) | Assign the value to the current attribute. |
is(val)
public is(val: string): AttributeValues
Parameters
- val
string
Returns
Assign the value to the current attribute.