CfnSourceApiAssociationProps Struct
Properties for defining a CfnSourceApiAssociation.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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';
const cfnSourceApiAssociationProps: appsync.CfnSourceApiAssociationProps = {
description: 'description',
mergedApiIdentifier: 'mergedApiIdentifier',
sourceApiAssociationConfig: {
mergeType: 'mergeType',
},
sourceApiIdentifier: 'sourceApiIdentifier',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appsync as appsync
cfn_source_api_association_props = appsync.CfnSourceApiAssociationProps(
description="description",
merged_api_identifier="mergedApiIdentifier",
source_api_association_config=appsync.CfnSourceApiAssociation.SourceApiAssociationConfigProperty(
merge_type="mergeType"
),
source_api_identifier="sourceApiIdentifier"
)
java
// 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.*;
CfnSourceApiAssociationProps cfnSourceApiAssociationProps = CfnSourceApiAssociationProps.builder()
.description("description")
.mergedApiIdentifier("mergedApiIdentifier")
.sourceApiAssociationConfig(SourceApiAssociationConfigProperty.builder()
.mergeType("mergeType")
.build())
.sourceApiIdentifier("sourceApiIdentifier")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var cfnSourceApiAssociationProps = new CfnSourceApiAssociationProps {
Description = "description",
MergedApiIdentifier = "mergedApiIdentifier",
SourceApiAssociationConfig = new SourceApiAssociationConfigProperty {
MergeType = "mergeType"
},
SourceApiIdentifier = "sourceApiIdentifier"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnSourceApiAssociationProps := &CfnSourceApiAssociationProps{
Description: jsii.String("description"),
MergedApiIdentifier: jsii.String("mergedApiIdentifier"),
SourceApiAssociationConfig: &SourceApiAssociationConfigProperty{
MergeType: jsii.String("mergeType"),
},
SourceApiIdentifier: jsii.String("sourceApiIdentifier"),
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description field of the association configuration.
mergedApiIdentifieroptionalstringmerged_api_identifieroptionalstrmergedApiIdentifieroptionalStringMergedApiIdentifieroptionalstringMergedApiIdentifieroptional*string #The identifier of the AppSync Merged API.
notes
This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
sourceApiAssociationConfigoptionalIResolvable | CfnSourceApiAssociation.source_api_association_configoptionaltyping.Union[IResolvable, SourceApiAssociationConfigProperty]sourceApiAssociationConfigoptionalIResolvableSourceApiAssociationConfigoptionalIResolvableSourceApiAssociationConfigoptionalinterface{} #The `SourceApiAssociationConfig` object data.
sourceApiIdentifieroptionalstringsource_api_identifieroptionalstrsourceApiIdentifieroptionalStringSourceApiIdentifieroptionalstringSourceApiIdentifieroptional*string #The identifier of the AppSync Source API.
notes
This is generated by the AppSync service. In most cases, source APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.