Class CfnSourceApiAssociation
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.appsync.CfnSourceApiAssociation
- All Implemented Interfaces:
IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:57.158Z")
@Stability(Stable)
public class CfnSourceApiAssociation
extends CfnResource
implements IInspectable
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();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnSourceApiAssociation
.static interface
Describes properties used to specify configurations related to a source API.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnSourceApiAssociation
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnSourceApiAssociation
(software.amazon.jsii.JsiiObjectRef objRef) CfnSourceApiAssociation
(software.constructs.Construct scope, String id) CfnSourceApiAssociation
(software.constructs.Construct scope, String id, CfnSourceApiAssociationProps props) -
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.TheSourceApiAssociationConfig
object data.The identifier of the AppSync Source API.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDescription
(String value) The description field of the association configuration.void
setMergedApiIdentifier
(String value) The identifier of the AppSync Merged API.void
TheSourceApiAssociationConfig
object data.void
TheSourceApiAssociationConfig
object data.void
setSourceApiIdentifier
(String value) The identifier of the AppSync Source API.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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 software.constructs.Construct scope, @NotNull String id, @Nullable CfnSourceApiAssociationProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties.
-
CfnSourceApiAssociation
@Stability(Stable) public CfnSourceApiAssociation(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in 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:
getCfnProperties
in 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. -
setMergedApiIdentifier
The identifier of the AppSync Merged API. -
getSourceApiAssociationConfig
TheSourceApiAssociationConfig
object data. -
setSourceApiAssociationConfig
TheSourceApiAssociationConfig
object data. -
setSourceApiAssociationConfig
@Stability(Stable) public void setSourceApiAssociationConfig(@Nullable CfnSourceApiAssociation.SourceApiAssociationConfigProperty value) TheSourceApiAssociationConfig
object data. -
getSourceApiIdentifier
The identifier of the AppSync Source API. -
setSourceApiIdentifier
The identifier of the AppSync Source API.
-