Class ThingPrincipalAttachmentArgs.Builder

    • Method Detail

      • principal

        public ThingPrincipalAttachmentArgs.Builder principal​(com.pulumi.core.Output<java.lang.String> principal)
        Parameters:
        principal - The AWS IoT Certificate ARN or Amazon Cognito Identity ID.
        Returns:
        builder
      • principal

        public ThingPrincipalAttachmentArgs.Builder principal​(java.lang.String principal)
        Parameters:
        principal - The AWS IoT Certificate ARN or Amazon Cognito Identity ID.
        Returns:
        builder
      • region

        public ThingPrincipalAttachmentArgs.Builder region​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ThingPrincipalAttachmentArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • thingPrincipalType

        public ThingPrincipalAttachmentArgs.Builder thingPrincipalType​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.String> thingPrincipalType)
        Parameters:
        thingPrincipalType - The type of relationship to specify when attaching a principal to a thing. Valid values are `EXCLUSIVE_THING` (the thing will be the only one attached to the principal) or `NON_EXCLUSIVE_THING` (multiple things can be attached to the principal). Defaults to `NON_EXCLUSIVE_THING`.
        Returns:
        builder
      • thingPrincipalType

        public ThingPrincipalAttachmentArgs.Builder thingPrincipalType​(java.lang.String thingPrincipalType)
        Parameters:
        thingPrincipalType - The type of relationship to specify when attaching a principal to a thing. Valid values are `EXCLUSIVE_THING` (the thing will be the only one attached to the principal) or `NON_EXCLUSIVE_THING` (multiple things can be attached to the principal). Defaults to `NON_EXCLUSIVE_THING`.
        Returns:
        builder