Class CfnPartnerAccount
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.iotwireless.CfnPartnerAccount
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IPartnerAccountRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:38.582Z")
@Stability(Stable)
public class CfnPartnerAccount
extends CfnResource
implements IInspectable, IPartnerAccountRef, ITaggable
A partner account.
If PartnerAccountId and PartnerType are null , returns all partner accounts.
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.iotwireless.*;
CfnPartnerAccount cfnPartnerAccount = CfnPartnerAccount.Builder.create(this, "MyCfnPartnerAccount")
.accountLinked(false)
.partnerAccountId("partnerAccountId")
.partnerType("partnerType")
.sidewalk(SidewalkAccountInfoProperty.builder()
.appServerPrivateKey("appServerPrivateKey")
.build())
.sidewalkResponse(SidewalkAccountInfoWithFingerprintProperty.builder()
.amazonId("amazonId")
.arn("arn")
.fingerprint("fingerprint")
.build())
.sidewalkUpdate(SidewalkUpdateAccountProperty.builder()
.appServerPrivateKey("appServerPrivateKey")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnPartnerAccount.static interfaceInformation about a Sidewalk account.static interfaceInformation about a Sidewalk account.static interfaceSidewalk update.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.iotwireless.IPartnerAccountRef
IPartnerAccountRef.Jsii$Default, IPartnerAccountRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnPartnerAccount(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPartnerAccount(software.amazon.jsii.JsiiObjectRef objRef) CfnPartnerAccount(software.constructs.Construct scope, String id) Create a newAWS::IoTWireless::PartnerAccount.CfnPartnerAccount(software.constructs.Construct scope, String id, CfnPartnerAccountProps props) Create a newAWS::IoTWireless::PartnerAccount. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForPartnerAccount(IPartnerAccountRef resource) Whether the partner account is linked to the AWS account.The Amazon Resource Name (ARN) of the resource.The fingerprint of the Sidewalk application server private key.The ID of the partner account to update.A reference to a PartnerAccount resource.The partner type.The Sidewalk account credentials.Information about a Sidewalk account.Sidewalk update.getTags()Tag Manager which manages the tags for this resource.The tags are an array of key-value pairs to attach to the specified resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnPartnerAccount.renderProperties(Map<String, Object> props) voidsetAccountLinked(Boolean value) Whether the partner account is linked to the AWS account.voidsetAccountLinked(IResolvable value) Whether the partner account is linked to the AWS account.voidsetPartnerAccountId(String value) The ID of the partner account to update.voidsetPartnerType(String value) The partner type.voidsetSidewalk(IResolvable value) The Sidewalk account credentials.voidThe Sidewalk account credentials.voidsetSidewalkResponse(IResolvable value) Information about a Sidewalk account.voidInformation about a Sidewalk account.voidsetSidewalkUpdate(IResolvable value) Sidewalk update.voidSidewalk update.voidsetTagsRaw(List<CfnTag> value) The tags are an array of key-value pairs to attach to the specified resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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
-
CfnPartnerAccount
protected CfnPartnerAccount(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPartnerAccount
protected CfnPartnerAccount(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPartnerAccount
@Stability(Stable) public CfnPartnerAccount(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnPartnerAccountProps props) Create a newAWS::IoTWireless::PartnerAccount.- 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.
-
CfnPartnerAccount
@Stability(Stable) public CfnPartnerAccount(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::IoTWireless::PartnerAccount.- 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
-
arnForPartnerAccount
@Stability(Stable) @NotNull public static String arnForPartnerAccount(@NotNull IPartnerAccountRef resource) - Parameters:
resource- This parameter is required.
-
isCfnPartnerAccount
Checks whether the given object is a CfnPartnerAccount.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the resource. -
getAttrFingerprint
The fingerprint of the Sidewalk application server private key. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getPartnerAccountRef
A reference to a PartnerAccount resource.- Specified by:
getPartnerAccountRefin interfaceIPartnerAccountRef
-
getTags
Tag Manager which manages the tags for this resource. -
getAccountLinked
Whether the partner account is linked to the AWS account.Returns union: either
BooleanorIResolvable -
setAccountLinked
Whether the partner account is linked to the AWS account. -
setAccountLinked
Whether the partner account is linked to the AWS account. -
getPartnerAccountId
The ID of the partner account to update. -
setPartnerAccountId
The ID of the partner account to update. -
getPartnerType
The partner type. -
setPartnerType
The partner type. -
getSidewalk
The Sidewalk account credentials.Returns union: either
IResolvableorCfnPartnerAccount.SidewalkAccountInfoProperty -
setSidewalk
The Sidewalk account credentials. -
setSidewalk
@Stability(Stable) public void setSidewalk(@Nullable CfnPartnerAccount.SidewalkAccountInfoProperty value) The Sidewalk account credentials. -
getSidewalkResponse
Information about a Sidewalk account.Returns union: either
IResolvableorCfnPartnerAccount.SidewalkAccountInfoWithFingerprintProperty -
setSidewalkResponse
Information about a Sidewalk account. -
setSidewalkResponse
@Stability(Stable) public void setSidewalkResponse(@Nullable CfnPartnerAccount.SidewalkAccountInfoWithFingerprintProperty value) Information about a Sidewalk account. -
getSidewalkUpdate
Sidewalk update.Returns union: either
IResolvableorCfnPartnerAccount.SidewalkUpdateAccountProperty -
setSidewalkUpdate
Sidewalk update. -
setSidewalkUpdate
@Stability(Stable) public void setSidewalkUpdate(@Nullable CfnPartnerAccount.SidewalkUpdateAccountProperty value) Sidewalk update. -
getTagsRaw
The tags are an array of key-value pairs to attach to the specified resource. -
setTagsRaw
The tags are an array of key-value pairs to attach to the specified resource.
-