Class CfnPartnerAccount

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-17T21:37:32.802Z") @Stability(Stable) public class CfnPartnerAccount extends CfnResource implements IInspectable, 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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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)
      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)
      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

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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 class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the resource.
    • getAttrFingerprint

      @Stability(Stable) @NotNull public String getAttrFingerprint()
      The fingerprint of the Sidewalk application server private key.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getAccountLinked

      @Stability(Stable) @Nullable public Object getAccountLinked()
      Whether the partner account is linked to the AWS account.
    • setAccountLinked

      @Stability(Stable) public void setAccountLinked(@Nullable Boolean value)
      Whether the partner account is linked to the AWS account.
    • setAccountLinked

      @Stability(Stable) public void setAccountLinked(@Nullable IResolvable value)
      Whether the partner account is linked to the AWS account.
    • getPartnerAccountId

      @Stability(Stable) @Nullable public String getPartnerAccountId()
      The ID of the partner account to update.
    • setPartnerAccountId

      @Stability(Stable) public void setPartnerAccountId(@Nullable String value)
      The ID of the partner account to update.
    • getPartnerType

      @Stability(Stable) @Nullable public String getPartnerType()
      The partner type.
    • setPartnerType

      @Stability(Stable) public void setPartnerType(@Nullable String value)
      The partner type.
    • getSidewalk

      @Stability(Stable) @Nullable public Object getSidewalk()
      The Sidewalk account credentials.
    • setSidewalk

      @Stability(Stable) public void setSidewalk(@Nullable IResolvable value)
      The Sidewalk account credentials.
    • setSidewalk

      @Stability(Stable) public void setSidewalk(@Nullable CfnPartnerAccount.SidewalkAccountInfoProperty value)
      The Sidewalk account credentials.
    • getSidewalkResponse

      @Stability(Stable) @Nullable public Object getSidewalkResponse()
      Information about a Sidewalk account.
    • setSidewalkResponse

      @Stability(Stable) public void setSidewalkResponse(@Nullable IResolvable value)
      Information about a Sidewalk account.
    • setSidewalkResponse

      @Stability(Stable) public void setSidewalkResponse(@Nullable CfnPartnerAccount.SidewalkAccountInfoWithFingerprintProperty value)
      Information about a Sidewalk account.
    • getSidewalkUpdate

      @Stability(Stable) @Nullable public Object getSidewalkUpdate()
      Sidewalk update.
    • setSidewalkUpdate

      @Stability(Stable) public void setSidewalkUpdate(@Nullable IResolvable value)
      Sidewalk update.
    • setSidewalkUpdate

      @Stability(Stable) public void setSidewalkUpdate(@Nullable CfnPartnerAccount.SidewalkUpdateAccountProperty value)
      Sidewalk update.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      The tags are an array of key-value pairs to attach to the specified resource.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      The tags are an array of key-value pairs to attach to the specified resource.