public Set<String> getCreateOnlyProperties() {
        return getConstrainedProperties(definition -> {
            Set<CfnResourceIndex.Mutability> mutabilities = definition.getMutabilities();
            return mutabilities.contains(CfnResourceIndex.Mutability.CREATE)
                    && !mutabilities.contains(CfnResourceIndex.Mutability.WRITE);
        });
    }
Get create-specifiable-only property definitions of the CloudFormation resource.

These properties can be specified only during resource creation and
can be returned in a {@code read} or {@code list} request.

@return Returns create-only member names that map to CloudFormation resource
  properties.
smithy-aws-cloudformation-traits/src/main/java/software/amazon/smithy/aws/cloudformation/traits/CfnResource.java