Class CfnPartnerAccount

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:57.985Z") @Stability(Stable) public class CfnPartnerAccount extends CfnResource implements IInspectable
A CloudFormation AWS::IoTWireless::PartnerAccount.

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();
 
  • 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 Construct scope, @NotNull String id, @Nullable CfnPartnerAccountProps props)
      Create a new AWS::IoTWireless::PartnerAccount.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
    • CfnPartnerAccount

      @Stability(Stable) public CfnPartnerAccount(@NotNull Construct scope, @NotNull String id)
      Create a new AWS::IoTWireless::PartnerAccount.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      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()
    • getCfnProperties

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

      @Stability(Stable) @NotNull public TagManager getTags()
      The tags are an array of key-value pairs to attach to the specified resource.

      Tags can have a minimum of 0 and a maximum of 50 items.

    • getAccountLinked

      @Stability(Stable) @Nullable public Object getAccountLinked()
      AWS::IoTWireless::PartnerAccount.AccountLinked.
    • setAccountLinked

      @Stability(Stable) public void setAccountLinked(@Nullable Boolean value)
      AWS::IoTWireless::PartnerAccount.AccountLinked.
    • setAccountLinked

      @Stability(Stable) public void setAccountLinked(@Nullable IResolvable value)
      AWS::IoTWireless::PartnerAccount.AccountLinked.
    • 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()
      AWS::IoTWireless::PartnerAccount.PartnerType.
    • setPartnerType

      @Stability(Stable) public void setPartnerType(@Nullable String value)
      AWS::IoTWireless::PartnerAccount.PartnerType.
    • 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()
      AWS::IoTWireless::PartnerAccount.SidewalkResponse.
    • setSidewalkResponse

      @Stability(Stable) public void setSidewalkResponse(@Nullable IResolvable value)
      AWS::IoTWireless::PartnerAccount.SidewalkResponse.
    • setSidewalkResponse

      @Stability(Stable) public void setSidewalkResponse(@Nullable CfnPartnerAccount.SidewalkAccountInfoWithFingerprintProperty value)
      AWS::IoTWireless::PartnerAccount.SidewalkResponse.
    • getSidewalkUpdate

      @Stability(Stable) @Nullable public Object getSidewalkUpdate()
      AWS::IoTWireless::PartnerAccount.SidewalkUpdate.
    • setSidewalkUpdate

      @Stability(Stable) public void setSidewalkUpdate(@Nullable IResolvable value)
      AWS::IoTWireless::PartnerAccount.SidewalkUpdate.
    • setSidewalkUpdate

      @Stability(Stable) public void setSidewalkUpdate(@Nullable CfnPartnerAccount.SidewalkUpdateAccountProperty value)
      AWS::IoTWireless::PartnerAccount.SidewalkUpdate.