def METHOD_NAME(self) -> str:
    kwargs = dict(
        stack_id=self._get_param("StackId"),
        layer_ids=self._get_param("LayerIds"),
        instance_type=self._get_param("InstanceType"),
        auto_scale_type=self._get_param("AutoScalingType"),
        hostname=self._get_param("Hostname"),
        os=self._get_param("Os"),
        ami_id=self._get_param("AmiId"),
        ssh_keyname=self._get_param("SshKeyName"),
        availability_zone=self._get_param("AvailabilityZone"),
        virtualization_type=self._get_param("VirtualizationType"),
        subnet_id=self._get_param("SubnetId"),
        architecture=self._get_param("Architecture"),
        root_device_type=self._get_param("RootDeviceType"),
        block_device_mappings=self._get_param("BlockDeviceMappings"),
        install_updates_on_boot=self._get_param("InstallUpdatesOnBoot"),
        ebs_optimized=self._get_param("EbsOptimized"),
        agent_version=self._get_param("AgentVersion"),
    )
    opsworks_instance = self.opsworks_backend.METHOD_NAME(**kwargs)
    return json.dumps({"InstanceId": opsworks_instance.id}, indent=1)