public void setCustomJson(String customJson) {
        this.customJson = customJson;
    }
<p>
A JSON-formatted string containing custom stack configuration and deployment attributes to be installed on the
layer's instances. For more information, see <a
href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-json-override.html"> Using Custom
JSON</a>. This feature is supported as of version 1.7.42 of the CLI.
</p>

@param customJson
       A JSON-formatted string containing custom stack configuration and deployment attributes to be installed on
       the layer's instances. For more information, see <a
       href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-json-override.html"> Using
       Custom JSON</a>. This feature is supported as of version 1.7.42 of the CLI.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CreateLayerRequest.java