Class CfnSourceApiAssociation
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::AppSync::SourceApiAssociation.
Describes the configuration of a source API. A source API is a GraphQL API that is linked to a merged API. There can be multiple source APIs attached to each merged API. When linked to a merged API, the source API's schema, data sources, and resolvers will be combined with other linked source API data to form a new, singular API. Source APIs can originate from your account or from other accounts via Resource Access Manager.
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.*;
CfnSourceApiAssociation cfnSourceApiAssociation = CfnSourceApiAssociation.Builder.create(this, "MyCfnSourceApiAssociation")
.description("description")
.mergedApiIdentifier("mergedApiIdentifier")
.sourceApiAssociationConfig(SourceApiAssociationConfigProperty.builder()
.mergeType("mergeType")
.build())
.sourceApiIdentifier("sourceApiIdentifier")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnSourceApiAssociation.static interfaceDescribes properties used to specify configurations related to a source API.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnSourceApiAssociation(Construct scope, String id) Create a newAWS::AppSync::SourceApiAssociation.CfnSourceApiAssociation(Construct scope, String id, CfnSourceApiAssociationProps props) Create a newAWS::AppSync::SourceApiAssociation.protectedCfnSourceApiAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnSourceApiAssociation(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the source API association.The ID generated by the AppSync service for the source API association.The datetime value of the last successful merge of the source API association.The Amazon Resource Name (ARN) of the merged API.The ID of the merged API.The source API's Amazon Resource Name (ARN) value.The state of the source API association.The message describing the state of the source API association.The ID of the source API.The description field of the association configuration.The identifier of the AppSync Merged API.TheSourceApiAssociationConfigobject data.The identifier of the AppSync Source API.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) The description field of the association configuration.voidsetMergedApiIdentifier(String value) The identifier of the AppSync Merged API.voidTheSourceApiAssociationConfigobject data.voidTheSourceApiAssociationConfigobject data.voidsetSourceApiIdentifier(String value) The identifier of the AppSync Source API.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnSourceApiAssociation
protected CfnSourceApiAssociation(software.amazon.jsii.JsiiObjectRef objRef) -
CfnSourceApiAssociation
protected CfnSourceApiAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnSourceApiAssociation
@Stability(Stable) public CfnSourceApiAssociation(@NotNull Construct scope, @NotNull String id, @Nullable CfnSourceApiAssociationProps props) Create a newAWS::AppSync::SourceApiAssociation.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
CfnSourceApiAssociation
Create a newAWS::AppSync::SourceApiAssociation.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrAssociationArn
The Amazon Resource Name (ARN) of the source API association. -
getAttrAssociationId
The ID generated by the AppSync service for the source API association. -
getAttrLastSuccessfulMergeDate
The datetime value of the last successful merge of the source API association.The result will be in UTC format and your local time zone.
-
getAttrMergedApiArn
The Amazon Resource Name (ARN) of the merged API. -
getAttrMergedApiId
The ID of the merged API. -
getAttrSourceApiArn
The source API's Amazon Resource Name (ARN) value. -
getAttrSourceApiAssociationStatus
The state of the source API association.The following values are valid:
MERGE_SCHEDULED | MERGE_FAILED | MERGE_SUCCESS | MERGE_IN_PROGRESS | AUTO_MERGE_SCHEDULE_FAILED | DELETION_SCHEDULED | DELETION_IN_PROGRESS | DELETION_FAILED -
getAttrSourceApiAssociationStatusDetail
The message describing the state of the source API association. -
getAttrSourceApiId
The ID of the source API. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDescription
The description field of the association configuration. -
setDescription
The description field of the association configuration. -
getMergedApiIdentifier
The identifier of the AppSync Merged API.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.
-
setMergedApiIdentifier
The identifier of the AppSync Merged API.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.
-
getSourceApiAssociationConfig
TheSourceApiAssociationConfigobject data. -
setSourceApiAssociationConfig
TheSourceApiAssociationConfigobject data. -
setSourceApiAssociationConfig
@Stability(Stable) public void setSourceApiAssociationConfig(@Nullable CfnSourceApiAssociation.SourceApiAssociationConfigProperty value) TheSourceApiAssociationConfigobject data. -
getSourceApiIdentifier
The identifier of the AppSync Source API.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.
-
setSourceApiIdentifier
The identifier of the AppSync Source API.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.
-